Repository navigation
CI: re-measure the macOS bats seconds table so no shard reaches the 30-minute cap - #2135
Merged
Merged
Conversation
…0-minute cap The 2026-12-01 daily run lost macOS shard 4/6 to the job cap while it was still passing tests. The table was measured on 2026-11-19, summed to 6515 s against 8139 s now, and missed 13 files, so the plan put 1628 s on that shard. Re-measured from run 46470586408, every shard is planned at about 1357 s.
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.
What was wrong
The 2026-12-01 daily run (46547400528) ended cancelled:
bats (macos-latest 4/6)hit the 30-minute job cap while still passing tests. No single test hung; the slowest took 68 s.The shard plan comes from
.github/scripts/bats-file-seconds.tsv, last measured on 2026-11-19. Since then the suite grew from 6515 s to 8139 s of macOS time, and 13 files had no row. The partition planned from the old table puts 1628 s on shard 4, so that shard ran 27 minutes on the 1.9.4 release run and crossed 30 minutes on a slower daily runner.Change
The table is re-measured from the macOS bats-timings artifacts of run 46470586408 (the 1.9.4 release pull request, all six shards green). The header names the artifact ids and the reason for the refresh. The data file is the only change: the shard count stays at 6 and the timeout stays at 30 minutes.
Planned per-shard seconds, priced by this run's numbers:
Process spawns: none. Only the CI partition changes.
Tests
tests/test_ci_sharding.batspasses locally (macOS), including the balance-ratio check and the coverage check that every file lands in exactly one shard.tests/*.batsfile on main has a row..github/scripts/check-*.sh: all pass.