Repository navigation
ci(mutation): build the mutants without debug info; print the disk - #19
Merged
Merged
Conversation
The cargo-mutants job has been stopped by the runner ("received a
shutdown signal") 14 to 20 minutes in, five master runs in a row, before
any result. Measured on 2026-11-06 with the same flags (cargo mutants -j 2
--timeout 60 --copy-target=true, 4 CPUs, 15 GB of memory): memory never
below 7 GB available, but target is 4.0 GB and the two build copies 9 GB,
against the 14 GB disk of a standard runner (GitHub docs; the runner's own
free space was not measured). In 16 minutes 150 of 224 mutants ran: 137
caught, 0 missed, 2 timeouts, 11 unviable.
Without debug info, which mutation testing does not use, target is 1.7 GB
(measured). CARGO_PROFILE_DEV_DEBUG also changes rust-cache's key (its
default env-vars prefixes include CARGO), so no debug build is restored.
The job now prints the disk before and after, so the next run shows
whether the disk was the limit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Rdii6QU3MVeyCefPEk5AL
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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 & why
The
cargo-mutantsjob of the Mutation workflow has been stopped by the runner ("received a shutdown signal") 14 to 20 minutes in, on five master runs in a row, before producing any result.Measured locally (2026-11-06)
Same flags (
cargo mutants -j 2 --timeout 60 --copy-target=true), 4 CPUs, 15 GB of memory:targetA standard runner has a 14 GB disk (GitHub docs). The runner's own free space was not measured; this PR measures it.
Change
CARGO_PROFILE_DEV_DEBUG: "0"on the job. Without debug info, which mutation testing does not use,targetis 1.7 GB (measured).env-varsprefixes includeCARGO, so the key changes and no debug build is restored (rust-cache README at the pinned SHA).df -h, the latter also after a failure. The next run shows whether the disk was the limit.How it gets tested
Mutation runs on master only, and only when Rust code or its config changes. After the merge it is started by hand (workflow_dispatch).
Type
Checklist
npm run check && npm run lint && npm run format:check && npm testpass: N/A, workflow only. The YAML parses and prettier passes.cargo fmt --check && cargo clippy --all-targets -- -D warnings && cargo testpass (insrc-tauri/): N/A, workflow onlynpm run file-size)npm run e2e): N/ACHANGELOG.mdupdated if behaviour or interfaces changed: N/ANotes for reviewers
If the run is still stopped, the disk lines will say whether to fall back to
-j 1(one build copy) or to look elsewhere.Generated by Claude Code