Skip to content

Retry release-server checksum failures - #186

Merged
dtolnay merged 1 commit into
dtolnay:masterfrom
WaterWhisperer:feat/retry-install
Oct 1, 2026
Merged

dtolnay merged 1 commit into
dtolnay:masterfrom
WaterWhisperer:feat/retry-install

Conversation

@WaterWhisperer

Copy link
Copy Markdown
Contributor

Retry rustup toolchain install when it fails with the official release-server checksum diagnostic.

Allow up to 5 attempts with 30-second delays. These limits are a starting point, and I'm happy to adjust them.

Validated locally on Ubuntu 24.04 with mocked rustup calls.

Fixes #183

@dtolnay dtolnay left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay
dtolnay merged commit 7e38f4b into dtolnay:master Oct 1, 2026
32 checks passed
epompeii added a commit to bencherdev/bencher that referenced this pull request Oct 2, 2026
The upstream `v1` tag of `dtolnay/rust-toolchain` moved to
`7e38f4b43b4db5c8dd498af069a4f6196df1d067` when
dtolnay/rust-toolchain#186 merged. The pin in `update_sandbox.yml` still
pointed at the previous `v1` commit, so its `# v1` comment no longer
matched and the `Lint / Zizmor Online` check failed on every PR with
`ref-version-mismatch`.

This repins to the current `v1` commit and keeps the comment. The
upstream delta is one change to `action.yml`: `rustup toolchain install`
is retried up to five times, 30 seconds apart, only when it fails with
the release server checksum error. No other workflow uses this action.
@WaterWhisperer
WaterWhisperer deleted the feat/retry-install branch October 2, 2026 04:35
E36lewis added a commit to E36lewis/bookshelf that referenced this pull request Oct 2, 2026
The only change since 02cb101 (dtolnay/rust-toolchain#186): the
"rustup toolchain install" step retries up to 5 times, 30 s apart, when
rustup fails with a checksum error during an update of the release
server; any other failure still fails the step at once. Inputs are
untouched, so toolchain: 1.98.1 (as in rust-toolchain.toml) with our
components and targets installs exactly as before. The commit is on
the action's master branch. All six uses in ci.yml, apple.yml and
windows.yml move together, keeping the "# master" comment.

Dependabot's PR showed red only because it was based on 4b01447,
before 80153a8 fixed the first Mac and Windows builds: the macOS job
failed on the UI test target's missing Info.plist and the Windows job
on missing implicit usings (IDisposable, Task<>, SemaphoreSlim). The
toolchain step itself succeeded in every job.

Supersedes #1

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jfolcini added a commit to jfolcini/agaric that referenced this pull request Oct 2, 2026
Upstream moved `v1` from 02cb101e onto 7e38f4b4 (dtolnay/rust-toolchain#186,
a retry around `rustup toolchain install` on checksum failures), so zizmor's
`ref-version-mismatch` fails `lint` on all twelve call sites, and the release
workflow's `validate` with it. All twelve move together, as in #5116.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Y3vty4xmY3ruTgFPL2CH7T
Signed-off-by: Javier Folcini <[email protected]>
jfolcini added a commit to jfolcini/agaric that referenced this pull request Oct 2, 2026
…in) (#5230)

* chore(guards): bump the two baseline-ratchet REMOVE AFTER markers to 0.15.0 (#4885)

The 0.14.0 cut would fail `remove-after-markers` on the bump commit:
check-lib-layering.mjs and check-strict-invoke-optout.mjs still carry
REMOVE AFTER 0.14.0. Their baselines hold 12 and 8 entries; each marker
says the burn-down is its own PR, not a release's, so the markers move
to 0.15.0 and nothing else changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01DW4QijeQ5woJ8AkHKEqgPf
Signed-off-by: Javier Folcini <[email protected]>

* chore(guards): bump the third REMOVE AFTER marker to 0.15.0 (#4885)

check-json-parse-cast.mjs also carries REMOVE AFTER 0.14.0, so with only
the first two bumped the 0.14.0 bump commit still fails
remove-after-markers on its line 74. Same move as the other two.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Y3vty4xmY3ruTgFPL2CH7T
Signed-off-by: Javier Folcini <[email protected]>

* ci: move the rust-toolchain pin onto the commit `v1` now names

Upstream moved `v1` from 02cb101e onto 7e38f4b4 (dtolnay/rust-toolchain#186,
a retry around `rustup toolchain install` on checksum failures), so zizmor's
`ref-version-mismatch` fails `lint` on all twelve call sites, and the release
workflow's `validate` with it. All twelve move together, as in #5116.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01Y3vty4xmY3ruTgFPL2CH7T
Signed-off-by: Javier Folcini <[email protected]>

---------

Signed-off-by: Javier Folcini <[email protected]>
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
ormeilu pushed a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ormeilu pushed a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ormeilu pushed a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ormeilu pushed a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ormeilu pushed a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ormeilu pushed a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ormeilu pushed a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ormeilu pushed a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ormeilu pushed a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ormeilu added a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
* fix(ui): ellipsize a long selected combobox label

The combobox input now truncates an overflowing label with an ellipsis and
carries the full label on its title while closed.

Closes #2261
Co-Authored-By: Claude Sonnet 5 <[email protected]>

* ci(ci): re-pin dtolnay/rust-toolchain to the current v1 commit

Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
ormeilu added a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
…#2537)

* fix(ui): give the llm logs status cell the shared badge tones

The table cell painted its status with rgba literals through an inline
style; it now renders Badge with verdictTone(status), as the drawer does.

Closes #2445

Co-Authored-By: Claude Sonnet 5 <[email protected]>

* ci(ci): re-pin dtolnay/rust-toolchain to the current v1 commit

Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
ormeilu added a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-authored-by: Claude <[email protected]>
ormeilu added a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
* fix(ui): replace the second chart red with cyan

--chart-6 (#ff4017) sat one lightness step from --chart-1 (#e5342a), so the
first and sixth series of every categorical chart read as one colour. Cyan
#22d3ee clears 8.24:1 on every surface and keeps every pair of the eight at
CIE76 delta-E >= 17, also under simulated protanopia, deuteranopia and
tritanopia. The floor is recorded beside the token, in dashboard-theme.md and
in DESIGN.md.

Closes #2436

Co-Authored-By: Claude Sonnet 5 <[email protected]>

* ci(ci): re-pin dtolnay/rust-toolchain to the current v1 commit

Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
ormeilu added a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
#2536)

* fix(ui): stop spinners and pulses under prefers-reduced-motion

Tailwind's animate-spin/animate-pulse ignored the reduced-motion setting.
Prefix them with motion-safe: (the icon or dot stays as a static
indicator) and make check:primitives fail on a bare one.

Closes #2006

Co-Authored-By: Claude Sonnet 5 <[email protected]>

* ci(ci): re-pin dtolnay/rust-toolchain to the current v1 commit

Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
ormeilu added a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
…2391] (#2542)

* ci(ci): wait for an in-flight gate instead of a red fast-path ci-ok

a title or body edit made while the heavy gate is still running starts an
`edited` run whose ci-ok used to decline at once with "gate still running".
the docs called that self-healing, on the theory that the gate run's newer
green ci-ok supersedes it. it does not: the commit's status rollup keeps both
ci-ok check-runs, reads FAILURE, and the pr stays BLOCKED until the red run
is re-run by hand.

the fast path now waits. it moves into scripts/assert-gate-ran.sh, which
polls once a minute (up to 90 minutes) while another ci run on the head sha
has a gate-ok job with no conclusion yet, then reports what the gate said:
green only on a passing gate-ok, red on a failed or cancelled gate or at the
deadline. it waits on gate-ok rather than the run, so concurrent edited runs
(whose gate-ok is skipped within seconds) never wait on each other. ci-ok
gets timeout-minutes: 110 so the script's deadline message fires first.

scripts/test-assert-gate-ran.sh exercises the script against a fake gh and
clock and checks the step wiring and job timeout; it runs in quality.yml's
static checks job and as a prek hook. ci-gating.md and AGENTS.md now describe
the wait and say when a red ci-ok still needs a manual re-run.

Closes #2391

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci(ci): re-pin dtolnay/rust-toolchain to the current v1 commit

Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
ormeilu added a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
#2545)

* fix(ui): give an off Switch a visible track inside a SwitchRow

The off track was bg-muted (#27272a), the same tone as --surface-subtle,
which a SwitchRow sits on: ~1:1, so the row showed a floating dot. The
track is now --zinc-500 (#71717a), from tokens only.

Contrast of the off track against each surface (WCAG):
  --surface-base     #111113  3.90:1
  --surface-app      #18181b  3.67:1
  --surface-elevated #1f1f23  3.40:1
  --surface-subtle   #27272a  3.08:1 (worst)
all clear the 3:1 shape floor in DESIGN.md.

axe does not check non-text contrast, so the Switch story renders the off
track on all four surfaces and the SwitchRow story on its own row, and both
compute the ratio (src/lib/contrast.ts) and assert >= 3.

Closes #2365

Co-Authored-By: Claude Sonnet 5 <[email protected]>

* ci(ci): re-pin dtolnay/rust-toolchain to the current v1 commit

Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
ormeilu added a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
…2430] (#2547)

* fix(ui): give the alerting and guardrail rules leaves distinct names

nav.alerting-rules and nav.guardrail-rules were both "Rules" ("Правила").
They are now "Alert Rules" / "Guardrail Rules" (ru: "Правила оповещений" /
"Правила ограничителей"), the alerting screen title follows, and the docs
that name the entries by label are updated. The nav label test no longer
tolerates the pair.

Closes #2430

Co-Authored-By: Claude Sonnet 5 <[email protected]>

* ci(ci): re-pin dtolnay/rust-toolchain to the current v1 commit

Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
ormeilu added a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
…2226] (#2546)

* fix(ui): keep the code block copy button off the first line of code

Reserve a top row in the scroll region for the floating copy button and
add a story asserting it never overlaps the first line.

Closes #2226
Co-Authored-By: Claude Sonnet 5 <[email protected]>

* ci(ci): re-pin dtolnay/rust-toolchain to the current v1 commit

Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
ormeilu added a commit to rolter-ai/rolter that referenced this pull request Oct 2, 2026
…#2359] (#2544)

* fix(ui): give the confirm dialog's error line room under its children

The failed request's message sat flush against the last child. It now
keeps the children's own gap above it when there are children, and adds
none when there are not. Stories measure both.

Closes #2359

Co-Authored-By: Claude Sonnet 5 <[email protected]>

* ci(ci): re-pin dtolnay/rust-toolchain to the current v1 commit

Upstream moved its v1 tag to 7e38f4b (dtolnay/rust-toolchain#186, a retry
on release-server checksum failures), so every pin's '# v1' comment
became a ref-version-mismatch and zizmor failed static checks on every PR.

Closes #2538

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude <[email protected]>
cmyr added a commit to googlefonts/fontations that referenced this pull request Oct 27, 2026
We pin actions by hash, and dtolnay/rust-toolchain's v1 tag moves every
couple of weeks, so its `# v1` comment is usually stale and zizmor's
ref-version-mismatch fails the actions scan on any PR that touches a
workflow. Dependabot's cooldown means it can't keep up.

All we used the action for is one rustup command, and the runners ship
rustup, so this calls it directly. We lose the action's retry on
release-server checksum failures (dtolnay/rust-toolchain#186).
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.

Detect and retry "checksum failed"

2 participants