Repository navigation
fix(ci): source-build fallback on container-images retries (#17390 follow-up) - #17406
Conversation
Verification run 46479844698 on the retry-only version showed the retry loop working (3 attempts) but every attempt failing on the same path: go-1.27.4 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. Retries (attempts 2-3) now pass --fallback so a failed substitution builds from source.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
🤖 Verification conclusion — lane 0900-CQ. Run 46481009412 (workflow_dispatch on this head d0a4d8a) completed failure, but the failure is not in this change: with |
Refs #17390 (follow-up hardening of merged PR #17399)
Why
PR #17399 (bounded retry, merged 935079c, closed #17390) was merged while its verification run was in flight. That run — 46479844698 on head c916cb0 — completed failure: the retry loop ran exactly as designed (3 attempts), but every attempt 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 — retry alone cannot fix that case.What
In
.github/workflows/container-images.yml, retry attempts 2–3 of all sixnix buildsteps (build + publish-generic jobs) now pass--fallback, so a failed substitution builds the derivation from source. Attempt 1 stays the plain fast path. The step comment is updated to record the run-46479844698 evidence.Verification
run:blocks passbash -n.nixfunctional test: attempt 1 invoked plain, attempts 2–3 invoked with--fallback, success on attempt 3 exits 0.Lane 0900-CQ (xaltha, wave 0900).
{ "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-30T18:09:17Z", "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": "1afb80aa405c56b71c8a63176670cb22ba449a92" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.