Skip to content

The broker fuzz target builds again, and a pull request that touches the parsers builds both - #649

Merged
DevomB merged 1 commit into
mainfrom
fuzz-stick-arm
Oct 29, 2026
Merged

DevomB merged 1 commit into
mainfrom
fuzz-stick-arm

Conversation

@DevomB

@DevomB DevomB commented Oct 29, 2026

Copy link
Copy Markdown
Owner

The weekly Fuzz run of 2026-10-25 (40178127805) failed before it fuzzed anything. compartments/kryptikd/fuzz/broker_request.rs matches every broker::Request, and the stick request that the USB stick grant added on 2026-10-13 (246c8e8) had no arm:

error[E0004]: non-exhaustive patterns: `Ok(broker::Request::Stick)` not covered
  --> ../src/../fuzz/broker_request.rs:13:11

stick takes no argument (("stick", []) => Ok(Request::Stick), broker.rs:212), so it joins version, clipboard-get and update-poll in the arm that asserts nothing.

Nothing built the targets between weekly runs, so the break went unseen for twelve days. fuzz.yml now also runs on pull requests that touch compartments/kryptikd/src/**, the fuzz crates, compositor/wlproxy/** or the workflow:

  • On a pull request, the job runs cargo fuzz build --sanitizer none on the same pinned nightly instead of fuzzing for twenty minutes. The fuzz binary compiles all of kryptikd from src/main.rs.
  • The scheduled and dispatched runs fuzz as before.

This PR touches both paths, so its own checks build both targets.

…the parsers builds both

The weekly run of 2026-10-25 (40178127805) failed before fuzzing:
broker_request.rs matches every broker::Request, and the `stick` request
the USB stick grant added on 2026-10-13 had no arm, so the target no
longer compiled. `stick` takes no argument, as `version` does, so it joins
that arm.

Nothing built the targets between weekly runs, which is how the break
went unseen for twelve days. A pull request that touches kryptikd's
sources, wlproxy or the fuzz crates now runs `cargo fuzz build` for both,
on the same pinned nightly, without fuzzing.
@DevomB
DevomB marked this pull request as ready for review October 29, 2026 19:04
@DevomB
DevomB merged commit f130de9 into main Oct 29, 2026
26 of 29 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