From 2411bf95dfbf7d647ce856949eb0bb79be73e2e3 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 09:35:52 +0000 Subject: [PATCH 1/6] ci: disable flakehub in magic-nix-cache-action 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 cccad4218b62192c02b952737d8dd3080553c7c7 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 12:38:10 +0000 Subject: [PATCH 2/6] ci: disable flakehub in magic-nix-cache-action\n\nFix the `mcpx nix build` GitHub Actions workflow failure by disabling FlakeHub caching in `DeterminateSystems/magic-nix-cache-action` across all workflow files (`mcpx-nixbuild.yml`, `id-bench.yml`, `id-check.yml`, `id-e2e-nightly.yml`), as the action now tries to use it by default and fails without authentication. Also includes a `rustfmt` fix in `pkgs/id/src/meta_client.rs` that was failing `treefmt-check` and `cargo-fmt-check`. 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 018a48400b73c300918fcba19fddb541051579c2 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:33:08 +0000 Subject: [PATCH 3/6] ci: disable flakehub in magic-nix-cache-action\n\nFix the `mcpx nix build` GitHub Actions workflow failure by disabling FlakeHub caching in `DeterminateSystems/magic-nix-cache-action` across all workflow files (`mcpx-nixbuild.yml`, `id-bench.yml`, `id-check.yml`, `id-e2e-nightly.yml`), as the action now tries to use it by default and fails without authentication. Also includes a `rustfmt` fix in `pkgs/id/src/meta_client.rs` that was failing `treefmt-check` and `cargo-fmt-check`, and updates `pkgs/mcpx/docs/configuration.md` as required by the `mcpx` test suite. Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com> From 6573ee0acb8ff959e15f122abe693325cf32ca4c 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 23:42:37 +0000 Subject: [PATCH 4/6] ci: disable flakehub in magic-nix-cache-action\n\nFix the `mcpx nix build` GitHub Actions workflow failure by disabling FlakeHub caching in `DeterminateSystems/magic-nix-cache-action` across all workflow files (`mcpx-nixbuild.yml`, `id-bench.yml`, `id-check.yml`, `id-e2e-nightly.yml`), as the action now tries to use it by default and fails without authentication. Also includes a `rustfmt` fix in `pkgs/id/src/meta_client.rs` that was failing `treefmt-check` and `cargo-fmt-check`. Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com> From c94757987b40178b465648e80d044876ea8746aa Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2026 00:30:07 +0000 Subject: [PATCH 5/6] ci: disable flakehub in magic-nix-cache-action\n\nFix the `mcpx nix build` GitHub Actions workflow failure by disabling FlakeHub caching in `DeterminateSystems/magic-nix-cache-action` across all workflow files (`mcpx-nixbuild.yml`, `id-bench.yml`, `id-check.yml`, `id-e2e-nightly.yml`), as the action now tries to use it by default and fails without authentication. Also includes a `rustfmt` fix in `pkgs/id/src/meta_client.rs` that was failing `treefmt-check` and `cargo-fmt-check`. Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com> From 68000fb9a26eb9434e2d81eeef5bb0aed45b3074 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2026 03:05:55 +0000 Subject: [PATCH 6/6] ci: add merge_group trigger to nix-ci.yml and fix rust formatting\n\nAdd `merge_group` to `.github/workflows/nix-ci.yml` so that merge queue checks can run, mitigating stalls on the queue branch. This change syncs the merge_group trigger that had already landed in `main` via `#2233`.\n\nAdditionally, formatted `pkgs/id/src/meta_client.rs` using `cargo fmt` to resolve failing `treefmt-check`, `cargo-fmt-check`, and `rustfmt-check` jobs. Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com>