Skip to content

Display and stop on installation error in perf search#431

Open
ehuss wants to merge 1 commit into
rust-lang:masterfrom
ehuss:report-install-error
Open

Display and stop on installation error in perf search#431
ehuss wants to merge 1 commit into
rust-lang:masterfrom
ehuss:report-install-error

Conversation

@ehuss
Copy link
Copy Markdown
Collaborator

@ehuss ehuss commented May 19, 2026

This changes the linear search done in the unrolled perf search so that it displays an error if it is unable to install a toolchain. Previously it would silently try each unrolled build in sequence.

Additionally this stops the search if there is an install error. I think this is the correct behavior, because:

  • In most cases, if one install fails, all of them will fail.
  • If in a rare case where some succeed, but some fail, it would be incorrect to try any of the ones after the failure because it could incorrectly report the regression in a PR that just happens to land after a PR that failed to install but was the real culprit.

This changes the linear search done in the unrolled perf search so that
it displays an error if it is unable to install a toolchain. Previously
it would silently try each unrolled build in sequence.

Additionally this stops the search if there is an install error. I think
this is the correct behavior, because:

- In most cases, if one install fails, all of them will fail.
- If in a rare case where some succeed, but some fail, it would be
  incorrect to try any of the ones after the failure because it could
  incorrectly report the regression in a PR that just happens to land
  after a PR that failed to install but was the real culprit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant