Skip to content

CI: rebalance test shards + [no-doc] skip token (#549) - #551

Merged
nockawa merged 2 commits into
mainfrom
ci/shard-balance-and-no-doc
Jul 20, 2026
Merged

nockawa merged 2 commits into
mainfrom
ci/shard-balance-and-no-doc

Conversation

@nockawa

@nockawa nockawa commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Two CI-gate housekeeping changes, separable by file.

Rebalance engine test shards

shard.py already bin-packs by class time, but shards.json was balanced against a pre-#550 trx. After #550's uneven ~4.5× speedup, WalIntegrationTests (~35 s, one indivisible fixture) became the long pole and the run's max shard sat at ~65 s.

  • Regenerated shards.json from the Speed up Typhon.Engine unit tests (~189s → ~50s) + fix a page-cache seqlock stall #550 c6id run durations → max shard ~65 s → ~35 s (WAL is the floor; the other 7 shards balance to ~32 s). Partition verified: all 4043 tests map to exactly one shard.
  • shard.py plan now accepts multiple --trx files (unions them), so the plan regenerates directly from a gate run's per-shard trx — the natural data source now that CI shards.
  • Net: correctness-gate step ~30 s faster (test-wall 71 s → ~41 s; the ~150 s fixed provision/build/coverage floor is untouched — that's the next frontier, not tests).

[no-doc] skip token — Closes #549

Mirror of [no-ut]: a case-insensitive [no-doc] token in the PR head commit message skips the advisory Layer-2 doc-accuracy review (doc-accuracy-review.yml) — saving a billed Claude turn + a redundant comment when a commit can't affect doc accuracy.

  • Reads pull_request.head.sha (fallback github.sha) so the synthetic merge commit doesn't mask it.
  • Gates both the Claude review step and the map-gap nudge step.
  • Independent of [no-ut] (no [no-ci] umbrella).
  • Both tokens now documented together in CONTRIB.md.

Note

This PR touches only .github/, bench/aws/, and CONTRIB.md — no src/** / test/** / tools/** — so neither the aws-gate suites nor the doc-accuracy review trigger on it.

🤖 Generated with Claude Code

https://claude.ai/code/session_013T5cmQoAMBMR74Txk6HRFX

nockawa and others added 2 commits July 21, 2026 00:52
Mirror of [no-ut]: a case-insensitive [no-doc] token in the PR head commit message skips the advisory Layer-2 doc-accuracy review, saving a billed Claude turn + a redundant comment when a commit cannot affect doc accuracy. Reads pull_request.head.sha (fallback github.sha) so the synthetic merge commit doesn't mask it; gates both the Claude review step and the map-gap nudge. Independent of [no-ut] (no [no-ci] umbrella). Documents both tokens together in CONTRIB.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013T5cmQoAMBMR74Txk6HRFX
shard.py already bin-packs by class time, but shards.json was balanced against a pre-#550 trx; after the uneven ~4.5x speedup WalIntegrationTests (~35s, one indivisible fixture) became the long pole, leaving the run's max shard ~65s. Regenerated shards.json from the #550 c6id durations so the max shard drops to ~35s (WAL is the floor; the rest balance to ~32s). shard.py plan now accepts multiple --trx files and unions them, so the plan regenerates directly from a gate run's per-shard trx.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013T5cmQoAMBMR74Txk6HRFX
@nockawa
nockawa merged commit 92fda69 into main Jul 20, 2026
11 checks passed
@nockawa
nockawa deleted the ci/shard-balance-and-no-doc branch July 20, 2026 22: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.

CI: [no-doc] commit token to skip the doc-accuracy review (mirror of [no-ut])

1 participant