From 60f357bc037b004e8050bccb33b70c210cb948a2 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 18:29:20 +0000 Subject: [PATCH 1/2] ci: disable flakehub in magic-nix-cache to fix rate limits 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 10b4d062f..6a94e3d0c 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 dc6b86fd5..ac4470ca5 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 b11039d56..9712171a4 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 da6dccb79..1fccc9b21 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 806b3abc1d6a9ad230342f8418610c1779275bd3 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 20:10:00 +0000 Subject: [PATCH 2/2] ci: disable flakehub in magic-nix-cache to fix rate limits And fix cargo fmt in meta_client.rs which failed check suite. 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 9faadc0aa..3cce77d76 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(), } }