This repo template reproduces merge-heavy default-branch history with partial flag uploads, so we can validate base-parent behavior and test fixes.
- Minimal Python code and tests with two coverage flag groups:
coreext
codecov.ymlconfigured with carryforward defaults.- GitHub Actions workflows to:
- generate many PRs quickly,
- merge those PRs in a batch,
- produce main-branch history with intermittent partial uploads.
Workflow: .github/workflows/ci.yml
- Manual dispatch.
- Select
test_suiteascore,ext, orboth.
Workflow: .github/workflows/create-stress-batch-prs.yml (manual workflow_dispatch)
Suggested inputs:
count: 40base: main
This generates merge pressure for base-parent stress testing.
Workflow: .github/workflows/merge-batch-prs.yml (manual workflow_dispatch)
This workflow merges all open PRs in the repository.
This simulates batched landings and generates the merge topology to stress base selection.
Use the merge script if you prefer local control with gh CLI:
bash scripts/merge_batch_prs.sh main 1000- Confirm main has many merge commits:
git log --graph --oneline --decorate --first-parent --max-count=80 main- In Codecov, inspect consecutive main commits and check:
- whether base commit is present,
- whether comparisons and carryforward behavior are consistent across stress merges.
- This template is intentionally minimal to share with Codecov support/engineering.
countcan be inscreased to 30+ to make merge topology more stressful.- Fast stress profile: run
create-stress-batch-prs.ymlwithcount=40, then runmerge-batch-prs.yml. Then runci.ymlto upload coverage to Codecov on the head of the main branch.