Repository navigation
ci: run the OSS-CLUSTER full-suite cells as two shards each - #899
Conversation
The OSS-CLUSTER TLS cell's Run tests step took 2393 s on master 33ff193, 7 s under its 40-minute limit, and timed out on #885. Split both full-suite cluster cells into two file shards with utils/select_test_shard.py, and validate the split with utils/check_test_shards.py, as the sanitizer workflows already do. Fixes #898 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Owner review summary for 599a506: ready to merge.
Fixes #898. 🤖 Generated with Claude Code |
Picks up the two-shard split of the OSS-CLUSTER full-suite CI cells; only .github/workflows/ci.yml changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Problem
The two
ci.ymlcells that run the whole suite against an OSS cluster now use almost all of the 40-minute "Run tests" limit. On master 33ff193, the TLS cell's step took 2393 s, 7 s short of the limit, and on #885 (da5debe) it took 2412 s and timed out while tests were still passing. Every otherci.ymltest cell takes at most 27 minutes. Details are in #898.Change
OSS-CLUSTER API: TCP PlaintextandOSS-CLUSTER API: TCP TLSeach run as two cells,(shard 1/2)and(shard 2/2).utils/select_test_shard.py <n> 2, the helper the ASAN, TSAN and UBSan full-suite cells already use. Shard 1 also runsutils/check_test_shards.py 2, which fails the job if any test is missing from both shards or present in both.No required status checks reference the old cell names (branch protection lists none).
Tests
utils/check_test_shards.py 2passes locally: shard 1 has 48 of 95 files (354 tests) and shard 2 has 47 (568 tests), with all 922 tests assigned exactly once.Fixes #898.
🤖 Generated with Claude Code
Note
Low Risk
CI workflow matrix and test selection only; reuses existing shard helpers with no product or runtime behavior changes.
Overview
Addresses OSS-CLUSTER full-suite CI timeouts (#898) by splitting the two matrix jobs that ran the entire test suite into four jobs—each original cell (
TCP PlaintextandTCP TLS) now runs as shard 1/2 and shard 2/2.Each sharded job sets
TESTviautils/select_test_shard.py(same approach as ASAN/TSAN/UBSan). Shard 1 additionally runsutils/check_test_shards.py 2so every test file is assigned to exactly one shard. The 40-minute step timeout andPARALLELISM=2are unchanged; comments document that cluster cells now run half the suite each.Reviewed by Cursor Bugbot for commit 599a506. Bugbot is set up for automated code reviews on this repo. Configure here.