-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
bootstrap: do not purge docs on CI environment #117471
Conversation
r? @clubby789 (rustbot has picked a reviewer for you, use r? to override) |
r? Mark-Simulacrum |
src/bootstrap/src/core/builder.rs
Outdated
@@ -1273,7 +1274,7 @@ impl<'a> Builder<'a> { | |||
self.clear_if_dirty(&out_dir, &backend); | |||
} | |||
|
|||
if cmd == "doc" || cmd == "rustdoc" { | |||
if cmd == "doc" || cmd == "rustdoc" && !CiEnv::is_ci() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this shouldn't cause any problem? I assume that the runners are automatically purging the entire build related state upon the termination.
As this PR resolves quite important bug, please feel free to review and r+ if changes looks good. cc @rust-lang/bootstrap @rust-lang/infra |
@bors r+ |
@bors p=1 |
bootstrap: do not purge docs on CI environment This is a temporary fix for rust-lang#117430, for more information please read rust-lang#117430 (comment). Fixes rust-lang#117430
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
@bors retry p=1 |
bootstrap: do not purge docs on CI environment This is a temporary fix for rust-lang#117430, for more information please read rust-lang#117430 (comment). Fixes rust-lang#117430
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
@bors retry |
This looks systematic, let's close the tree. Cc @rust-lang/infra |
Hm, but strangely no other PR seems affected? |
I have no idea, let me rebase the latest upstream and let's give another shot then? |
Temporary fix for rust-lang#117430 Signed-off-by: onur-ozkan <work@onurozkan.dev>
@bors treeclosed- |
@bors r=clubby789 |
Now I am also seeing it in other jobs. Seems to be an on-and-off thing. |
☀️ Test successful - checks-actions |
Finished benchmarking commit (e8418e0): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 637.769s -> 636.864s (-0.14%) |
@onur-ozkan so you are saying this did not help? Should we revert it? |
Yes, we should. |
82: Automated pull from upstream `master` r=tshepang a=github-actions[bot] This PR pulls the following changes from the upstream repository: * rust-lang/rust#117313 * rust-lang/rust#117131 * rust-lang/rust#117134 * rust-lang/rust#117471 * rust-lang/rust#117521 * rust-lang/rust#117513 * rust-lang/rust#117512 * rust-lang/rust#117509 * rust-lang/rust#117495 * rust-lang/rust#117394 * rust-lang/rust#117466 * rust-lang/rust#117204 * rust-lang/rust#117386 * rust-lang/rust#117506 Co-authored-by: Nicholas Nethercote <n.nethercote@gmail.com> Co-authored-by: roblabla <unfiltered@roblab.la> Co-authored-by: Michael Goulet <michael@errs.io> Co-authored-by: massivebird <gdrakemail@gmail.com> Co-authored-by: bors <bors@rust-lang.org> Co-authored-by: Zalathar <Zalathar@users.noreply.github.com> Co-authored-by: lcnr <rust@lcnr.de> Co-authored-by: Joshua Liebow-Feeser <joshlf@users.noreply.github.com> Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
…zkan Revert "bootstrap: do not purge docs on CI environment" This reverts commit 6198e88. ref rust-lang#117430 (comment), rust-lang#117471 (comment)
Rollup merge of rust-lang#117533 - onur-ozkan:revert-117471, r=onur-ozkan Revert "bootstrap: do not purge docs on CI environment" This reverts commit 6198e88. ref rust-lang#117430 (comment), rust-lang#117471 (comment)
visiting for perf-triage
|
This is a temporary fix for #117430, for more information please read #117430 (comment).
Fixes #117430