GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CI: nix flake check intermittently dies with 'No space left on device' in id-test/id-ci · Issue #257 · developing-today/code

CI: nix flake check intermittently dies with 'No space left on device' in id-test/id-ci #257

New issue
Copy link
New issue
Copy link
Closed
Closed
CI: nix flake check intermittently dies with 'No space left on device' in id-test/id-ci#257
Copy link
Assignees
dezren39
Labels
status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Oct 18, 2026
Issue body actions

Problem

nix flake check on GitHub-hosted runners intermittently dies with No space left on device while the parallel id-test / id-ci derivations are building, which masks real test results and burns a ~30-minute run.

Evidence (two independent runs)

  • Run 39081860390 (main @ 5bddbd33): rustc-LLVM ERROR: No space left on device at link time in both the id-test and id-ci derivations.
  • Run 39096263946 (PR fix(id): coalesce LogSync ingest batches (#241) #255 head e3f9380f): id-test failed to write /build/id/target/debug/deps/rmeta…/full.rmeta: No space left on device (os error 28), and the runner itself reported ENOSPC writing its own diagnostic log (_diag/pages/…_1.log). In the same run id-test-web did complete (1487 passed), so the disk fills late, while the biggest derivations are still compiling/linking.
  • A third run (main @ e1f99237, run 39090664953) completed the full suite with no ENOSPC, so this is intermittent — it depends on how the parallel derivations' disk footprints line up, not on any one change.

Why it matters

  • It has already hidden at least one verification: the Phase 3: test_an_interrupted_session_restarts_without_duplicates flakes under full-suite load #188 fix's first full-suite run was lost to ENOSPC, and PR fix(id): coalesce LogSync ingest batches (#241) #255's run lost its id-test/id-ci legs the same way.
  • A red run caused by disk looks identical to a red run caused by code until someone reads 30k lines of log.

Suggested directions (any one may suffice)

  • Add a disk-reclaim step before nix flake check (e.g. remove preinstalled toolchains/dotnet/Android SDK the job never uses — the standard free-disk-space recipe recovers ~20–30 GB on ubuntu-latest).
  • Reduce peak footprint: share one target dir between the test derivations instead of each building its own debug tree, or lower derivation parallelism for the heavy Rust checks.
  • Move the job to a larger-disk runner if one is available to the org.

Acceptance criteria

  • Several consecutive nix flake check runs on main complete with no No space left on device anywhere in the log (including the runner's own annotations).
  • If a reclaim step is added, the log shows the free space before/after so a future recurrence is diagnosable at a glance.

Activity

Next
  1. github-actions
    assigned
    dezren39
    on Oct 18, 2026
  2. dezren39 commented on Oct 24, 2026

    @dezren39
    dezren39
    on Oct 24, 2026
    MemberAuthor
    More actions

    id train triage (2026-10-24): too-big-needs-design — CI runner ENOSPC during parallel id-test/id-ci; masks real test results.

  3. dezren39
    added
    task/ci-investigationQueue packet kind: investigate a CI failure
    queue/queuedHas a queued queue task
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Oct 25, 2026
  4. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code)
    • Session/ID: task 1063
    • Found via: queue claim
    • Task: CI investigation CI: nix flake check intermittently dies with 'No space left on device' in id-test/id-ci #257 — confirm recency of flake-check ENOSPC, check whether any mitigation has landed, propose disk-budgeting / serialization options (investigation only, no workflow change)
    • Expectation: bounded investigation (~45 min); done = dated most-recent ENOSPC (or mitigation cited) + costed options posted on this issue
    • Links: none yet
  5. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    CI investigation #257 — findings (queue task 1063, investigation only; no workflow change landed by this task)

    1. Most recent confirmed ENOSPC: 2026-10-18 — nothing later found

    • Run 39081860390 (2026-10-18T00:11Z, main 5bddbd33) and run 39096263946 (2026-10-18T04:12Z, PR fix(id): coalesce LogSync ingest batches (#241) #255 head e3f9380f) remain the last confirmed hits. The second run's log was re-read for this investigation: at 2026-10-18T04:41Z id-test failed writing …/deps/rmeta…/full.rmeta — No space left on device (os error 28) — with the same error in id-test-web.
    • Recency scan (logs grepped for No space left on device, 2026-10-26):
      • All 9 id e2e nightly runs since that workflow was created (2026-10-19 → 2026-10-25, scheduled + dispatched) — the nightly is the only place the full single-job nix flake check still runs: 0 hits. Those runs do fail, but for the already-tracked Playwright/Firefox e2e cluster (Stabilize shared-state failures in Firefox E2E CI #229; e.g. run 40239827303: 19 e2e failures, 0 ENOSPC) — not disk.
      • The 2 most recent failed PR-gate id runs (40244892769, 40186111341, both 2026-10-25): 0 hits.
      • Main-push id runs on 2026-10-25/26 in the sampled list are succeeding.

    2. A mitigation has landed — in two stages, both after the last ENOSPC hit

    1. 2026-10-18T15:58Z, commit 4790927e (CI: the id workflow gates PRs for ~2 hours — split e2e out and fail fast #292 shape): the PR gate became a fast gate with the nix store cached between runs (magic-nix-cache, CI caching: cache Go build cache by go.sum hash and reuse artifacts between legs #288), and the heavy browser/VM checks moved off the PR path into the new nightly id-e2e-nightly.yml.
    2. 2026-10-25, CI: id flake check takes ~51min and dies at the job timeout — make the checks faster or move some off the PR path #869: commit 9ff49d46 split the PR gate into a matrix — one parallel job per check (22 checks from .github/scripts/id-pr-checks.txt), each on its own ubuntu-latest runner with its own disk; commit a3917aae sharded the integration suite (test-shard-0/1/2 + test-unit) so no single derivation re-runs the whole cargo suite. An aggregator job preserves the required nix flake check status name.

    Structural effect: the original failure mode — several heavy derivations (id-test/id-ci and their separate debug trees) building concurrently against one runner's disk — no longer exists on the PR path. Each PR check now gets a fresh runner's full disk budget for a single derivation.

    3. Remaining exposure

    The nightly full check is the one single-runner, build-everything job left (180-min cap, --keep-going, includes the NixOS VM image builds). It has not hit ENOSPC in 9 runs, but it is where a recurrence would appear — and its logs currently carry no disk telemetry, so a recurrence would again need a 100k-line log dig to diagnose.

    4. Options, costed (for a follow-up implementation task; none landed here)

    Option What Estimated cost Effect
    A. Disk telemetry + reclaim step in the nightly (recommended first) df -h before/after the check; remove preinstalled toolchains/SDKs the job never uses (the recipe in this issue's body estimates ~20–30 GB recovered) ~30 min to implement + one nightly cycle to verify; reclaim step adds ~2–5 min per run Prevents most recurrences and makes any recurrence diagnosable at a glance — this is also this issue's own acceptance point for a reclaim step
    B. Matrix-split the nightly like the PR gate One job per heavy check (test-e2e, nixos-*) ~half a day; total runner-minutes roughly unchanged, wall time drops sharply Removes the last single-disk pressure point almost entirely
    C. Larger-disk runner for the nightly ubuntu-latest-large or a third-party runner Recurring per-minute billing increase; availability to the org unverified — a spend decision, not an engineering one Buys headroom without reducing footprint
    D. Shared target dir / footprint reduction across derivations Dedupe the per-derivation debug trees Days; fights nix sandbox purity — not recommended as a first move Reduces peak footprint at high complexity risk

    Recommendation: the PR-path problem this issue reported is mitigated by the #292/#869 restructuring and has not recurred in 8 days of runs. Keep this issue open only for option A (nightly telemetry) as a small follow-up, or close it as mitigated and let a fresh, telemetry-instrumented recurrence re-file it with data. Queue task 1063 is complete as triaged either way; the choice is a maintainer call, not something this investigation decides unilaterally.

  6. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    Fleet monitor check-in

    Holder: queue worker (repo-worker-code), task 1063, picked up 2026-10-26T00:46Z; findings posted 2026-10-26T02:26Z. No effort label, so the default s deadline (2h) applies — the item is well past that with no checkpoint since the findings post.

    Divergence flagged again this run: this issue carries queue/claimed + work/assigned, but pilot task 1063 in the queue is in queued (unclaimed, attempts=3) state — GitHub and the queue disagree about the claim. The monitor has not cancelled the task (the issue is open, its queue labels are intact, and no cancellation cause in the protocol fits) and has not blocked it (the monitor does not hold the claim).

    Holder / queue review: please checkpoint the investigation as done or still open, and reconcile task 1063's state with the claim labels on this issue.

  7. dezren39
    removed
    task/ci-investigationQueue packet kind: investigate a CI failure
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 26, 2026
  8. 34 remaining items

  9. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Oct 26, 2026
  10. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 1121
    • Found via: queue claim (resume from park)
    • Task: Resume awaiting-CI park: nightly dispatch run 40386711048 on PR ci(id-nightly): disk telemetry + reclaim step before flake check (#257) #1005 has completed — verifying whether its failure is reclaim-attributable, then merging PR ci(id-nightly): disk telemetry + reclaim step before flake check (#257) #1005 if clean per the park resume condition
    • Expectation: s — done = PR ci(id-nightly): disk telemetry + reclaim step before flake check (#257) #1005 merged (or a documented block) and task 1121 completed
    • Links: PR ci(id-nightly): disk telemetry + reclaim step before flake check (#257) #1005 · run https://github.com/developing-today/code/actions/runs/40386711048
  11. dezren39
    added a commit that references this issue on Oct 26, 2026

    ci(id-nightly): disk telemetry + reclaim step before flake check (#257)…

    060197a
  12. developing-today
    added
    status:done
    on Oct 26, 2026
  13. developing-today
    closed this as completedon Oct 26, 2026
  14. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 1121
    • Found via: queue claim (resume from park)
    • Task: Verify nightly dispatch run 40386711048 on PR ci(id-nightly): disk telemetry + reclaim step before flake check (#257) #1005 and merge if no reclaim-attributable failure
    • Result: Run completed 2026-10-26T22:16Z. All telemetry/reclaim steps SUCCESS (df -h before reclaim, after reclaim, after check); the only failing step was the flake check itself — test-e2e Firefox (18 failed / 111 passed) and NixOS VM timeouts, the same failure classes as the failing main-branch nightlies (e.g. run 40338958982, 2026-10-26). No ENOSPC anywhere in the log. PR gates all pass. PR ci(id-nightly): disk telemetry + reclaim step before flake check (#257) #1005 merged (squash, 060197a); this issue auto-closed.
    • Links: PR ci(id-nightly): disk telemetry + reclaim step before flake check (#257) #1005 · run https://github.com/developing-today/code/actions/runs/40386711048
  15. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 26, 2026
  16. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 1121 — evidence update from lane B run 2026-10-26T22:37Z (task itself remains parked for its holder/resumer)
    • Found via: queue claim (repo-health-code-pilot)
    • Task: Evidence update for the CI: nix flake check intermittently dies with 'No space left on device' in id-test/id-ci #257 verification run on PR ci(id-nightly): disk telemetry + reclaim step before flake check (#257) #1005.
    • Expectation: Nightly dispatch run 40386711048 has now COMPLETED (conclusion: failure) — but the only failed step is "Run full nix flake check", and its log tail points at the vm-test-run-id-playwright-e2e check (nix log /nix/store/ybzipjwlpw13578pps90insdlz8lf38y-vm-test-run-id-playwright-e2e.drv), finishing at 22:16Z — inside the 180-min cap (not a timeout) and with NO ENOSPC in evidence. All telemetry/reclaim steps succeeded earlier and PR gates pass. On resume: confirm the same playwright-e2e failure exists on recent main nightly runs (pre-existing, not reclaim-attributable); if so, PR ci(id-nightly): disk telemetry + reclaim step before flake check (#257) #1005 satisfies its acceptance (run completed, telemetry visible, no reclaim-attributable failure) and can be merged, with the e2e failure filed/tracked separately.
    • Links: run https://github.com/developing-today/code/actions/runs/40386711048 · PR ci(id-nightly): disk telemetry + reclaim step before flake check (#257) #1005
  17. dezren39
    added a commit that references this issue on Oct 30, 2026

    mcpx: rate-limit conformance rows now tested, not gaps (#2192)

    241240e
  18. dezren39
    added a commit that references this issue on Nov 25, 2026

    conformance: re-disposition residual elicitation identity rows to dec…

    fc882c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.