Repository navigation
Commit 59a4f01
committed
ci, round 5: a fast path that skips the xlings tarball when the cache is at the pin, and a Windows e2e step that installs mingw only when the sandbox does not already hold it
Both guards keep the existing fallback, so a no-cache restore still runs the
full bootstrap and a sandbox without mingw still installs it. The guards are
covering measured cost, not invented one:
- bootstrap-mcpp pays the xlings tarball fetch + extract on every job even
when the restored cache already holds the pinned binary. Measured 5 to 30 s
per job on Linux and ~30 s per job on Windows, repeated across ~30 jobs per
run. The cache key is already xl$VER; the check is the one case the guard
would otherwise miss — a stale xlings cache from before the pin was bumped,
or a binary that no longer runs because its dynamic loader is gone.
- ci-windows-e2e's three shards each call `toolchain install mingw 16.1.0`.
The build job prewarms mingw on main and saves it into the sandbox cache,
so every PR restores a sandbox that already holds it; the call is a no-op
but still pays mcpp-toolchain startup. Measured 68 s per shard on three
shards per PR. The check looks for the g++ in the two homes run_all.sh
probes, and the install is gated on the missing-payload case only.
The fallback paths are the same code in C++ or in \ux\. The guards do not
change what a cold cache installs or what a warm cache restores; they only
save the cost of the redundant calls on warm caches.1 parent 3ea3fb1 commit 59a4f01
2 files changed
Lines changed: 72 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
135 | 166 | | |
136 | 167 | | |
137 | 168 | | |
| |||
202 | 233 | | |
203 | 234 | | |
204 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
205 | 259 | | |
206 | 260 | | |
207 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
69 | 77 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
79 | 93 | | |
80 | 94 | | |
81 | 95 | | |
| |||
0 commit comments