Skip to content

PYTHON-6295 Capture the BSON fuzz corpus weekly instead of nightly - #3253

Merged
blink1073 merged 1 commit into
mongodb:mainfrom
blink1073:weekly-PYTHON-6295
Nov 24, 2026
Merged

blink1073 merged 1 commit into
mongodb:mainfrom
blink1073:weekly-PYTHON-6295

Conversation

@blink1073

@blink1073 blink1073 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

PYTHON-6295

Changes in this PR

Corpus capture ran at the end of the nightly fuzz task, so the automated [Fuzz Corpus] PR arrived daily.

  • The nightly fuzz task now runs fuzzing only.
  • A new weekly fuzz-capture task (variant fuzz-capture-rhel8) fuzzes and then captures, because the capture reads the task-local fuzz-scratch/ corpus.
  • Docs and the generated Evergreen configs match the weekly cadence.

Test Plan

  • Extended test_fuzz_task_wiring for the new flows. pytest .evergreen/scripts/test_generate_config.py -m "" passes (27 tests).
  • Full pre-commit suite passes (ruff, synchro, generate-config, shellcheck), and the regenerated configs match the committed files.

Checklist

Checklist for Author

  • Did you update the changelog (if necessary)? No driver-facing change.
  • Is there test coverage?
  • Is any followup work tracked in a JIRA ticket? If so, add link(s). No followup work.

Checklist for Reviewer

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Is all relevant documentation (README or docstring) updated?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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-capture task 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

@blink1073
blink1073 marked this pull request as ready for review November 24, 2026 20:13
@blink1073
blink1073 requested a review from a team as a code owner November 24, 2026 20:13
@blink1073
blink1073 requested a review from kevinAlbs November 24, 2026 20:13
@blink1073
blink1073 merged commit 04693b9 into mongodb:main Nov 24, 2026
63 of 64 checks passed
@blink1073
blink1073 deleted the weekly-PYTHON-6295 branch November 24, 2026 20:55
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.

3 participants