Repository navigation
PYTHON-6295 Capture the BSON fuzz corpus weekly instead of nightly - #3253
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the change separating weekly corpus capture from nightly fuzzing.
No open issues 🎉
What changed in this PR
Moves automated BSON fuzz corpus capture from daily to weekly, while preserving nightly crash discovery and regression checks on every PR.
Changes:
- Separates nightly fuzzing from a weekly
fuzz-capturetask that fuzzes and captures its task-local corpus. - Extends configuration tests and updates generated Evergreen tasks and variants.
- Updates documentation and comments to describe the weekly cadence and manual capture command.
| File | Description |
|---|---|
| fuzz/README.md | Documents weekly capture alongside nightly crash discovery. |
| fuzz/capture_corpus.py | Updates the module docstring to reference weekly capture. |
| CONTRIBUTING.md | Documents the separate flows and manual capture command. |
| .evergreen/scripts/test_generate_config.py | Extends assertions for three fuzz flows and weekly scheduling. |
| .evergreen/scripts/setup_tests.py | Clarifies in comments that nightly and weekly runs use committed seeds. |
| .evergreen/scripts/generate_config.py | Adds the weekly capture task and variant; removes capture from nightly fuzzing. |
| .evergreen/scripts/capture-fuzz-corpus.sh | Updates comments with the weekly task and manual command. |
| .evergreen/generated_configs/variants.yml | Adds the weekly capture variant. |
| .evergreen/generated_configs/tasks.yml | Separates nightly fuzzing and weekly capture tasks. |
Review effort: Balanced
kevinAlbs
approved these changes
Nov 24, 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.
PYTHON-6295
Changes in this PR
Corpus capture ran at the end of the nightly
fuzztask, so the automated [Fuzz Corpus] PR arrived daily.fuzztask now runs fuzzing only.fuzz-capturetask (variantfuzz-capture-rhel8) fuzzes and then captures, because the capture reads the task-localfuzz-scratch/corpus.Test Plan
test_fuzz_task_wiringfor the new flows.pytest .evergreen/scripts/test_generate_config.py -m ""passes (27 tests).Checklist
Checklist for Author
Checklist for Reviewer