Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/ci-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,9 @@ pair `queue: max` with a cancel-in-progress expression that
can evaluate true for `issues`/`pull_request_target` events
(a GitHub validation error, openchamber#84) — the sweeper
stays schedule-only for this reason.

## Nix cache backend reliability (#774)

Magic Nix Cache is a performance optimization, not a CI verdict. The eight `DeterminateSystems/magic-nix-cache-action` steps in `id-check.yml`, `id-bench.yml`, `id-e2e-nightly.yml`, `mcpx-docs.yml`, `mcpx-nixbuild.yml`, and `mcpx-realsoftware-nightly.yml` are best-effort (`continue-on-error: true`): a cache service throttle (including HTTP 418) or 5xx must fall through to a cold build, while the subsequent build/check remains authoritative.

The required `nix flake check` in `nix-ci.yml` intentionally has no shared cache. The October 2026 #774 incidents on PRs #771 and #747 showed that cache-backend failures can masquerade as code failures. This change keeps the current Magic Nix Cache / GitHub Actions cache choice and does not migrate to Cachix or another backend; evaluate that separately.
1 change: 1 addition & 0 deletions .github/workflows/id-bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
# Same store cache as the PR gate, so the bench build starts warm
# (#288).
- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
continue-on-error: true
with:
# FlakeHub Cache off (#2120): no id-token is granted and the
# developing-today org is not registered, so the action's
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/id-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ jobs:
# Cache the nix store on GitHub's cache so PRs do not rebuild
# unchanged derivations from a cold store every run (#288).
- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
continue-on-error: true
with:
# FlakeHub Cache off (#2120): no id-token is granted and the
# developing-today org is not registered, so the action's
Expand Down Expand Up @@ -242,6 +243,7 @@ jobs:
extra-conf: |
accept-flake-config = true
- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
continue-on-error: true
with:
# FlakeHub Cache off (#2120): no id-token is granted and the
# developing-today org is not registered, so the action's
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/id-e2e-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
# Same store cache as the PR gate, so the nightly run starts warm
# and unchanged derivations are not rebuilt from cold (#288).
- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
continue-on-error: true
with:
# FlakeHub Cache off (#2120): no id-token is granted and the
# developing-today org is not registered, so the action's
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mcpx-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa # v23

- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
continue-on-error: true
with:
# Same cache posture as mcpx-nixbuild.yml (#2120): no
# FlakeHub, the GitHub Actions cache is the cache.
Expand Down Expand Up @@ -94,6 +95,7 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa # v23

- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
continue-on-error: true
with:
use-flakehub: false
use-gha-cache: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mcpx-nixbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
# Warm store: dependency-bump PRs are rare, but when they come the
# build should not start from cold (#288).
- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
continue-on-error: true
with:
# FlakeHub Cache off (#2120): no id-token is granted and the
# developing-today org is not registered, so the action's
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mcpx-realsoftware-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa # v23

- uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15
continue-on-error: true
with:
# FlakeHub Cache off (#2120), same as the other nightly legs.
use-flakehub: false
Expand Down