Repository navigation
ci: pin cargo tools through taiki-e/install-action - #150
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019xRsBqwrPLVSCJ1hXnhotg
`cargo install --locked` pinned the dependency tree, not the tool; each install also compiled from source. install-action v2.87.28 is pinned by SHA with fallback: none, so an unlisted version fails instead of building. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019xRsBqwrPLVSCJ1hXnhotg
The coverage-badge retry loop's counter was unused (SC2034). The loop also exits 0 after three failed pushes; recorded as a Backlog row rather than changed here. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019xRsBqwrPLVSCJ1hXnhotg
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019xRsBqwrPLVSCJ1hXnhotg
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019xRsBqwrPLVSCJ1hXnhotg
3 of 4 tasks
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
PR C of the CI and release hardening plan (spec R8).
cargo install --lockedsteps acrossci.yml,release.yml,mutation-pr.yml,mutation-testing.ymlandcargo-audit-scheduled.ymlbecometaiki-e/install-action@1168f6810a3cb30a3514bf5756a3b7f0422c6df8 # v2.87.28withtool: <name>@X.Y.Zandfallback: none.--lockedpinned each tool's dependency tree, not the tool; install-action downloads the pinned release binary instead of compiling it, andfallback: nonefails rather than building an unlisted version.tests/test_tool_installs.pyenforces it, failing closed on anycargo install/binstall(also with+toolchainor flags in between), a non-SHA or untagged ref, a quoted or recaseduses:that is not exactly the pinned form, a missingwith:orfallback: none, a non-X.Y.Ztool, or one tool at two versions._(SC2034); Backlog rows for that step's silent push failure and for CI-vs-local tool version parity.Test Plan
make test: nextest 1145 passed; pytest passed (27 in the new module)main's workflows (11cargo installlines)install-actioncheck fails a testCode review
reviewed-sha: 4356b36
diff-hash: 5c470f62d88c0257fefd2d86bd3e111e2490e704c6e1d7f825c02fb91597256e
reviewers: 2/2 (five lenses split across two reviewers for a mostly mechanical diff: bugs and CI behaviour; CLAUDE.md, history, prior PRs and comments)
Round 1 (7d6c88a): no CI-breaking defect. Tag v2.87.28 resolves to the pinned SHA, and every pinned tool version has an x86_64 Linux entry in install-action's manifest at that SHA, so
fallback: nonewill not fail on a missing asset. Required, fixed in d1a0f28:cargo +stable install/cargo -q installevaded the scanner; a quoted or recaseduses: taiki-e/install-actionwas skipped silently. Both now reported (probed), and any unparsedinstall-actionmention fails closed. Also fixed: a no-op line in one test; the dropped "version parity with local installers" requirement is kept as a P4 Backlog row.Informational
_here.RESOLVED: 2 fixed, 0 kept
Spec alignment (2026-10-27)
Findings
Reviewed
Verifications
🤖 Generated with Claude Code
https://claude.ai/code/session_019xRsBqwrPLVSCJ1hXnhotg