GeezerVison is showing github.com — main-broken: developing-today/code id e2e nightly (run 45247507279) — nix flake check (full) fails on Magic Nix Cache rate limit · Issue #13843 · developing-today/code
main-broken: developing-today/code id e2e nightly (run 45247507279) — nix flake check (full) fails on Magic Nix Cache rate limit #13843DescriptionMain-branch CI failure caught by the main-ci watch (2026-11-23).
- Run: https://github.com/developing-today/code/actions/runs/45247507279 (workflow
id e2e nightly, head 43b852e, created 2026-11-23T19:18Z)
- Failed job:
nix flake check (full) (job 137948061091), step Run nix flake check (watchdog, log capture)
- Evidence:
error: unable to download '.../*.narinfo': HTTP error 418 ... ResourceExhausted, rate limit exceeded and GitHub Actions Cache throttled Magic Nix Cache. Not trying to use it again on this run.
- Previous run of the same workflow 45156889099 also failed on 2026-11-23T10:31Z.
Scope: confirm whether the failure is cache throttling only (fix the cache strategy or retry path so the nightly does not hinge on Magic Nix Cache) or a real flake check failure hidden behind it. Fix on main via PR; verify with the nightly re-run.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-23T23:15:43Z",
"session_id": "ses_e5df553946bffebwa2F7O1a8x0",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code",
"repo": "developing-today/code",
"branch": "main",
"sha": "57597b8540ac0aa94d347a1b9609a6f29abee6ac"
},
"auth_subject": "oc-code-04",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activitydeveloping-today commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026 Root-cause verdict (lane code-f, task 21527): NOT throttle-only — main is red on real check failures
Throttle evidence (real, but survived): run 45247507279 (schedule, head 43b852e75f), job nix flake check (full): Magic Nix Cache throttled at 19:21:26Z (HTTP error 418, ResourceExhausted, rate limit exceeded on *.narinfo fetches via the local proxy). The action then self-disabled for the run (GitHub Actions Cache throttled Magic Nix Cache. Not trying to use it again on this run.), and the job continued for 3.5 more hours on upstream caches + fallback = true (the #774 mitigation; fallback is a valid nix.conf setting, verified via nix show-config). The step finally failed at 22:53:31Z on check results, not on downloads.
Real failures in that run (nix flake check ./pkgs/id/ -L --keep-going summary — each failed independently of the cache):
cargo-fmt-check, rustfmt-check, treefmt-check, prettier-check, biome-check — genuine formatting diffs (e.g. import ordering + fn-signature style in crates/.../tests/first_app_poc.rs)
clippy-lint — deny-level lints are hard errors: `panic` should not be present in production code (id-cli lib test, 2 errors), expect()/expect_err() on Result/Option, plus id-worlds lib-test compile errors (5 previous errors)
test, test-unit, test-web, test-web-unit, test-shard-*, test-e2e — test-sandbox/test-shard-sandbox/test-unit recipes failing (exit 100)
roc-test, prod-lines-check, planted-bug-check, clippy-native-shell, nixos-serve, nixos-e2e, nixos-integration, nixos-playwright-e2e (several of the nixos-* are dependency cascades)
default check also failed
Stability: the same signature (fmt + clippy + tests + prettier/biome/treefmt + roc-test + prod-lines) failed on three earlier heads today — runs 45156889099 (head 01861f16, 10:31Z), 45177254952 (12:45Z), 45192939504 (14:19Z) — plus the PR gate id-check.yml on main failed 20:31Z (head 2d21fb36). Main has been red all day across unrelated heads; the cache throttle is a sideshow, not the cause.
Scope note: remediating these failures requires pkgs/**/src/** (and tests/) changes, which this packet explicitly excludes (CI-only: workflow + flake + non-src). No fix PR from this lane — a fmt/lint/test repair PR belongs to src-owning follow-up, not a cache-strategy tweak. Throttle-path handling (fallback = true, MNC continue-on-error) is already in place and worked as designed in this run. dezren39 commented on Nov 24, 2026 Main-CI watch recurrence: completed main run https://github.com/developing-today/code/actions/runs/45369993004 (48e4feb) failed job https://github.com/developing-today/code/actions/runs/45369993004/job/138361488268. This is NOT startup failure: full logs identify clippy-lint and roc-test failing because pkgs/id/justfile:313 uses [group(test)] but group arguments must be string literals. Magic Nix Cache HTTP 418 also appears, but the final failed-check summary is clippy-lint roc-test. Log pointer: gh run view 45369993004 --repo developing-today/code --log-failed. Fresh verification: this issue OPEN; task 21527 claimed. Hard per-workflow dedupe: retaining that sole live effort; no duplicate issue/task/session. Existing worker should incorporate this new source-level failure into verification. dezren39 commented on Nov 24, 2026 dezren39 commented on Nov 24, 2026 Lane record (felix, task 21527): throttle is a sideshow — the nightly's red was a justfile parse error masking the real failures; fix in PR #14280
1. The cache throttle did not fail run 45247507279, and needs no fix. Log-verified: MNC throttled at 19:21:26Z (HTTP 418, ResourceExhausted), self-disabled for the run, and the #774 mitigation (fallback = true in the nix-installer extra-conf, MNC action continue-on-error: true) carried the job for 3.5 more hours on upstream caches. It failed at 22:53:31Z on check results. The throttle recurred today in run 45369993004 (508 "throttled" lines) and the fallback carried that run too. The nightly does not hinge on Magic Nix Cache.
2. The Nov-23 fmt failures are already fixed on main. Commit a72b62b ("apply pinned formatters to clear biome/prettier/rustfmt/statix drift") + follow-ups (#14156, #14194, 4823c50, fcf799c). Verified today on main b740ff9883 (fleet-command run 45368218941): cargo-fmt-check, rustfmt-check, treefmt-check, prettier-check, biome-check, planted-bug-check all build green.
3. Root cause of the current red: two unquoted [group(test)] attributes in pkgs/id/justfile (lines 313/318, recipes test-tui-shell #12818 and test-hw-shell #10929; the other 132 group attributes in the file are quoted). The pinned just rejects the file — error: attribute 'group' arguments must be string literals — so every just-driven check dies at parse time. Verified in the nightly's own targeted mode on main (run 45369993004): id-clippy-lint> and id-roc-test> fail with exactly this error seconds in, before any lint/test runs; prod-lines-check likewise (run 45368218941).
4. Underneath the parse error, roc-test had two more CI-environment gaps (both from #787 Slice D's key-parity step, which hard-fails rather than skipping): the check derivation had no python3 on PATH, and its corpus doc/kitty-disambiguate-v1-fixtures.json was unreachable because pkgs/id/doc is a symlink to the repo-root doc/ that dangles in the check sandbox (src = pkgs/id alone).
Fix — PR #14280 (branch felix/13843-prod-lines-just-group, 3 commits): quote the two [group('test')] attributes; add pkgs.python3 to the roc-test check's extraNativeBuildInputs; add a beforeCheck that materializes the corpus file from the repo-root doc/ in the same flake evaluation.
Proof:
- roc-test GREEN on the PR branch, nightly targeted mode, run 45373972719: RocJson 29/29, Screen 15/15, Key 59/59, generated key-parity copy 123/123, "key parity: terminal corpus and browser encoder output decode to equal rich events", summary
failed checks: none. (On main it fails at parse; with only the parse fix it fails on python3, run 45371452103; with python3 added it fails on the corpus, run 45373042409.)
- prod-lines-check with the parse fix runs to completion (run 45369986580).
Still red on main after this PR — real src work, recorded here for follow-up, not cache/workflow faults:
prod-lines-check: src/boards.rs 2622 production lines and crates/id-events/src/groups/tests.rs 2516 vs the 2500 limit — F11.10 module splits, already tracked in id: F11.10 large-module split has no regression guard — no automated check fails when a production file regrows past 2,500 lines #1411.
clippy-lint (run 45371452103, parse fix applied): E0061 arity errors concentrated in crates/id-worlds (src/world/mod.rs:948/1029/1067, src/world/spill_pool.rs — method signature changed, callers in test code not updated) plus deny-level expect()/expect_err() lints (~45, incl. crates/id-cli and src/hosted_binding.rs, src/grants.rs, src/currency/reconcile.rs).
test family / nixos-* from the Nov-23 run were not re-verified on current main in this lane; note the parse fix also unblocks the test-tui-shell and test-hw-shell checks, which invoke the two repaired recipes.
Housekeeping: the original fleet queue dispatch for the fmt verification (handle fp_4ee89e71cce04edf7e9f804c9d2a21fe) never left queued; the identical verification was run via the fleet-command workflow bypass (run 45368218941). dezren39 commented on Nov 24, 2026 code-g root-cause check on nightly run 45247507279 (2026-11-23 22:53Z): NOT a Magic Nix Cache throttle. The failing check is nix flake check (full) checks.x86_64-linux.nixos-playwright-e2e, which depends on id-cargo-fmt-check (real rustfmt diff in id tests/first_app_poc.rs, import ordering and a fn signature) and id-clippy-lint (id-worlds lib test: 5 compile errors, 1291 warnings). The HTTP 418 / ResourceExhausted line is not the failing step. Fix needs: cargo fmt on pkgs/id, then the clippy and lib-test compile errors fixed and verified in a build. Verification needs fleet shell, which is down on the laptop (broker refused, no proxy env). Parking task 21527 until fleet shell is reachable. dezren39 commented on Nov 24, 2026 Lane code-i (task 21527): status on current main
- Root-cause verdict stands: not a Magic Nix Cache throttle. The red was the justfile parse error (
[group(test)] unquoted), fixed in PR fix(id): unblock nightly checks — quote justfile [group('test')], give roc-test python3 + its corpus (#13843) #14280, merged 2026-11-24T10:27Z. The roc-test check is green on that branch (run 45373972719).
- Still red on main, all src-owned, outside this packet's CI-only scope (
pkgs/**/src/**):
- Parked task 21527 with a ready condition of shell ok, so a src-owning follow-up can take the clippy and prod-lines work. Re-verify the nightly after that lands.
developing-today-fleet commented on Nov 27, 2026 Triage recheck (lane code-g, task 23924): main still red — NOT throttle-only, verdict stands
Rechecked the latest scheduled main signal: run 45870473932 (schedule, head 54e1cfbe, 2026-11-26T17:45Z) — job nix flake check (full) failed.
Throttle evidence (real, but survived — sideshow, not cause): ~768 `HTTP error 418 / ResourceExhausted` lines at 17:51Z, then `GitHub Actions Cache throttled Magic Nix Cache. Not trying to use it again on this run.` The job continued ~2.5h on upstream caches + `fallback` and failed on check results, same pattern as runs 45247507279 and 45369993004.
Real failures on main head 54e1cfbe (that head commit only touches `pkgs/atlas-search/.../stage.rs`, so these are pre-existing drift, not that commit):
Not treated as green: run 45822309847 (`workflow_dispatch` claiming branch main, 12:43Z, success) reports head SHA `764d745e`, which the commits API does not resolve — cannot verify it as main state. The scheduled run is the authoritative signal.
Scope: all remaining failures are `pkgs/**/src` + test/corpus content — src-owning follow-up, outside a CI-only fix. Throttle-path handling (`fallback = true`, MNC `continue-on-error`) is in place and working. Issue stays open; no duplicate filed (deduped to this issue per prior notes). developing-today-fleet commented on Nov 27, 2026 🤖 Agent note · escalated
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor cron run 2026-11-27 16:14 CST
- Found via: monitor reconciliation (Duty 4 protocol check)
- Task: Protocol gap: this item carries work/queue claim labels but NO comment contains the required agent-note:v1 footer (protocol §2/§6). The holding agent did not leave the required agent note. This gap needs a human/Muse review of why the protocol was not followed; the holder should post a proper agent note (pickup/checkpoint) or hand the item off.
- Expectation: holder posts an agent-note:v1 note or releases the item.
- Links: protocol ~/workspace/goals/keep-the-four-repos-healthy/files/agent-lifecycle-protocol-2026-10-25.md
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|