Skip to content

Pin dtolnay/rust-toolchain to a master commit - #703

Merged
davidmckayv merged 1 commit into
mainfrom
fix/rust-toolchain-pin
Oct 2, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
fix/rust-toolchain-pin

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

What this changes

Static analysis (zizmor) fails on every PR since 2026-10-01 with impostor-commit on the three dtolnay/rust-toolchain pins in desktop.yml and desktop-signing.yml. The pinned commit (6bed076, 2026-09-03) came from the action's stable branch, which upstream regenerates; it was rewritten today and the old commit is no longer on any branch or tag (compare stable...6bed076: diverged).

This repins to 7e38f4b on master, which is not rewritten. The workflows already pass toolchain: stable, which master requires. The only runtime change between the two commits (action.yml) is a retry loop when rustup toolchain install hits a checksum failure during an upstream release update, plus --force-non-host; read in full before pinning.

Where it runs

  • New state that outlives a request? None.
  • What happens on the second replica? Nothing changes.
  • Anything serialised? No.
  • Anything fanned out to a browser? No.
  • New listener, port, or schedule? No.

Boundary and audit

  • Unchanged: CI workflow pins only.

Changelog

  • No entry: a deployment behaves no differently afterwards.

Proof

zizmor --gh-token ... .github/workflows/desktop.yml .github/workflows/desktop-signing.yml (online, as CI runs it): main reports 2 high impostor-commit errors; this branch reports no findings.

The pinned commit came from the action's `stable` branch, which upstream
regenerates. On 2026-10-01 it was rewritten and the old commit left every branch
and tag, so zizmor reports it as an impostor commit and CI fails on every PR.
The pin now names a commit on `master`, which is not rewritten; the workflows
already pass `toolchain: stable`. The only runtime change since the old pin is
a retry when rustup hits a checksum failure during an upstream release update.
@davidmckayv
davidmckayv merged commit 1a15d8f into main Oct 2, 2026
24 checks passed
@davidmckayv
davidmckayv deleted the fix/rust-toolchain-pin branch October 2, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant