Commit 54e7895
ci: stop caching compiler-pinned CMakeCache on Windows (fixes runner-image-bump breakage)
Scheduled CI run 27544121035 (master, 2026-06-15) failed only on windows-x64 at
CMake PROJECT(): 'CMAKE_C_COMPILER .../MSVC/14.44.35207/.../cl.exe is not a full
path to an existing compiler tool'. Root cause: the 'Cache Windows CMake build
tree' step cached build/ci-windows/CMakeCache.txt + CMakeFiles/ + build.ninja,
which embed the absolute MSVC path, but the cache key hashed only source files —
not the runner image. Today's windows-2025 -> vs2026 image migration bumped MSVC
past 14.44.35207, so the restored CMakeCache pointed at a deleted compiler.
Fix: cache ONLY build/ci-windows/vcpkg_installed/ (the expensive deps) and let
CMake re-detect the compiler every run (cheap; objects still warm from the
separate ccache). Eliminates the pinned-compiler staleness class for all future
runner bumps. Key bumped to v3 to drop poisoned v2 entries. Supersedes the
deferred Phase 999.36 per-source-hash idea.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 30b5f7c commit 54e7895
1 file changed
Lines changed: 17 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
264 | 278 | | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | 279 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
| 280 | + | |
280 | 281 | | |
281 | | - | |
| 282 | + | |
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
| |||
0 commit comments