Repository navigation
ci: build Windows without sccache when its cache backend refuses it, instead of failing every rustc call - #1167
Merged
Merged
Conversation
…instead of failing every rustc call
Owner
Author
|
Self-review: one step. |
DrunkOnJava
enabled auto-merge (squash)
October 30, 2026 19:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
A false red on #1152:
build + real files / windows-latest / stablefailed in 53 s (run 41112975909, job 124259839850) before compiling anything. sccache's server would not start, because GitHub's Actions cache answeredServerBusy: Egress is over the account limit, and withRUSTC_WRAPPER=sccachethe firstrustc -vVthrough the wrapper exited 2 (log lines 416-418).The Windows step now starts the sccache server itself (kept up for the job with
SCCACHE_IDLE_TIMEOUT=0) and setsRUSTC_WRAPPERonly if it starts. Otherwise it writes a warning and the job builds with plain rustc: slower, same result.SCCACHE_IGNORE_SERVER_IO_ERROR=1makes a later I/O error with a running server compile locally instead of failing.Changes
.github/workflows/ci.yml: the "Use sccache (Windows)" step, with a comment saying why.Testing
actionlint: no new finding againstmain's file (the shellcheck note on the redirects is fixed by grouping them); every workflow loads withyaml.safe_load.Audit-honesty checklist
Related issues
Seen on #1152.