Skip to content

fix(ci): source-build fallback on container-images retries (#17390 follow-up) - #17406

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/17390-container-images-retry
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/17390-container-images-retry

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

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 six nix build steps (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

  • YAML parses; all six wrapped run: blocks pass bash -n.
  • Stub-nix functional test: attempt 1 invoked plain, attempts 2–3 invoked with --fallback, success on attempt 3 exits 0.
  • End-to-end: workflow_dispatch run 46481009412 on this head (d0a4d8a); conclusion recorded here before merge.

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-bot with what you need.

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.
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dd82868a-5b14-4d92-9a7d-432a9a246761

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

🤖 Verification conclusion — lane 0900-CQ. Run 46481009412 (workflow_dispatch on this head d0a4d8a) completed failure, but the failure is not in this change: with --fallback, attempts progressed past the go-1.27.4 substitution failure that killed every attempt in run 46479844698 (the source-build fallback engaged and built the toolchain), and then failed deterministically on an unrelated stale fixed-output hash — charm-sqlite-0.1.0-go-modules (specified sha256-WIrDNwE0…, got sha256-zjuKq2…, pkgs/identity/package.nix:5). That defect is now tracked by the fresh container-images round #17409 (claimed by lane 0900-CR) and the full evidence is handed over there. Stub-nix tests confirm the retry/fallback argument logic. Merging on own verification: the diff is exactly the six retry loops gaining --fallback on attempts 2–3, and it demonstrably does what it claims; the remaining red belongs to #17409's defect, not this change.

@developing-today-fleet
developing-today-fleet Bot merged commit 41e71ae into main Nov 30, 2026
3 of 4 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/17390-container-images-retry branch November 30, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

main CI failure: container images (run 46477086438)

1 participant