ci: only run fuzz job on pushes to main#23
Merged
Conversation
Fuzz currently runs on every PR push and takes ~10 min for 10 targets at 60s each, dominating PR cycle time without surfacing many real regressions. Gate it to `push` events on `refs/heads/main` so: * PRs no longer wait on fuzz to merge * merged main pushes still get the post-merge fuzz sweep * tag pushes skip (the merge commit already covered them) Co-Authored-By: Claude
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fuzz currently runs on every PR push and takes ~10 minutes (10 targets x 60s each). It rarely surfaces regressions that should block a PR, but it does dominate cycle time.
Gate the job to
pushevents onrefs/heads/mainso:If a fuzz regression slips in via a PR, the post-merge run on main will catch it within minutes; the existing
pull_requestchecks (test, clippy, fmt, cargo-deny, gui) remain mandatory.Test plan
if:guard on the fuzz job, no other changes