Commit 36c8db2
perf(ci): fine-shard ubuntu only; run whole suite on macos/windows
macOS GitHub runners have ~5 concurrent slots, so fanning 22 shards × 2 nodes
across macos/windows queued ~9 batches and pushed total wall to ~18min even
though each job was ≤60s — the queue depth, not per-job time, was the wall.
The ≤60s target is ubuntu-only (high runner concurrency). Restructure the test
matrix:
- ubuntu-latest: the 22 fine shards × node 22/24 (44 jobs) — all run in
parallel, each ≤60s.
- macos-latest / windows-latest: whole suite as one job per node (shard=all,
4 jobs) for compatibility coverage without flooding the scarce queue. This
matches the pre-optimization per-OS job shape; flakes absorbed by --retry.
Drops test jobs from 132 → 48.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 957eb68 commit 36c8db2
1 file changed
Lines changed: 23 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
105 | 123 | | |
106 | 124 | | |
107 | 125 | | |
| |||
0 commit comments