Skip to content

Commit 57894a9

Browse files
doublegateclaude
andcommitted
fix(ci): resolve Fuzz workflow failures
Root Cause Analysis: - GitHub Action 'dtolnay/rust-action' does not exist - Correct action is 'dtolnay/rust-toolchain' - Fuzz directory not excluded from workspace causing build conflicts Changes Made: 1. Fixed GitHub Action References (.github/workflows/fuzz.yml): - Changed 'dtolnay/rust-action@nightly' → 'dtolnay/rust-toolchain@nightly' - Applied to both 'fuzz' and 'extended-fuzz' jobs (2 occurrences) - Verified against official dtolnay/rust-toolchain documentation 2. Fixed Workspace Configuration (Cargo.toml): - Added 'fuzz' to workspace.exclude array - cargo-fuzz requires isolated workspace to function properly - Prevents 'current package believes it's in a workspace' error Verification: - Successfully built fuzz target 'fuzz_frame_parser' with cargo +nightly - All 5 fuzz targets verified to exist and compile: - fuzz_frame_parser - fuzz_dht_message - fuzz_crypto - fuzz_padding - fuzz_tree_hash - No other workflows affected by this change Impact: - All Fuzz workflow jobs should now pass - Weekly scheduled fuzzing will execute correctly - Manual workflow_dispatch fuzzing enabled References: - https://github.com/dtolnay/rust-toolchain - cargo-fuzz best practices for workspace configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f3faee6 commit 57894a9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/fuzz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: actions/checkout@v4
5656

5757
- name: Install Rust nightly
58-
uses: dtolnay/rust-action@nightly
58+
uses: dtolnay/rust-toolchain@nightly
5959
with:
6060
components: llvm-tools-preview
6161

@@ -148,7 +148,7 @@ jobs:
148148
uses: actions/checkout@v4
149149

150150
- name: Install Rust nightly
151-
uses: dtolnay/rust-action@nightly
151+
uses: dtolnay/rust-toolchain@nightly
152152
with:
153153
components: llvm-tools-preview
154154

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ members = [
1919
]
2020

2121
# XDP crate excluded from default - requires special build
22-
exclude = ["crates/wraith-xdp"]
22+
# Fuzz targets excluded - cargo-fuzz manages its own workspace
23+
exclude = ["crates/wraith-xdp", "fuzz"]
2324

2425
[workspace.package]
2526
version = "1.1.0"

0 commit comments

Comments
 (0)