Replace the in-job concurrent pytest processes with separate jobs, each
with its own runner and 10-minute budget. PR test selection runs once
and publishes the selected list and deterministic duration-balanced
Gloo shard lists (shard count is one constant). PR core tests and the
PR gloo tests matrix upload candidate-bound status, JUnit, logs and
coverage data. The required Pull request core job needs all three,
runs always(), fails closed unless every upstream job succeeded and
every partition that ran supplied coverage, combines accepted data in
an isolated directory, and runs the unchanged changed-line floor.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two real CI runs (37676597269 attempts 1 and 2) showed that two
concurrent Gloo shards oversubscribe the 4-vCPU hosted runner: each
shard took about as long as the whole single Gloo partition did (4m20s
to 4m36s), the core partition slowed from about 50s to 1m40s, and one
cold-start readiness bound failed. Test-step wall time did not improve
(4m38s to 4m40s versus 4m32s to 5m57s). Restore the two-process design.
This reverts commits 8681ef7 and 7f8a2d7.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Split the selected test files into two Gloo shards by deterministic
longest-first assignment over a committed duration table measured from
CI JUnit. Every selected file lands in exactly one shard, so unlisted
Gloo files still run. pr-core now runs three concurrent pytest
processes with the same exit-code, empty-side, artifact and coverage
combine rules; an empty shard never invokes pytest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>