Skip to content

CI: pin the fuzz job's nightly (branches breaks on nightly >= 2026-10-04) - #382

Merged
sathish-mg merged 2 commits into
mainfrom
fix/fuzz-build
Oct 5, 2026
Merged

sathish-mg merged 2 commits into
mainfrom
fix/fuzz-build

Conversation

@sathish-mg

@sathish-mg sathish-mg commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

The `fuzz targets build` job (Security workflow) has failed on every run since 2026-10-04 and passed on 2026-10-02, with the code under test unchanged.

Cause: `branches` (a `turso_core` dependency) calls `core::intrinsics::abort`, which nightly removed between 2026-10-02 and 2026-10-04. No version of the crate builds on the newer nightly, because the failing item is the compiler's, not the crate's lockfile pin. The job installs a floating `nightly`, so it broke the day that nightly shipped.

Fix: pin the job to `nightly-2026-10-02`, with a comment on why and how to move the date forward.

Verified locally: `cargo +nightly-2026-10-02 check -p branches` finishes. `cargo +nightly-2026-10-04 check -p branches` fails with the exact CI error (`E0425: cannot find function abort in module core::intrinsics`). The CI job on this PR is the final check.

(An earlier commit on this branch tried seeding `fuzz/Cargo.lock` from the root lockfile. That was a wrong diagnosis: 0.4.4 fails too. It is removed here.)

🤖 Generated with Claude Code

fuzz/Cargo.lock is gitignored, so the fuzz-smoke job resolved every
dependency to its newest release. branches 0.4.6 no longer compiles on
current nightly, which failed the job on main while the code it fuzzes was
fine. Seeding from the root Cargo.lock builds the same dependency versions
the project tests with. Verified locally: the targets build with branches
0.4.4.

Co-Authored-By: Claude <noreply@anthropic.com>
@sathish-mg
sathish-mg requested a review from a team as a code owner October 5, 2026 03:27
Seeding the lockfile did not help: branches 0.4.4 fails on the newest
nightly too (core::intrinsics::abort was removed between 2026-10-02 and
2026-10-04), so no version of the crate builds there. Pin the job to
nightly-2026-10-02, the last date verified to compile it, and say how to
move it forward.

Co-Authored-By: Claude <noreply@anthropic.com>
@sathish-mg sathish-mg changed the title CI: seed the fuzz lockfile from the root lockfile CI: pin the fuzz job's nightly (branches breaks on nightly >= 2026-10-04) Oct 5, 2026
@sathish-mg
sathish-mg merged commit 83acc26 into main Oct 5, 2026
21 checks passed
@sathish-mg
sathish-mg deleted the fix/fuzz-build branch October 5, 2026 04:01
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