chore(build): bump sccache to 0.16.0 - #2581
Merged
Merged
Conversation
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
matthewgrossman
requested review from
a team,
derekwaynecarr,
maxamillion and
mrunalp
as code owners
July 31, 2026 19:49
|
🌿 Preview your docs: https://nvidia-preview-pr-2581.docs.buildwithfern.com/openshell |
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
pimlock
approved these changes
Jul 31, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jul 31, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jul 31, 2026
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
Bump sccache to 0.16.0 to pick up the upstream compiler-resolution fix needed by the Docker E2E cargo-zigbuild path. The failure occurs before the smoke tests run, while cross-compiling
openshell-sandboxforaarch64-unknown-linux-musl.Failure details
mise run e2e:dockerbuilds the gateway and CLI, then stages the Docker supervisor withcargo zigbuild. The mise environment globally setsRUSTC_WRAPPER=sccache, so every Rust compiler invocation passes through sccache.With sccache 0.14.0, sccache could select the configured wrapper again while trying to resolve the real compiler behind cargo-zigbuild and its generated Zig compiler shim. Compiler discovery then failed and sccache surfaced the result as an unsupported compiler:
This aborts the supervisor cross-compile before Docker E2E tests start. Setting
SCCACHE_DISABLE=1does not avoid the failure because it disables caching behavior but does not remove Cargo’sRUSTC_WRAPPER; Cargo still launches sccache.Why 0.16.0 fixes it
The official sccache 0.16.0 release notes list the relevant correctness change: “avoid the sccache wrapper when resolving the real compiler” (mozilla/sccache#2720). That prevents wrapper selection from interfering with discovery of cargo-zigbuild’s actual compiler command.
Related Issue
No issue required: localized build-tool maintenance fix for a known upstream defect.
Changes
mise.tomlTesting
mise run pre-commitpassesaarch64-unknown-linux-muslsupervisor build passes withRUSTC_WRAPPER=sccachemise run e2e:dockerpassesChecklist