You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: split test matrix from 3 to 4 shards; fix catch-all to cover shard 4
Shard 1 now runs v4_0_0 alone (~258s). Former shard-1 packages minus v4
move to shard 2 (adds v6_0_0, ~267s). Former shard-2 becomes shard 3
(~252s). Former shard-3 with catch-all becomes shard 4 (~232s).
Catch-all block updated in both workflow files: shard check changed from
"3" to "4", ASSIGNED now references SHARD1+SHARD2+SHARD3, echo message
updated. CLAUDE.md shard table updated to match.
**`ResourceDocsTest` / `SwaggerDocsTest`** — 34s + 24s = 58s, averaging 0.85s/test — the slowest per-test cost in the suite. Each test serializes the entire API surface (633+ endpoints) into JSON/Swagger. Cost scales linearly with endpoint count. Will worsen as the http4s migration adds endpoints unless ResourceDoc serialization is cached or the heavy tests are isolated.
174
174
175
-
**Shard imbalance**: shard2 runs ~100s longer than shard3 because it holds `API1_2_1Test`. Reassigning that one suite to its own shard or splitting it would balance all three shards to ~9m15s.
176
-
177
175
### Shard assignment
178
176
179
-
Shards are defined by explicit package-prefix allowlists in `.github/workflows/build_pull_request.yml` (lines 89–139). Shard 3 also runs a **catch-all**: any `.scala` test file whose package is not covered by shards 1 or 2 is appended automatically at runtime — new packages are never silently skipped. Extras are printed in the step log under `"Catch-all extras added to shard 3:"`.
177
+
Shards are defined by explicit package-prefix allowlists in `.github/workflows/build_pull_request.yml` (lines 89–143). Shard 4 also runs a **catch-all**: any `.scala` test file whose package is not covered by shards 1–3 is appended automatically at runtime — new packages are never silently skipped. Extras are printed in the step log under `"Catch-all extras added to shard 4:"`.
0 commit comments