crl-release-25.2: metamorphic and crossversion debugging improvements #4834
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
metamorphic: user-friendly diff output
The diff output in a meta test failure is huge; once the histories
diverge, it's expected that a fraction of remaining operations will
differ.
This change shows only the first chunk of differences; it also
switches to showing diffs line-by-line instead of using unified diff
which groups differences into chunks.
Sample output:
metamorphic: crossversion debugging improvements
reproduction.
the paths are long.
metamorphic: show only the last part of the history
We now show the path to the history file and show only the last 30
lines of it.
scripts: run-crossversion-meta: use go 1.22 to build 24.1 test
crl-release-24.1
does not build with go 1.23+ because of an olderversion of the
swiss
package.scripts: run-crossversion-meta: use artifacts subdir
Currently crossversion artifacts go directly inside the crossversion
directory. They end up being gitignored (because they contain .test)
but they are hard to clean up and can't easily be configured to be
ignored by IDEs.
We now put everything in an
artifacts
subdir (already gitignored).