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.
Currently prepare failure gets classified as
Error
unless the crate is determined to be broken in which case its classified asBroken
. This PR reclassifies the former.Most if not all of the perpare errors are spurious and would benefit from being included in the
retry-regressed-list.txt
so that they can be retried.This should cause instances such as https://crater-reports.s3.amazonaws.com/beta-1.86-rustdoc-1/1.85.0/reg/ssstar-0.7.3/log.txt to be classified as prepare-fail instead of error which means the are included in the retry-regressed-list.txt and have a change at properly regressing in a retry.
This should help prevent regression in beta crater run being missed due to running out of disk space as was the case with the above example.
The first commit fixes existing clippy problems.
The second commit removes a no longer existing crate from the config.toml (broke config check)
The third commit cleans-up the compare match.
Basically a regression is spurious if the test toolchain result is spurious
and a fix is spurious if the base toolchain result is spurious.
This only changes the classification of
BuildFail(non-spurious) -> TestFail(spurious)
fromSpuriousFixed
toFixed
.I think the new classification is correct and the old one was wrong.
The fourth commit adds a new
Comparison
andTestResult
variant to properly classify the failure mode of preparation failing for a non-broken crate.It also adds crates with this new Comparison variant to the
retry-regressed-list.txt
.I expect this to significantly increase the size of the
retry-regressed-list.txt
.Edit: Including
PrepareFail
in theretry-regressed-list.txt
makes the file a bit misnamed, maybe it should be renamed toretry-list.txt
the function for filtering the cratesgen_retry_list
already doesn't contain regressed in its name.