Skip to content

ci(031): msrv frees runner disk and builds lean; disk recorded at job end - #507

Merged
bartekus merged 1 commit into
mainfrom
ci/msrv-free-disk
Nov 4, 2026
Merged

bartekus merged 1 commit into
mainfrom
ci/msrv-free-disk

Conversation

@bartekus

@bartekus bartekus commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • release-checks / msrv: a "Free runner disk" step (the same removal verify.yml does), plus CARGO_INCREMENTAL=0 and CARGO_PROFILE_DEV_DEBUG=line-tables-only, matching the managed code job.
  • msrv and every verify acceptance group record df -h / and du -sh target at the end of the job, pass or fail (if: always()).

Why

msrv failed with No space left on device (2026-11-04, run job 126314128346; 19 GB free when it started, with no cleanup and full debuginfo). The verify groups already free disk (41 GB free after cleanup) and still hit ld SIGBUS during seeds.sh. The end-of-job record measures what each group actually uses, so the next disk decision is based on numbers.

Companion: the dependency debuginfo change in the Cargo.toml PR. Kept separate because this one touches .github/workflows/ and needs the review-exception approval.

Verification

  • make gate passes (index shard refreshed for the workflow inputs).
  • actionlint: only the SC2016 info at release-checks.yml's semver step, which main already has.

… end

The msrv job failed on a full disk (2026-11-04, rustc output, 19 GB free
at the start). It now removes the preinstalled toolchains it never uses,
as verify.yml does, and builds with CARGO_INCREMENTAL=0 and line tables as
the managed code job does. msrv and every verify acceptance group record
df and the target size at the end, pass or fail, as the measure for the
next disk decision.
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

AI review (no-findings)

Reviewing the two changed workflow files for bugs, security problems, and inconsistencies.

.github/workflows/release-checks.yml

  • The job-level CARGO_INCREMENTAL: "0" and CARGO_PROFILE_DEV_DEBUG: line-tables-only env vars apply only to the dev profile; the MSRV check (make msrv) targets release members, so these settings do not alter the checked behavior.
  • The "Free runner disk" step is placed after actions/checkout and before the cache restore, which is the correct order.
  • All paths in the sudo rm -rf command are hardcoded, well-known GitHub-runner bloat directories; || true handles absent paths safely.
  • No ${{ ... }} expressions are used in any new run: block, so there is no workflow expression injection surface.
  • du -sh target 2>/dev/null || true is correctly guarded against a missing target/ directory.

.github/workflows/verify.yml

  • Adds only a diagnostic "Record runner disk" step with if: always(). No new surface area.

No concrete defects found.

{"head": "8b6b8a0c434a70a04176110a37ce40ca37e3a005", "verdict": "no-findings", "findings": []}

Subject: 4ab94eb...8b6b8a0, diff digest 91645d7e7df2c28c038ecd704adbf6e349f33277bda704f89dbfc19dbf03c61e, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus temporarily deployed to statecraft-review-exception November 4, 2026 20:42 — with GitHub Actions Inactive
@bartekus
bartekus added this pull request to the merge queue Nov 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 4, 2026
@bartekus
bartekus added this pull request to the merge queue Nov 4, 2026
@bartekus
bartekus removed this pull request from the merge queue due to a manual request Nov 4, 2026
@bartekus
bartekus merged commit 29d913a into main Nov 4, 2026
27 checks passed
@bartekus
bartekus deleted the ci/msrv-free-disk branch November 4, 2026 23:27

This branch was previously deployed

1 inactive deployment
statecraft-review-exception — 8b6b8a0c Deployed Nov 4, 2026 by bartekus via review-exception #3366
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