fix(fuzz): preserve pending corpus entries - #16067
Merged
Merged
Conversation
Prevent eviction from discarding entries that still need worker synchronization, while retaining normal eviction for invariant campaigns that do not participate in corpus sync.
mablr
requested review from
0xrusowsky,
DaniPopes,
figtracer,
grandizzy,
mattsse and
stevencartavia
as code owners
August 7, 2026 13:12
Contributor
✅ Changelog foundThe deterministic check will validate the changed entry. |
stevencartavia
approved these changes
Aug 7, 2026
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.
This follows up on #16058, which tracks corpus entries pending worker synchronization by index. Corpus eviction could remove a pending entry and its tracked index before it was delivered, allowing final synchronization to report success while silently losing the entry.
This prevents entries pending synchronization from being evicted. The protection is enabled only for stateless fuzz workers, since invariant campaigns do not use worker synchronization and must retain normal eviction behavior. Pending indices remain sorted, allowing eviction checks to use binary search without adding a linear lookup to the hot path.
The regressions verify that pending entries survive until worker fan-out while entries in non-synchronizing corpora remain evictable.