Skip to content

Commit a8857ee

Browse files
committed
fix(ci): give the Vitest cache warmer the shard lanes' heap ceiling
The warmer replays the same test envelopes as the compact shard lanes through scripts/ci-run-node-test-shard.mts, but without the lanes' NODE_OPTIONS=--max-old-space-size=8192. Run 31874567859 lost a worker in agents-embedded-agent-run under the default heap and the failure skipped every cache-save post step, leaving the day's transform/compile caches unrefreshed. Rerun 31918467031 passed, confirming load-dependence; matching the lane environment removes the gap.
1 parent 60babdd commit a8857ee

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/vitest-cache-warm.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,9 @@ jobs:
5858
EOF
5959
6060
- name: Warm transform and compile caches
61+
env:
62+
# Match the CI shard lanes running the same envelopes: without the
63+
# raised ceiling a heavy suite's worker can die under default heap
64+
# (run 31874567859), skipping every cache save for the day.
65+
NODE_OPTIONS: --max-old-space-size=8192
6166
run: node --import tsx scripts/ci-run-node-test-shard.mts

0 commit comments

Comments
 (0)