Skip to content

fix(ci): bound the heap of each mutant test runner process - #1844

Open
Mearman wants to merge 1 commit into
mainfrom
fix/mutation-slice-time-budget
Open

Mearman wants to merge 1 commit into
mainfrom
fix/mutation-slice-time-budget

Conversation

@Mearman

@Mearman Mearman commented Nov 26, 2026

Copy link
Copy Markdown
Member

Refs #1791

Slice 4 of pdf-codec was killed with "The runner has received a shutdown signal" about 23 minutes into a planned 174 minute job, at the same tested count on two runs, so the gate had no report for it. Stryker's timeoutMS bounds time, not memory. The runner processes now get a derived --max-old-space-size.

@claude

claude Bot commented Nov 26, 2026

Copy link
Copy Markdown

⚠️ PR Steward hasn't started: your organization has no extra usage available to pay for it, so it isn't working on this pull request.

If your organization's extra usage balance is empty or was never set up, an Owner of your Claude organization can add extra usage credits at claude.ai/admin-settings/usage. If your organization's monthly spend limit for extra usage is $0 or was reached, an Owner can raise it on the same page. If neither applies, contact Anthropic support.

Once that's fixed, PR Steward starts at the next push to this pull request.

Settings

A slice job could end with "The runner has received a shutdown signal"
and no report, so the workflow gate failed the package with "no report
for slice N". The job's own timeout was not the cause: the kill came
well inside the planned timeout, at the same mutant on two runs, and a
full local run of the slice showed one runner process growing past
14 GiB for a short time on a 16 GiB class machine.

Stryker's timeoutMS bounds elapsed time, not memory, so a mutant that
allocates without bound takes the runner agent down with it. Pass
--max-old-space-size to every test runner process, derived from the
machine's memory and the worker count, so the runner stops itself and
Stryker records the mutant instead.

Refs #1791
@Mearman
Mearman force-pushed the fix/mutation-slice-time-budget branch from 89cf094 to 48e72b4 Compare November 26, 2026 21:55
@Mearman Mearman changed the title fix(mutation): bound the heap of each mutant test runner process fix(ci): bound the heap of each mutant test runner process Nov 26, 2026

This branch has not been deployed

No deployments
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