From ba4e63300cfc49937d7bb6b4f328497c9bf7773b Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 13:03:53 +0000 Subject: [PATCH 1/3] ci: disable flakehub for magic-nix-cache to fix auth errors Sets `use-flakehub: false` across all uses of DeterminateSystems/magic-nix-cache-action to fix the "FlakeHub registration required" authentication error in the CI workflows. Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com> --- .github/workflows/id-bench.yml | 2 ++ .github/workflows/id-check.yml | 4 ++++ .github/workflows/id-e2e-nightly.yml | 2 ++ .github/workflows/mcpx-nixbuild.yml | 2 ++ 4 files changed, 10 insertions(+) diff --git a/.github/workflows/id-bench.yml b/.github/workflows/id-bench.yml index d5879f8044..521dd6bad5 100644 --- a/.github/workflows/id-bench.yml +++ b/.github/workflows/id-bench.yml @@ -54,6 +54,8 @@ jobs: # Same store cache as the PR gate, so the bench build starts warm # (#288). - uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15 + with: + use-flakehub: false # Full-size workloads, exactly as the baselines were taken # (BASELINES.md): --quick numbers are smoke sizes and are never diff --git a/.github/workflows/id-check.yml b/.github/workflows/id-check.yml index f9bdd2a720..21b0239cb6 100644 --- a/.github/workflows/id-check.yml +++ b/.github/workflows/id-check.yml @@ -143,6 +143,8 @@ 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 + with: + use-flakehub: false # Enable KVM for NixOS VM integration tests - name: Enable KVM @@ -192,6 +194,8 @@ jobs: extra-conf: | accept-flake-config = true - uses: DeterminateSystems/magic-nix-cache-action@84c0677f58dcedf3b91f8223ce36a9ea5b3c84b7 # v15 + with: + use-flakehub: false - name: Enable KVM run: | echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules diff --git a/.github/workflows/id-e2e-nightly.yml b/.github/workflows/id-e2e-nightly.yml index b11039d569..9712171a4d 100644 --- a/.github/workflows/id-e2e-nightly.yml +++ b/.github/workflows/id-e2e-nightly.yml @@ -41,6 +41,8 @@ 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 + with: + use-flakehub: false # Enable KVM for NixOS VM integration tests - name: Enable KVM diff --git a/.github/workflows/mcpx-nixbuild.yml b/.github/workflows/mcpx-nixbuild.yml index 68ab837ecf..54c392bd0e 100644 --- a/.github/workflows/mcpx-nixbuild.yml +++ b/.github/workflows/mcpx-nixbuild.yml @@ -60,6 +60,8 @@ 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 + with: + use-flakehub: false - name: Nix build run: nix build .#packages.x86_64-linux.mcpx --print-build-logs From fd2ab56ab96992cd34b00abd60f420b22dd1ef7a Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 16:25:26 +0000 Subject: [PATCH 2/3] style(id): fix formatting error in meta_client.rs causing CI failure Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com> --- pkgs/id/src/meta_client.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/id/src/meta_client.rs b/pkgs/id/src/meta_client.rs index 9faadc0aac..3cce77d766 100644 --- a/pkgs/id/src/meta_client.rs +++ b/pkgs/id/src/meta_client.rs @@ -53,9 +53,9 @@ pub fn expect_ok(resp: MetaResponse) -> Result { /// limit instead. Any other read failure passes through unchanged. pub fn capped_response_error(err: ReadToEndError) -> anyhow::Error { match err { - ReadToEndError::TooLong => anyhow::anyhow!( - "response too large: exceeds the {MAX_RESPONSE_BYTES}-byte limit" - ), + ReadToEndError::TooLong => { + anyhow::anyhow!("response too large: exceeds the {MAX_RESPONSE_BYTES}-byte limit") + } other => other.into(), } } From 5e08b2b0ab6864687e01619da8eee6d35779d170 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 31 Oct 2026 11:49:50 +0000 Subject: [PATCH 3/3] ci(id): add merge_group trigger to id-check.yml This matches the configuration in `nix-ci.yml` and is required for the merge queue to see its required check since it uses the `merge_group` event. Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com> --- .github/workflows/id-check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/id-check.yml b/.github/workflows/id-check.yml index 21b0239cb6..ab7d0b3930 100644 --- a/.github/workflows/id-check.yml +++ b/.github/workflows/id-check.yml @@ -50,6 +50,7 @@ on: - ".github/scripts/id-pr-checks.txt" - ".github/scripts/check-id-pr-checks.sh" - ".github/scripts/check-crash-gate-coverage.sh" + merge_group: pull_request: paths: - "pkgs/id/**"