Skip to content

fix(ci): pin fuzz toolchain to nightly explicitly#98

Merged
zvndev merged 1 commit into
mainfrom
fix/fuzz-explicit-nightly-toolchain
Jun 17, 2026
Merged

fix(ci): pin fuzz toolchain to nightly explicitly#98
zvndev merged 1 commit into
mainfrom
fix/fuzz-explicit-nightly-toolchain

Conversation

@zvndev

@zvndev zvndev commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Problem

All four fuzz jobs fail to build whenever dtolnay/rust-toolchain is pinned to a SHA that the action doesn't resolve as nightly:

error: the option `Z` is only accepted on the nightly compiler

fuzz.yml pins the action to a SHA (supply-chain safety) with only a # nightly comment. The action derives its channel from the ref it's called with, and a SHA can't convey "nightly", so it falls back to stable — but cargo-fuzz needs nightly (-Z sanitizer=address).

The current pinned SHA still happens to resolve nightly, so main is green. The pending Dependabot bump (#93) to a newer SHA surfaced the latent break: all 4 fuzz jobs failed on #93 while every ci.yml job (legitimately stable) passed.

Fix

Set toolchain: nightly explicitly on the fuzz rust-toolchain step, so the channel no longer depends on which SHA the action is pinned to. This unblocks the Dependabot action bump (#93).

Verification

This PR's own fuzz jobs (lexer, parser, roundtrip, sql) are the test — they must go green with the explicit nightly channel.

🤖 Generated with Claude Code


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

fuzz.yml pins `dtolnay/rust-toolchain` to a SHA (supply-chain safety) with a
`# nightly` comment. That action derives the channel from its ref, and a SHA
ref can't convey "nightly", so the action falls back to stable. cargo-fuzz
then fails to build every target with "the option `Z` is only accepted on the
nightly compiler" (it needs `-Z sanitizer=address`).

The current pinned SHA happens to still resolve nightly, but the pending
Dependabot bump (#93) to a newer SHA surfaced the latent break — all four
fuzz jobs failed on that PR while ci.yml (legitimately stable) passed.

Set `toolchain: nightly` explicitly so the channel no longer depends on which
SHA the action is pinned to. This unblocks the Dependabot action bump.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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