From edbfd992c84bed8569c8f03d007b7744f6076d04 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Fri, 6 Nov 2026 02:40:09 -0500 Subject: [PATCH 1/2] test(desktop): wait for Machine palette commands before asserting on them The page registers its palette commands in an effect that can land after the grid's first paint; on slow CI runners the synchronous lookup failed and blocked the v0.13.0 release gate. Co-Authored-By: Claude Opus 5.5 --- .../src/pages/machine/__tests__/MachinePage.test.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx b/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx index 4b42bc37..abb889db 100644 --- a/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx +++ b/apps/desktop/src/pages/machine/__tests__/MachinePage.test.tsx @@ -1535,9 +1535,12 @@ describe("MachinePage commands in the palette (AC-21)", () => { it("switches views and filters through the page's own handlers", async () => { renderWithPalette(); await screen.findByTestId("machine-grid"); - // Already on the grid, and no filter is on. - expect(paletteOption("Show resources")).toHaveAttribute("aria-disabled", "true"); - expect(paletteOption("Filter: show all")).toHaveAttribute("aria-disabled", "true"); + // Already on the grid, and no filter is on. The page registers its palette + // commands in an effect, which can land after the grid's first paint. + await waitFor(() => { + expect(paletteOption("Show resources")).toHaveAttribute("aria-disabled", "true"); + expect(paletteOption("Filter: show all")).toHaveAttribute("aria-disabled", "true"); + }); fireEvent.click(paletteOption("Filter: gaps")); await waitFor(() => expect(screen.getByTestId("location-search")).toHaveTextContent("filter=gaps")); From 8893ec607f51f5c3dd88293387bea81f9bcc10d4 Mon Sep 17 00:00:00 2001 From: John Siracusa Date: Fri, 6 Nov 2026 02:49:47 -0500 Subject: [PATCH 2/2] ci: move release and nightly macOS jobs to macos-15 GitHub retired the macos-14 image; the v0.13.0 release's desktop and CLI builds were refused with 'The configuration macos-14-arm64-us-default is not supported'. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/nightly.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3e5b51ae..deae9b50 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -14,7 +14,7 @@ permissions: jobs: build-cli-standalone: - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v7 @@ -79,7 +79,7 @@ jobs: retention-days: 1 build-desktop: - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d305fc9f..14b7e3e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -129,7 +129,7 @@ jobs: build-cli-standalone: needs: [prepare, gate] - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v7 @@ -214,7 +214,7 @@ jobs: build-desktop: needs: [prepare, gate] - runs-on: macos-14 + runs-on: macos-15 steps: - uses: actions/checkout@v7