-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rustc-guide toolstate tracking. #63199
Conversation
☔ The latest upstream changes (presumably #63228) made this pull request unmergeable. Please resolve the merge conflicts. |
63c1f17
to
2da89de
Compare
@bors r+ |
📌 Commit 2da89de has been approved by |
Fix rustc-guide toolstate tracking. The rustc-guide is still not saving its toolstate. It needs to be done explicitly. Note: There are some confusing bits here, like without `--no-fail-fast`, it saves the wrong value in `toolstates.json`. Also, "rustbook" is always added as "test-fail". Presumably [this code](https://github.com/rust-lang/rust/blame/63c1f17d950bfefc8f356777f124f304f0575c76/src/bootstrap/tool.rs#L201-L205) assumes everything fails until it passes tests, which is a bit confusing for things that don't run tests. cc @mark-i-m
☀️ Test successful - checks-azure |
📣 Toolstate changed by #63199! Tested on commit 2c13edc. 💔 rustc-guide on linux: test-pass → test-fail (cc @mark-i-m @spastorino, @rust-lang/infra). |
Tested on commit rust-lang/rust@2c13edc. Direct link to PR: <rust-lang/rust#63199> 💔 rustc-guide on linux: test-pass → test-fail (cc @mark-i-m @spastorino, @rust-lang/infra).
Is it expected that tests still fail, but only on Linux?
|
@RalfJung Yes, it currently only runs on one job. See #62950 (comment) for an explanation. |
Thanks @ehuss! |
The rustc-guide is still not saving its toolstate. It needs to be done explicitly.
Note: There are some confusing bits here, like without
--no-fail-fast
, it saves the wrong value intoolstates.json
. Also, "rustbook" is always added as "test-fail". Presumably this code assumes everything fails until it passes tests, which is a bit confusing for things that don't run tests.cc @mark-i-m