Skip to content

Commit d5b1122

Browse files
sathish-mgclaude
andcommitted
CI: pin the fuzz job's nightly; drop the ineffective lockfile seeding
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>
1 parent d9a705f commit d5b1122

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

‎.github/workflows/security.yml‎

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,20 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- uses: actions/checkout@v7
35-
- uses: dtolnay/rust-toolchain@nightly
35+
# Pinned, not floating. `branches` (a `turso_core` dependency) calls
36+
# `core::intrinsics::abort`, which nightly removed between 2026-10-02
37+
# and 2026-10-04 — every release of the crate fails on a newer nightly,
38+
# so a floating `nightly` failed this job while the code it fuzzes was
39+
# fine. Move the date forward once turso_core's tree builds on it (try
40+
# `cargo +nightly check -p branches --manifest-path fuzz/Cargo.toml`).
41+
- uses: dtolnay/rust-toolchain@master
3642
with:
43+
toolchain: nightly-2026-10-02
3744
targets: x86_64-unknown-linux-gnu
3845
- uses: Swatinem/rust-cache@v2
3946
- uses: taiki-e/install-action@v2
4047
with:
4148
tool: cargo-fuzz
42-
# `fuzz/Cargo.lock` is gitignored, so without this the build resolves
43-
# every dependency to its newest release: `branches` 0.4.6 stopped
44-
# compiling on current nightly (`core::intrinsics::abort` is gone) and
45-
# failed this job while the tree it fuzzes was fine. Seeding from the
46-
# root lockfile fuzzes the dependency versions the project actually
47-
# tests with; cargo adds the fuzz crate's own entries on top.
48-
- name: Seed the fuzz lockfile from the root lockfile
49-
run: cp Cargo.lock fuzz/Cargo.lock
5049
# Run from the repo root (auto-detects the detached `fuzz/` workspace).
5150
# Force the gnu target: the runner's default host can be musl, whose
5251
# static libc is incompatible with the fuzzer's AddressSanitizer.

0 commit comments

Comments
 (0)