Title: CI: Magic Nix Cache throttling (HTTP 418) fails nix flake check without running it · Issue #774 · developing-today/code · GitHub
Open Graph Title: CI: Magic Nix Cache throttling (HTTP 418) fails nix flake check without running it · Issue #774 · developing-today/code
X Title: CI: Magic Nix Cache throttling (HTTP 418) fails nix flake check without running it · Issue #774 · developing-today/code
Description: Problem The nix flake check CI job intermittently fails for infrastructure reasons that have nothing to do with the change under test: the Magic Nix Cache backend throttles the runner (HTTP 418 rate-limit), the job dies before or during ...
Open Graph Description: Problem The nix flake check CI job intermittently fails for infrastructure reasons that have nothing to do with the change under test: the Magic Nix Cache backend throttles the runner (HTTP 418 rat...
X Description: Problem The nix flake check CI job intermittently fails for infrastructure reasons that have nothing to do with the change under test: the Magic Nix Cache backend throttles the runner (HTTP 418 rat...
Opengraph URL: https://github.com/developing-today/code/issues/774
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CI: Magic Nix Cache throttling (HTTP 418) fails nix flake check without running it","articleBody":"## Problem\n\nThe `nix flake check` CI job intermittently fails for infrastructure reasons that have nothing to do with the change under test: the Magic Nix Cache backend throttles the runner (HTTP 418 rate-limit), the job dies before or during cache access, and NO check actually runs — but the PR shows a failed check. Sweeps then cannot certify a merge from CI, and a re-run (which passes) costs a full queue cycle.\n\n## Evidence\n\n- 2026-10-24, PR #771 (fix for #770), flake check attempt 1: failed with Magic Nix Cache throttle / rate-limit 418; no check executed. Remaining checks (treefmt, eval, run, CodeRabbit) passed; the PR was left open pending a re-run purely because of this.\n- 2026-10-24, PR #747: post-merge flake check on the final head likewise unconfirmed due to the same infra throttling pattern.\n- Pattern in both cases: the failure is in cache access, not in any derivation the PR touches; a later re-run of the identical head passes.\n\n## Why it matters\n\n- The four-repo sweeps merge on green checks (Drew's standing directive: merge good PRs, fix later if needed). A cache-service hiccup masquerading as a red check either blocks good merges or trains everyone to ignore red checks — both bad.\n- It burns the scarcest resource in this system, verified-merge windows, on re-runs of identical heads.\n\n## Asks\n\n1. Make cache-layer failures non-fatal to the check verdict: if the cache backend is unreachable or throttling (418/5xx on cache access), the job should fall back to building without the cache (or retry with backoff) and its pass/fail should reflect the code, not the cache service. E.g. `continue-on-error` on the cache step, or the DeterminateSystems action's failure-mode settings if it offers one.\n2. Evaluate moving the flake check's cache to a backend this project controls — Cachix is already wired into the fleet's local nix config (omnibin substituter) — or GitHub's own actions cache, so CI health does not depend on a free-tier third-party cache's rate limits.\n3. Secondary, observed during sweep work on this repo: `gh pr checks` has been seen exiting 0 while a check job in the same PR had failed. Worth a look while in here — a checks summary that can say green over a red job compounds the trust problem above.\n\n## Acceptance criteria\n\n- A PR whose only flake-check failure is a cache-backend 418/5xx either passes on the cache-less fallback or is reported distinctly as infra-failed (not code-failed), without a manual re-run.\n- The cache backend choice for the flake check is recorded in the workflow (or an ADR/comment) with the throttling history as the reason.\n\nRelated: #375 (DeterminateSystems actions floated on @main in 6 workflows — same action family), #257 (CI disk space, different failure mode).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-24T16:49:24Z","url":"https://github.com/developing-today/code/issues/774"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f75036a0-3a75-3461-4f12-8b9f3029d487 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B45A:395006:4279E4:580242:6B061E66 |
| html-safe-nonce | 3e21a8b8cc6afdf42ced911175f6d911840656ea9b551d444c3e41d478becfa4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDVBOjM5NTAwNjo0Mjc5RTQ6NTgwMjQyOjZCMDYxRTY2IiwidmlzaXRvcl9pZCI6IjI3NjIyMzQ1MjI1NDEyMTk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e35f0f833ec20fc7a1da90ca8e58dea4eca1fc8bd070d68eabf6f1e2c602dde5 |
| hovercard-subject-tag | issue:6015277477 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/774/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2aee658e94a7fda7be3b0c3dbce92f66b59d6012bbaa3a217a2ab7970c0ba527/developing-today/code/issues/774 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2aee658e94a7fda7be3b0c3dbce92f66b59d6012bbaa3a217a2ab7970c0ba527/developing-today/code/issues/774 |
| og:image:alt | Problem The nix flake check CI job intermittently fails for infrastructure reasons that have nothing to do with the change under test: the Magic Nix Cache backend throttles the runner (HTTP 418 rat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a7c5824b75ea2ec5e3de73a483229c7bb9f32a774ffd401f010dd9bacf1483d |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b25c3080e84402f75431d8dc7a96b2635219cec7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width