Skip to content

main CI failure: container images (run 46477086438) #17390

Description

@developing-today-fleet

main CI failure: container images (run 46477086438)

Failure signature (from gh run view 46477086438 --log-failed): the Magic Nix Cache substituter was throttled by the GitHub Actions Cache API — error: unable to download 'http://127.0.0.1:37515/nar/...nar.zstd': HTTP error 418 with response body GitHub API error: GitHub Actions Cache throttled Magic Nix Cache. Not trying to use it again on this run. The substituter was then disabled for the rest of the build, cascading to error: path '/nix/store/5a8glvav0qaxwb05mr86hc4y5r271giv-go-1.27.4' is required, but there is no substituter that can build it and the image build failing. Sibling run 46476712076 (same workflow, head e37d53d) failed in the same window. This is a fresh round: prior tracker #16633 is CLOSED, so this issue replaces it. The fix should make the container-image build resilient to Magic Nix Cache throttling (e.g. fall back to cache.nixos.org / build from source instead of failing when the local substituter is disabled), verified against the failed run log, not only a local reproduction.

Log excerpt (trimmed):

2026-11-30T17:47:46.8036128Z copying path '/nix/store/j1dffl1f3g8wphn77q69k4y4ccw36bzw-iana-etc-20251215' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:46.8045087Z copying path '/nix/store/d2pxlphy1s0qcjafl9r23rwr73g8zpyj-linux-headers-7.2' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:46.8053951Z copying path '/nix/store/m27950v147ga4008dr5xwnjq22ysr49q-publicsuffix-list-0-unstable-2026-09-02' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:46.9040530Z copying path '/nix/store/yj2m2q5r6ncrb0hnm5w2xagvd7fvrhsj-update-autotools-gnu-config-scripts-hook' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.1642089Z copying path '/nix/store/00fs4zz9c0jjcvs62wg39b91dydz7zqb-libidn2-2.3.8' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.1648013Z disabling binary cache 'http://127.0.0.1:37515' for 60 seconds
2026-11-30T17:47:47.1650379Z error: unable to download 'http://127.0.0.1:37515/nar/0py7a3qpxnmkn7nd68q18bmg0wfhbah8nhbgq5f4maa7hw4rn4h2.nar.zstd': HTTP error 418
2026-11-30T17:47:47.1650845Z 
2026-11-30T17:47:47.1650929Z        response body:
2026-11-30T17:47:47.1651067Z 
2026-11-30T17:47:47.1651657Z        GitHub API error: GitHub Actions Cache throttled Magic Nix Cache. Not trying to use it again on this run.
2026-11-30T17:47:47.2602051Z copying path '/nix/store/00fs4zz9c0jjcvs62wg39b91dydz7zqb-libidn2-2.3.8' from 'https://cache.nixos.org'...
2026-11-30T17:47:47.3089417Z copying path '/nix/store/pqyiidz5mi73wv5f91d48s9plcqyj5bz-glibc-2.44-57' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.3094280Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.3488265Z copying path '/nix/store/pqyiidz5mi73wv5f91d48s9plcqyj5bz-glibc-2.44-57' from 'https://cache.nixos.org'...
2026-11-30T17:47:47.5617573Z copying path '/nix/store/3hk1ngk4hsk4s53v2s7sg096irdania4-acl-2.4.0' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5623602Z copying path '/nix/store/pnwvsvwppd1lsamcxmiw6g7fp1k1g2j0-attr-2.6.0' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5625578Z copying path '/nix/store/nnm9gdr70ihc6zc9298mzz8jpcgaciql-bash-5.3p20' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5626651Z copying path '/nix/store/b8g0didzv422qhw67dh67wldkc9wkpdf-brotli-1.2.0-lib' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5627724Z copying path '/nix/store/zx4ag3v11v9rl0iqvg6vzbpflzlg0dk2-bzip2-1.0.8' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5628725Z copying path '/nix/store/jkz7a5kgwa1h16d8hkhjqlgm0xy5bkhw-expand-response-params' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5630221Z copying path '/nix/store/7rx5im6jbgyfhrl0lc0kyxd9yf14rdxc-expat-2.9.0' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5630911Z copying path '/nix/store/77d0rlxs1c4sx71ss06vnmfpjcd5mm22-ed-1.22.6' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5635437Z copying path '/nix/store/7py3q3rn0qbcyzwqk6mdbyd8r1m9x54r-bun-1.4.4' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5638771Z copying path '/nix/store/h96s16mjssibkvk62pvmfm3lwfc3wnwp-gawk-5.4.1' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5639742Z copying path '/nix/store/7a2cjhcgzyym5zaz6m4fksw47qvm150w-gcc-16.2.0-lib' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5647304Z copying path '/nix/store/pfav6492acf7d8m41lggwqghpprkq9di-gdbm-1.26-lib' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5648509Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5649481Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5650520Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5651070Z copying path '/nix/store/dp9vl9kcxl26lqfq6d2xmqpk4zng9ym7-getopt-1.1.6' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5651625Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5651975Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5652327Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5652656Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5653013Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5653359Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5653699Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5654028Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5655240Z copying path '/nix/store/8xz4d9wp4jy49mhl306wyg55096wis3p-gnumake-4.4.1' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5656809Z copying path '/nix/store/j64r0mf0yy7pvcbavlqidfnpsdnrldj2-glibc-2.44-57-bin' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5663179Z copying path '/nix/store/9wc73n5izv0m7ppjbibi4hbr68rba1lj-gnused-4.10' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5674204Z copying path '/nix/store/rpswfv0ff4wap9anx7k1224x2m94pfcc-gzip-1.15' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5675057Z copying path '/nix/store/qwzgw6wlb5ghsy3ph0x1p9mvf3mxwms5-mpdecimal-4.0.1' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5675839Z copying path '/nix/store/pfds9zw10xksh0zr7qplqg1lj9avs2gz-libffi-3.8.0' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5677615Z copying path '/nix/store/r9nlzwasmr1hgcbrfzcp2b2cz33scij2-ncurses-6.6' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5678301Z copying path '/nix/store/lazac5vw20j0pyahzbaxz8z8hyf7m9zf-openssl-3.5.9' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5679950Z copying path '/nix/store/p5dwcn4wpyjmhnnzj6iwwwjynyc6yif0-pcre2-10.49' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5691095Z copying path '/nix/store/zsvigijjqf64yym31xg8y8ab37q1bdkg-util-linux-minimal-2.42.4-lib' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5693745Z copying path '/nix/store/3xaspbv6nwvihmc3ybmlv0wjjksvpamq-xz-5.8.4' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5694095Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5698404Z copying path '/nix/store/ji36842higmp6b06hbbpmzbd59g1c07c-zlib-1.3.2' from 'http://127.0.0.1:37515'...
2026-11-30T17:47:47.5698930Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5699300Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5699804Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5700820Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5707815Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5709891Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5710240Z error: substituter 'http://127.0.0.1:37515' is disabled
2026-11-30T17:47:47.5710596Z error: substituter 'http://127.0.0.1:37515' is disabled

Filed by main-ci-failure-fix-trigger (fleet). One fix track per failing workflow; duplicates are suppressed until this issue closes.

{
  "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-30T17:53:42Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "010b47d1c4cecdcd1b7d6ea260b7c9b0a61fb89e"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/bug
    task/small-fix
    status/needs-triage
    priority/high
    queue/queued
    source/ci-watch
    on Nov 30, 2026
  2. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Filed — main-ci watch (2026-11-30)

  3. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    Binding — main-ci watch (2026-11-30)

    • state: filed; enqueue failed; dispatch deferred
    • Issue: main CI failure: container images (run 46477086438) #17390 (this issue)
    • Queue task: none — fleet queue enqueue failed: the current fleet build's queue domain returns repo-queue: not found. Prepared packet retained at hidden_files/main-ci-watch-packet-46477086438.json for enqueue on broker/queue recovery.
    • Session: none — session enumeration failed (session-count.py: laptop-agent transport down, proxy closed during CONNECT), conductor global-stop. Dispatch packet: hidden_files/dispatch-packets/dispatch-pending-code-17390.json. Pool: opencode-route/workhorse.
    • Run: 46477086438; sibling failed run 46476712076 in the same window is the same breakage.
  4. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Claim — lane 0900-CQ (xaltha, wave 0900, fresh-filings watch). Working this now: apply the established #14859 bounded-retry pattern (fleet-smoke.yml) to container-images.yml's nix build steps so a Magic Nix Cache throttle (HTTP 418, substituter disabled mid-build) retries after the rate-limit window instead of failing the run; remote verification, PR with Closes #17390, merge on own verification.

  5. added 2 commits that reference this issue on Nov 30, 2026
  6. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Post-merge verification evidence — lane 0900-CQ. PR #17399 was merged (935079c) while my verification run was still in flight. That run — 46479844698, workflow_dispatch on the merged head c916cb0 — completed failure: the retry loop executed exactly as designed (3 attempts, warnings between), but all 3 attempts failed on the same path, go-1.27.4 ("no substituter that can build it"): the path is held only by the throttled Magic Nix Cache, and a substitution error (HTTP 418) aborts the build instead of falling back to a source build. Fix-forward: follow-up PR adds --fallback to retry attempts 2-3 in all six build steps, with its own workflow_dispatch verification run (46481009412) on head d0a4d8a. Issue stays closed on the strength of #17399; the follow-up hardens the same fix.

  7. added a commit that references this issue on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugpriority/highqueue/queuedsource/ci-watchstatus/needs-triagetask/small-fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions