Skip to content

feat(_checks-rs): default dev-profile debuginfo to line-tables-only#112

Merged
jleni merged 1 commit into
mainfrom
fix/rs-checks-debuginfo
Jul 17, 2026
Merged

feat(_checks-rs): default dev-profile debuginfo to line-tables-only#112
jleni merged 1 commit into
mainfrom
fix/rs-checks-debuginfo

Conversation

@jleni

@jleni jleni commented Jul 17, 2026

Copy link
Copy Markdown
Member

Why

CI jobs on builder1 are being killed by kubelet ephemeral-storage evictions (runner has received a shutdown signal, ~11 kills across 5 PRs on 07-15→17). Root cause analysis showed a single rs-checks job writes ~100+ GB of pod scratch, and full debuginfo is the dominant term: on the kunobi-frontend workspace, 58 of 61 GB of target/ is debug artifacts.

What

  • New rust_debuginfo input (default line-tables-only) applied as CARGO_PROFILE_DEV_DEBUG on the clippy / test / integration-build / build steps, mirroring the existing CARGO_INCREMENTAL pattern.
  • Coverage step exempt — tarpaulin manages its own debuginfo flags.
  • line-tables-only keeps file:line in panics/backtraces at a fraction of the disk; full restores cargo's default per repo if ever needed.

Side benefits: the kache store (populated by byte-copy on ext4 runners) and S3 cache transfer shrink proportionally.

Note: consumer repos pin @v8 — the floating tag needs to move after merge. First builds after rollout are cold (cache keys change with the compiler flags).

Verification

  • yaml.safe_load passes.
  • Env placement mirrors the existing per-step CARGO_INCREMENTAL pattern.

Full debuginfo dominates cargo target size (~58 of 61 GB on the
kunobi-frontend workspace) and is the main driver of the runner-pool
ephemeral-storage evictions on builder1. line-tables-only keeps
file:line backtraces at a fraction of the disk, and shrinks the kache
store and S3 transfer along with target/.

Applied to clippy/test/integration-build/build steps via a new
rust_debuginfo input (default line-tables-only, 'full' restores the
cargo default). The coverage step is exempt: tarpaulin manages its own
debuginfo flags.
@jleni
jleni merged commit 11e886d into main Jul 17, 2026
1 check passed
@jleni
jleni deleted the fix/rs-checks-debuginfo branch July 17, 2026 14:51
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