Commit 57894a9
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
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments