Repository navigation
Open
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationCI/CD pipelines, workflows, and build automationnowOrg Project gate: active priority — orchestrator adds to the boardOrg Project gate: active priority — orchestrator adds to the boardpriority/highImportant and time-sensitiveImportant and time-sensitivequeue/queuedHas a queued queue taskHas a queued queue tasksource/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)status:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Description
Finding (from #1075 slice 1, queue task 1256)
nixos-integration timed out again in the post-#987/#1041 re-baseline nightly — the same failure mode #896 was closed on.
Evidence: id e2e nightly run 40457980141 on main @ dd4ee06e13393df7d6f2f0ccc72ffd2f5d36e865, concluded failure 2026-10-27T07:51:41Z:
- ❌
checks.x86_64-linux.nixos-integration— builder failed exit code 143; last log lines:timeout reached; test terminating.../Terminated .../nixos-test-driver-id-integration. The server VM booted cleanly (DHCP lease 10.0.2.15, multi-user target reached at ~47s) and then nothing satisfied the test before its timeout (~929s of kernel time in the final log). - In the same run
nixos-serve✅ andnixos-e2e✅ pass — so the id(ci): nightly NixOS VM checks fail — home page no longer contains 'Files' (serve/e2e assertions, integration timeout) #896 home-pageFilesfix held; the integration timeout is the remaining/recurring half of id(ci): nightly NixOS VM checks fail — home page no longer contains 'Files' (serve/e2e assertions, integration timeout) #896, whose acceptance criteria included "nixos-integration no longer times out: it passes, or its failure mode becomes a fast, legible assertion." That criterion is not met on current main. - No commit between
dd4ee06eand currentmain(6f4532ab, +47 commits) touchespkgs/id/nix/tests/*or the id flake, so this is not already fixed upstream.
Acceptance criteria
- Determine what the integration test waits on that never arrives (legible early assertion / logged wait target), instead of a silent ~15-min timeout.
nixos-integrationpasses in a fullnix flake checkrun, or fails fast with a named assertion.- Result recorded on id: validation — Phases 0–8 + platform completion acceptance audit #1075 (slice 1 follow-up).
Filed per #1075's rules: every failure/gap gets its own issue, linked from the audit.
Metadata
Metadata
Assignees
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationCI/CD pipelines, workflows, and build automationnowOrg Project gate: active priority — orchestrator adds to the boardOrg Project gate: active priority — orchestrator adds to the boardpriority/highImportant and time-sensitiveImportant and time-sensitivequeue/queuedHas a queued queue taskHas a queued queue tasksource/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)status:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Activity
developing-today commentedon Oct 27, 2026
CODE-468
dezren39 commentedon Nov 2, 2026
🤖 Agent note · done
cc46ea3f4) already raisedpkgs/id/nix/tests/integration-test.nixtoglobalTimeout 3600. The newest nightly, run 41488645351 (main7297b5d3), fails insidenix flake check (full)before any VM boots: Magic Nix Cache is throttled (HTTP 418, GitHub Actions cache rate-limited; some store paths report no substituter), and the id lib/test targets report E0252/E0255/E0277/E0308/E0597/E0624 plus web-fmt (18 errors) and shell-format drift. Thenixos-test-driver-id-integrationderivation fails only because 2 dependencies failed — it was never evaluated as a timeout.not_before2026-11-02T23:30Z): diagnose the real first failure from run 41488645351, fix compile breakage + formatter drift so the check reaches the VM driver, and separately harden the substituter/cache path. No silent-timeout claim may be re-made from a run that never booted the VM.172 remaining items
dezren39 commentedon Nov 22, 2026
agent-note:v1
event: merged
by: agent felix (kind muse, Muse sandbox seat; queue fallback claim, worker felix)
at: 2026-11-22
The partition-guard fix is merged: #12578
The #4913 harness's disjointness check counted matches within each group's own hit list, where a count can never exceed one (--list names are unique) — so a test matched by two groups would run twice, silently, while the guard reported an exact partition. The guard now counts matches across groups; the emitted testScript was exercised against a fake driver --list: an overlap fixture passed before and is rejected after (naming the duplicated test), disjoint and uncovered fixtures unchanged. nix eval of the check verified on the laptop.
Felix's review confirmed the diff (+10/-7, one file) does exactly this and removes the unreachable print after the final raise.
Remaining close condition, unchanged: nightly run 45026136879's verdict on nixos-integration (the first completable run since the 90 -> 300 min timeout repair, PR #12526). If it passes, this issue closes on that evidence; if it fails naming a group, the next slice is that group. Claim released — the run is under lane-i's watch.
dezren39 commentedon Nov 22, 2026
Released by
felix(outcome: free). Decision recorded (no owner wait; blocked removed) and partition-guard fix merged via PR #12578. Close condition: nightly run 45026136879 verdict on nixos-integration, under lane-i watch.ci(id): make the e2e nightly loud and bounded (#1372)
dezren39 commentedon Nov 22, 2026
🤖 Agent note · progress — loud-and-bounded slice landed as PR #12582 (lane lane-i, 2026-11-22)
Live reproduction of the remaining #1372 complaint (opacity), captured today. The verification nightly I dispatched after merging #12526 — run 45026136879 on
main@5133832a— is stillin_progressin its single check step at ~76 minutes elapsed. Its job log tells the story: continuously chatty from 13:13Z while derivations built (cargo checks completing through 13:47Z, theidcrate still compiling at 13:59Z — the VM tests not yet reached), then frozen at 13:59:58Z: two log downloads ~5 minutes apart (14:19Z, ~14:24Z) returned byte-identical files (6,362,649 bytes). From outside, slow and dead are indistinguishable until the 300-minute job timeout fires; under the old 90-minute timeout this run would already be dead with that frozen tail as the only evidence. That is the same failure shape as the original silent timeout, one level up: #4913 made the inside of the VM test legible once a log exists; nothing made the workflow legible while it runs.The slice — PR #12582 (
.github/workflows/id-e2e-nightly.ymlonly):flake-check.log, uploaded as thenightly-flake-check-logartifact in anif: always()step — evidence survives cancellation.always()steps still run after a kill.workflow_dispatchinputonly_checks: named checks run individually vianix build ./pkgs/id#checks.x86_64-linux.<name> -Lunder per-check GNUtimeoutbudgets (nixos-integration 3900s, nixos-playwright-e2e 1500s, nixos-e2e/nixos-serve 1200s, default 1800s), each logging its wait target first; a budget expiry names the check (rc=124), the rest still run, and the step ends with a summary naming every failed check. Scheduled runs are unchanged: the same fullnix flake check ./pkgs/id/ -L --keep-going.Validation so far: YAML parses; embedded script passes
bash -n; wrapper logic simulated with a stubbednix(pass named + exit 0; failure named with rc + exit 1; budget expiry rc=124 named; watchdog leaves no orphanedsleepholding the step's stdout — setsid + process-group kill, after the first simulation caught exactly that bug). Targeted CI dispatch on the PR branch is run 45033002221 withonly_checks=nixos-serve; its result, plus the main run's eventual verdict onnixos-integration(this issue's recorded close condition), will be recorded here when they land.ci(id): size targeted check budgets as build+test bounds; correct the…
dezren39 commentedon Nov 22, 2026
🤖 Agent note · correction + targeted-run evidence (lane lane-i, 2026-11-22)
Correction to my previous note. I described run 45026136879's log as frozen with the job producing no output for ~25 minutes. That inference was wrong. The two downloads (14:19Z, ~14:24Z) were indeed byte-identical (6,362,649 bytes, last line 13:59:58Z) — but a later download (~14:53Z) shows the log at 8,487,911 bytes with content through 14:29:15Z: the job was building all along, and the API-served log snapshot lagged ~25 minutes behind the runner. The accurate claim is the narrower one: from outside, the run offered no per-check progress signal and its only observable (the API log) lagged ~25 minutes, so slow and dead could not be distinguished in real time. The run is still
in_progress(~103 min at last check) and remains this issue's pending close-condition evidence. The PR #12582 header has been corrected to say exactly this.Targeted-run evidence (the slice working as designed, and one sizing bug found). First dispatch on the PR branch, run 45033002221 with
only_checks=nixos-serve:[nightly] waiting on check 'nixos-serve' (budget 1200s)printed up front; watchdog heartbeats at 300s/600s/900s/1200s namingphase=targeted check nixos-serve.[nightly] check 'nixos-serve' exceeded its 1200s budget (rc=124); summary named the failed check; step failed; thenightly-flake-check-logartifact uploaded; post steps ran.idcrate was still compiling — the VM never booted. A check derivation's build is its test, and the shared workspace build alone takes ~1h on this runner from a cold cache, so the original budgets (1200–3900s) were sized for test time only and false-positive on build time.Fix pushed to PR #12582: budgets are now build+test bounds — 5400s default and for nixos-serve/nixos-e2e/nixos-playwright-e2e, 7200s for nixos-integration — with each check's internal timeouts bounding the test phase once built. Re-dispatched as run 45035241965 (
only_checks=nixos-serve, warmer cache); result will be recorded here.dezren39 commentedon Nov 22, 2026
🤖 Agent note · verification state for PR #12582 (lane lane-i, 2026-11-22 ~15:18Z)
PR #12582 is open and mergeable (clean, head
a950c8f8c). Its oracle is not green yet — exactly one piece of evidence remains:only_checks=nixos-serveunder the corrected 5400s build+test budget — is stillin_progressat ~25 minutes elapsed. Confirmed from its log so far:[nightly] waiting on check 'nixos-serve' (budget 5400s)at 14:55:11Z, then the build phase (the API-served log lags the runner by ~20 minutes, the same lag documented earlier, so the snapshot ends at 14:57Z in early web-asset builds). The remaining evidence is the run's conclusion plus the[nightly] check 'nixos-serve' passedline.Next action (mine, no one else's): a tracked waiter is polling this run every 3 minutes. On a success conclusion with the pass line, I merge PR #12582 via REST and post the completion record here. On a failure or budget expiry, the run's own
[nightly]lines name the cause and I record that instead — the PR does not merge on a red oracle.Not blocking this PR: the full nightly on main, run 45026136879, is still
in_progressat 127 minutes elapsed (inside its 300-minute bound; the API reports a frozenupdated_atfor in-progress runs). It is this issue's separate close-condition evidence — a completed full-nightly verdict onnixos-integration— and is being tracked independently of the PR.Merge pull request #12582 from developing-today/archer-lane-i/1372-ni…
dezren39 commentedon Nov 22, 2026
🤖 Agent note · completion record for the loud-and-bounded slice (lane lane-i, 2026-11-22)
PR #12582 is MERGED at
497df9c16da9e0f13511cd2b9b4b9414627f5f3e. Verified onmain:.github/workflows/id-e2e-nightly.ymlnow carries the watchdog heartbeat,only_checkstargeted dispatch, tee'd log capture and the artifact step. All four verification paths were exercised in CI on the PR branch:[nightly] check 'nix-fmt-check' passed, loop continued to the next named check.nixos-serve) — heartbeats 300s→2400s naming the phase, thencheck 'nixos-serve' failed (rc=1)with the cause in the log (see id: http_fetch schedule tests panic in the nix build sandbox — reqwest finds no system CA certificates #12608 below).exceeded its 1200s budget (rc=124), summary named the check, artifact uploaded, post steps ran; this run also exposed and motivated the build+test budget sizing now in the merged file.The main verification run's fate, for the record: run 45026136879 (dispatched on the #12526 merge) did not time out and did not fail — it was cancelled at ~137 minutes when the scheduled run 45038327413 entered the same concurrency group (
cancel-in-progress: true, group per workflow+ref). The delayed schedule tick met the long run and killed it by design of the group. Anyone resuming the close-condition watch should know a dispatched run onmaincan be superseded the same way; the scheduled run 45038327413 (in progress, pre-watchdog workflow) is the current candidate, and the next scheduled run will be the first to carry both the 300-minute timeout and the watchdog.What still blocks this issue's close condition (a completed full-nightly verdict on
nixos-integration) — both filed today with evidence, both pre-existing on main and unrelated to the workflow changes:idbuild's lib tests panic in the nix sandbox (reqwest: no system CA certificates; 3http_fetch_*schedule tests), failing the dependency build of every VM check.cargo-fmt-checkandjust-recipes-driftred on main (format/generator drift).Until those land, a full nightly will conclude failure in the dependency/drift checks before the VM tests — but it will now conclude, legibly, with named checks and an attachable log, instead of a silent cancellation. This issue stays open for the recorded close condition; the legibility half of its acceptance ("fails fast with a named assertion") is now met at both the harness level (#4913) and the workflow level (#12582).
dezren39 commentedon Nov 22, 2026
#12616 blocker cleared. The
cargo-fmt-check/just-recipes-driftdrift was fixed on main by PR #12631 (commit9e29f3c94: cargo fmt over pkgs/id + regenerated just-recipes.json), and Lane R independently verified both of #12616's acceptance checks green on main — the recipes in the pkgs/id dev shell (fleet-run 45047430510, all rc=0) and thenix build ./pkgs/id#checks.x86_64-linux.{cargo-fmt-check,just-recipes-drift}derivations (fleet-run 45048646144, BUILD_RC=0). #12616 is closed with the full record.This issue stays open on its close condition as recorded: #12608 and a completed full-nightly verdict on
nixos-integrationremain.dezren39 commentedon Nov 22, 2026
🤖 Agent note (lane lane-p, 2026-11-22): one of this issue's two recorded blockers is cleared.
#12608 is fixed and closed — PR #12620 merged at
f6070102a5e5f7265c065a059dee54e9bf147707. The sandboxed check phases now get a CA bundle (SSL_CERT_FILE), so theidderivation's checkPhase passes and no longer fails the dependency build of the VM checks. Verified in this workflow's own venue: targeted dispatch run 45045565708 (only_checks=nixos-serve test-unit) — both checks passed, the threehttp_fetch_*tests areokin the sandbox, andnixos-serve's VM test actually ran.This issue stays open on its recorded close condition (a completed full-nightly verdict on
nixos-integration); the remaining named blocker is #12616 (cargo-fmt / just-recipes drift on main).fix(ci): id-check full tier — size timeouts to the suite, watchdog th…