Repository navigation
Commit 0c52202
`runtime-lazy-deps.test.ts` has three cases that pay a cold load of the gate
graph; two of them (the spawned CJS/ESM entries) already end with
`COLD_LOAD_TIMEOUT_MS`, while the in-process one ran on vitest's 5 s default
even though its first act is the same `import('./runtime.js')`.
On a loaded box that case takes longer than 5 s and goes red on a claim the
wall clock has nothing to do with — the boot path loading no source parser is
proved by the require-cache assertions below it, never by how long the
transform took. Measured on this container: 5383 ms with the budget, and a
deterministic `Test timed out in 5000ms` without it.
No assertion, constant or sibling case is touched.
Claude-Session: https://claude.ai/code/session_016FNvXhtSdnEGEfLEsMmvxh
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 123067c commit 0c52202
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
| |||
140 | 145 | | |
141 | 146 | | |
142 | 147 | | |
143 | | - | |
| 148 | + | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
| |||
0 commit comments