From 64bf102b80e270da9e1a38c869d223d6119f2245 Mon Sep 17 00:00:00 2001 From: Martin Vogel Date: Sun, 6 Dec 2026 16:38:28 +0100 Subject: [PATCH] ci(test-impact-shadow): give the shadow index a 12 GB memory budget The non-gating shadow job indexes this repository with the latest released binary at its default budget (a quarter of the runner's 16 GB, 3,995 MB). The index needs more: most PR runs stopped with over_memory_budget at a 5.6-5.8 GB peak, one at 11 GB, so the job was red on most pull requests. Set CBM_MEM_BUDGET_MB=12288 for the index step, the knob the binary's own error hint names. Signed-off-by: Martin Vogel --- .github/workflows/pr.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1d8994ec55..653529878f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -343,6 +343,12 @@ jobs: mkdir -p "$RUNNER_TEMP/cbm-bin" cp build/c/codebase-memory-mcp "$RUNNER_TEMP/cbm-bin/" - name: Predict the impacted suites + env: + # The index of this repository needs more than the default budget + # (a quarter of the runner's 16 GB): most runs stopped with + # over_memory_budget at a 5.6-5.8 GB peak, one at 11 GB. 12 GB still + # leaves the rest of the job room on a hosted Ubuntu runner. + CBM_MEM_BUDGET_MB: "12288" run: scripts/ci/test-impact-shadow.sh --binary "$RUNNER_TEMP/cbm-bin/codebase-memory-mcp" --out "$RUNNER_TEMP/test-impact" # The engine (test-impact select) is this checkout's own code: the # released binary predates it, so the checkout is built either way.