Skip to content

chaos-pr-bundle-fuzzer: make PR count deterministic at 5 and expand merge-tree strategy coverage#32378

Merged
pelikhan merged 2 commits into
mainfrom
copilot/always-create-5-prs
May 15, 2026
Merged

chaos-pr-bundle-fuzzer: make PR count deterministic at 5 and expand merge-tree strategy coverage#32378
pelikhan merged 2 commits into
mainfrom
copilot/always-create-5-prs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 15, 2026

✨ Enhancement

The chaos-pr-bundle-fuzzer prompt currently allows variable PR counts and under-specifies complex history scenarios. This update makes each run exercise exactly 5 PR scenarios and explicitly drives complex merge-tree paths (multi-parent, octopus, diverged histories) while improving ledger balancing expectations.

  • Deterministic run shape

    • Updated hard requirement from “at most 5 PRs” to exactly 5 PRs per run.
    • Replaced randomized PR-count planning (1..5) with a fixed 5-scenario plan.
  • Expanded merge-tree edge coverage

    • Extended strategy mix to explicitly include:
      • multi-parent merge commits
      • octopus merges
      • diverged history reconciliation
  • Better cross-run strategy balancing

    • Refined ledger guidance to balance under-tested strategies across simple and complex categories, not just fuzzy rotation.
# Before
- Random PR count between 1 and 5.
- Random strategy mix (... line-ending variant).

# After
- Always generate 5 PR scenarios.
- Random strategy mix (..., multi-parent merge commit, octopus merge, diverged history reconciliation).
- Prefer under-tested strategies while balancing simple and complex categories across runs.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update PR creation strategy to always create 5 PRs chaos-pr-bundle-fuzzer: make PR count deterministic at 5 and expand merge-tree strategy coverage May 15, 2026
@pelikhan pelikhan marked this pull request as ready for review May 15, 2026 13:36
Copilot AI review requested due to automatic review settings May 15, 2026 13:36
@pelikhan pelikhan merged commit bf6ee1a into main May 15, 2026
1 check passed
Copilot AI requested a review from pelikhan May 15, 2026 13:36
@pelikhan pelikhan deleted the copilot/always-create-5-prs branch May 15, 2026 13:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the chaos-pr-bundle-fuzzer workflow prompt to make each run deterministically generate five PR scenarios and to broaden the scenario strategy mix toward more complex merge-history shapes.

Changes:

  • Changed the hard requirement from “at most 5 PRs” to “exactly 5 PRs” per run.
  • Replaced randomized PR-count planning (1..5) with a fixed plan of 5 scenarios.
  • Expanded the strategy mix and adjusted ledger guidance to balance under-tested strategies across simple vs complex categories.
Show a summary per file
File Description
.github/workflows/chaos-pr-bundle-fuzzer.md Makes PR count deterministic at 5 and expands/adjusts strategy selection guidance to target more complex merge-tree histories.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comments suppressed due to low confidence (2)

.github/workflows/chaos-pr-bundle-fuzzer.md:67

  • “balancing simple and complex strategy categories” is introduced here but the document never defines which strategies are considered simple vs complex or how to record this in the ledger. Please define the categories (or tag each strategy with a category) so the balancing instruction is actionable and consistent across runs.
3. Prefer strategies that were under-tested in previous runs while balancing simple and complex strategy categories across runs.

.github/workflows/chaos-pr-bundle-fuzzer.md:66

  • The term “multi-parent merge commit” is ambiguous because all merge commits have multiple parents; it’s unclear whether this means a non-fast-forward 2-parent merge commit or a >2-parent merge (which overlaps with “octopus merge”). Consider renaming/clarifying the strategy label to match the intended history shape.
   - Random strategy mix (single commit, two commits, amend, staged subset, minor rename, line-ending variant, multi-parent merge commit, octopus merge, diverged history reconciliation).
  • Files reviewed: 1/1 changed files
  • Comments generated: 2

## Hard Requirements

1. Create at most **5 PRs per run**.
1. Create exactly **5 PRs per run**.
Comment on lines +64 to +67
- Always generate 5 PR scenarios.
- Random personas (examples: cautious maintainer, rushed intern, refactor zealot, docs tidy bot, flaky fixer).
- Random strategy mix (single commit, two commits, amend, staged subset, minor rename, line-ending variant).
3. Prefer strategies that were under-tested in previous runs (fuzzy balancing, not strict rotation).
- Random strategy mix (single commit, two commits, amend, staged subset, minor rename, line-ending variant, multi-parent merge commit, octopus merge, diverged history reconciliation).
3. Prefer strategies that were under-tested in previous runs while balancing simple and complex strategy categories across runs.
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.

[q] always create 5 PRs and explore complex merge trees

3 participants