Commit 7aeaf9e
fix(ci): cache .d.rozie.ts sidecars as turbo outputs + non-vacuous WR-03 gate
Fixes the red main on 4084548 (5 framework matrices failed with TS2307 on
every .rozie import). Root cause: that push touched only examples/demos/ + a
VR spec, so every vite-demo build was a turbo CACHE HIT — buildStart never
ran, no sidecars were generated on CI's fresh checkout, and turbo's cached
outputs (dist/** only) did not include the src/ sidecars. The WR-03
--require-complete gate then passed VACUOUSLY because its missing-sidecar walk
derived its directory set from existing sidecars (zero sidecars = zero
directories = nothing missing), letting the failure surface as a wall of
TS2307s at typecheck instead.
Every prior push since Phase 22 invalidated all caches via compiler changes,
which is why this never fired before.
Fix 1 (root cause): declare src/**/*.d.rozie.ts + app/**/*.d.rozie.ts as build
task outputs so cache replay restores sidecars. Verified: delete all 43
sidecars -> FULL TURBO replay -> all 43 restored, Angular exception still 0.
Fix 2 (defense): --require-complete now walks every .rozie under
examples/consumers/ (except the ANGULAR EXCEPTION tree) independently of which
sidecars exist — a zero-sidecar build fails at WR-03 with the right message.
Verified: incident simulation (zero sidecars) now exits 1.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 16d309b commit 7aeaf9e
2 files changed
Lines changed: 18 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
238 | | - | |
239 | | - | |
| 237 | + | |
| 238 | + | |
240 | 239 | | |
241 | 240 | | |
242 | 241 | | |
| |||
249 | 248 | | |
250 | 249 | | |
251 | 250 | | |
252 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
253 | 262 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
260 | 267 | | |
261 | 268 | | |
262 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments