Repository navigation
ci: Install the toolchain fresh in jobs that add Rust targets (Fixes #969) - #979
Merged
Merged
Conversation
…ixes #969) setup-soldr's solo-toolchain-cache keys on declared targets only (tnone) and saves rustup's records from after the build with the file list from before it (forge-ci/setup-soldr#507). The lint, rust-test and cross lanes add targets mid-job, so the saved entry claimed x86_64-pc-windows-gnu was installed without its std; every later run failed with E0463. Turn the cache off in those two jobs until #507 is fixed (costs a few seconds of rustup install).
zackees
enabled auto-merge
October 16, 2026 03:03
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.
Fixes #969. Unblocks master and the merge queue.
Cause (investigation: forge-ci/setup-soldr#507 comment, forge-ci/soldr#3793): setup-soldr's
solo-toolchain-cachekeys on declared targets only (...-tnone-soldrv0.9.33) and saves rustup's records from after the build with the file list from before it. The lint, rust-test and cross lanes runsoldr rustup target addmid-job, so the saved Linux entry claimedx86_64-pc-windows-gnuwas installed without its std. Later runs restored it,target addsaid "up to date", andsoldr cargo --target x86_64-pc-windows-gnufailed with E0463can't find crate for core(merge-queue job 116780150468, master push run 38837108308).I already deleted the poisoned entry (cache id 9026195496), but the next save would re-poison it; this keeps it from coming back.
Change:
solo-toolchain-cache: falseon setup-soldr in the Rust Tests job and the Rust Cross Lint job. Cost: a few seconds of rustup install per run. Revert once #507 is fixed.RED (first commit):
ci/test_soldr_toolchain_cache.pychecks that every job running a lint/rust-test/cross lane disables the cache; fails on master for both jobs.GREEN (second commit): the workflow change; the test and
test_workflow_duplicate_keyspass.