Repository navigation
ci(test-impact-shadow): give the shadow index a 12 GB memory budget - #3216
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Set
CBM_MEM_BUDGET_MB: "12288"on the "Predict the impacted suites" step of the non-gatingtest-impact-shadowjob (.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_MBis 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-shadowjob: its index step should complete instead of stopping withover_memory_budget.