Skip to content

ci(mutation): build the mutants without debug info; print the disk - #19

Merged
chetto1983 merged 1 commit into
masterfrom
claude/modernizzazione-design-5y4lwf
Nov 6, 2026
Merged

chetto1983 merged 1 commit into
masterfrom
claude/modernizzazione-design-5y4lwf

Conversation

@chetto1983

Copy link
Copy Markdown
Owner

What & why

The cargo-mutants job 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:

Result
Memory never below 7 GB available
target 4.0 GB
cargo-mutants' two build copies 9 GB, stable from the third minute
Mutants in 16 min 150 of 224: 137 caught, 0 missed, 2 timeouts, 11 unviable

A 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, target is 1.7 GB (measured).
    • rust-cache's default env-vars prefixes include CARGO, so the key changes and no debug build is restored (rust-cache README at the pinned SHA).
  • Disk before and Disk after steps print 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

  • feat — new capability
  • fix — bug fix
  • refactor / perf
  • docs
  • test
  • chore / ci / build

Checklist

  • npm run check && npm run lint && npm run format:check && npm test pass: N/A, workflow only. The YAML parses and prettier passes.
  • cargo fmt --check && cargo clippy --all-targets -- -D warnings && cargo test pass (in src-tauri/): N/A, workflow only
  • Coverage ≥ 85% (Rust and frontend), no test skipped to hide a failure
  • No file exceeds 600 LOC (npm run file-size)
  • Checked end to end against pymodbus (npm run e2e): N/A
  • Spec / CHANGELOG.md updated if behaviour or interfaces changed: N/A
  • UI changes use the Aura tokens only: N/A

Notes 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

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
@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: efd3c05b-41f3-45d7-ba87-85068579001f
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chetto1983
chetto1983 merged commit 9858762 into master Nov 6, 2026
19 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.

2 participants