From fe1ae5c4bf1c34b7761b234f1f8bba91a0f61bd1 Mon Sep 17 00:00:00 2001 From: Maurice Date: Mon, 22 Jun 2026 22:49:18 +0200 Subject: [PATCH] ci: raise client coverage heap to 12 GB for the v8 report phase (#1258) --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e61f41e..2b3954e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -127,9 +127,10 @@ jobs: - name: Run tests env: - # Vitest + v8 coverage across 150+ files exceeds Node's default ~4 GB - # heap and OOM'd; give it headroom on the 16 GB runner. - NODE_OPTIONS: --max-old-space-size=6144 + # Vitest's main process accumulates v8 coverage + verbose results across + # 150+ files; the peak exceeds Node's default ~4 GB heap (and 6 GB), so + # give it generous headroom on the 16 GB runner. + NODE_OPTIONS: --max-old-space-size=12288 run: cd client && npm run test:coverage - name: Upload coverage