Skip to content

fuzz: keep nightly jobs alive past lint and oracle blips - #324

Merged
reardencode merged 1 commit into
masterfrom
fuzz/nightly-allow-warnings
Sep 4, 2026
Merged

fuzz: keep nightly jobs alive past lint and oracle blips#324
reardencode merged 1 commit into
masterfrom
fuzz/nightly-allow-warnings

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Why both jobs died on workflow_dispatch (#323 on master)

block_wire: the isolated fuzz package now path-depends on rbitcoin-net. Nightly inherits workspace warnings = deny, and current nightly deprecates AtomicUsize::fetch_update → compile fail. This job never compiled net before.

block_differential: compiled (job RUSTFLAGS=-A warnings). -jobs=1 still forks a worker; spawn+first input exceeded -timeout=30 (exit 77). A later worker then oracle dead after ~9660 compares on a single TCP glitch (process::exit(2)).

Fix (no workflow YAML)

  • scripts/fuzz-rustc-allow-warnings.sh: exec rustc "$@" -A warnings on every cargo fuzz invoke (wire + differential).
  • Omit -jobs; -timeout=90 for differential (bitcoind spawn on first input).
  • HTTP Connection: close; Core TCP errors are RPC skips; harness exit only after 20 dead liveness probes.

Re-dispatch fuzz on master after merge, or on this branch.

block_wire now compiles rbitcoin-net; nightly -D warnings fails on
fetch_update. Wrap every cargo-fuzz rustc with -A warnings (append).

-jobs=1 forked a worker that hit libFuzzer's 30s timeout (exit 77) during
bitcoind spawn. Run in-process, timeout 90s. Treat Core TCP errors as
RPC skips with a 20-streak liveness gate instead of exit-2 on the first
dead submit after thousands of comparisons.
@reardencode
reardencode merged commit 6edd24b into master Sep 4, 2026
13 checks passed
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