Skip to content

ci(test-impact-shadow): give the shadow index a 12 GB memory budget - #3216

Merged
DeusData merged 1 commit into
mainfrom
ci/test-impact-shadow-memory-budget
Dec 6, 2026
Merged

DeusData merged 1 commit into
mainfrom
ci/test-impact-shadow-memory-budget

Conversation

@DeusData

@DeusData DeusData commented Dec 6, 2026

Copy link
Copy Markdown
Owner

What

Set CBM_MEM_BUDGET_MB: "12288" on the "Predict the impacted suites" step of the non-gating test-impact-shadow job (.github/workflows/pr.yml). That's one env entry with a comment.

Why

The shadow job indexes this repository with the latest released binary at its default memory budget, a quarter of the runner's 16 GB (3,995 MB). That isn't enough: most pull requests show the job red with "reason":"over_memory_budget", at peaks of 5,647 MB (#3185) and 5,801 MB (#3194), and once 11,010 MB (#3097). It's continue-on-error, so it never gated anything, but it's red noise on nearly every PR and the shadow comparison it exists for never completes. CBM_MEM_BUDGET_MB is the knob the binary's own error hint names. 12 GB covers the observed peaks and leaves the rest of the job room on a hosted Ubuntu runner.

Proof

This PR's own test-impact-shadow job: its index step should complete instead of stopping with over_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 <martin.vogel.tech@gmail.com>
@DeusData
DeusData merged commit b079e4e into main Dec 6, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant