Skip to content

ci(id): fall back to source build when Magic Nix Cache substituter throttles (#774) - #8946

Merged
dezren39 merged 1 commit into
mainfrom
queue/15147-774-cache-substituter-fallback
Nov 12, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/15147-774-cache-substituter-fallback

Conversation

@dezren39

@dezren39 dezren39 commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Fixes the 2026-11-12 recurrence of #774 (task 15147).

Problem

PR #5259 made the Magic Nix Cache action steps best-effort, but the cache is also fetched as a substituter inside nix build itself. On 2026-11-12 three id workflow runs on main (43237095140, 43246606741, 43251623060) failed across essentially all basic: nix flake check (*) jobs at Run basic check: the narinfo fetch from the local cache proxy (http://127.0.0.1:37515) answered HTTP 418 (GitHub API Twirp ResourceExhausted, rate limit exceeded) and the build hard-failed before any check ran.

Change

  • Set fallback = true in the nix-installer extra-conf of every id-workflow job that uses Magic Nix Cache: id-check.yml (check_each, no-world, full-flake-check), id-e2e-nightly.yml (check), id-bench.yml (bench). With fallback = true, a substituter that errors degrades to a direct/source build instead of failing the check; a healthy cache is still tried first, so the cache benefit is unchanged. The cache is not removed.
  • Record the recurrence and the setting in .github/ci-policy.md (Nix cache backend reliability, CI: Magic Nix Cache throttling (HTTP 418) fails nix flake check without running it #774). The mcpx workflows keep the step-level mitigation only for now; the policy note says to extend the same setting if the substituter path recurs there.

Verification

Queue: task 15147, lane any-c.

@dezren39
dezren39 requested a review from a team as a code owner November 12, 2026 16:48
@coderabbitai

coderabbitai Bot commented Nov 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 13 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 18e0fecc-0860-4073-b939-343d42db4c02
Commits

Reviewing files that changed from the base of the PR and between 0dc7e62 and ace876d.

Files selected for processing: 4

  • .github/ci-policy.md
  • .github/workflows/id-bench.yml
  • .github/workflows/id-check.yml
  • .github/workflows/id-e2e-nightly.yml
  • 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T16:50:30.361895Z ace876d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit 729ff21 into main Nov 12, 2026
18 of 26 checks passed
@dezren39
dezren39 deleted the queue/15147-774-cache-substituter-fallback branch November 12, 2026 17:01
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.

1 participant