From 3899fc6da7c7984a9f999a40b521d005df204ec9 Mon Sep 17 00:00:00 2001 From: RealZST Date: Sun, 28 Jun 2026 21:10:04 +0300 Subject: [PATCH 1/2] ci: pin macOS/Windows runners and move CodeQL off macOS macos-latest migrated to macos-26 (Tahoe) in June 2026; the new SDK made the desktop build adopt Tahoe's window chrome (misplaced traffic lights + white frame). Pin the desktop and PR-check runners to macos-15 and the Windows CLI build to windows-2025 so the toolchain can't drift silently between releases. CodeQL only analyzes JS/TS, so move it to ubuntu (faster, cheaper, no macOS). --- .github/workflows/codeql.yml | 4 +++- .github/workflows/pr-checks.yml | 4 +++- .github/workflows/release.yml | 10 ++++++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f3ffa355..003c85eb 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -8,7 +8,9 @@ on: jobs: analyze: - runs-on: macos-latest + # Only javascript-typescript is analyzed here, which needs no macOS toolchain. + # ubuntu is faster/cheaper and sidesteps the macos-latest -> macos-26 migration. + runs-on: ubuntu-latest permissions: security-events: write diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 0fc51783..459f6214 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -6,7 +6,9 @@ on: jobs: test: - runs-on: macos-latest + # Pinned to macos-15 to match the release build env (release.yml) and avoid + # the macos-latest -> macos-26 toolchain jump breaking PR builds mid-rollout. + runs-on: macos-15 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c506b52..a2996398 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -81,7 +81,10 @@ jobs: arch: arm64 - target: x86_64-apple-darwin arch: x64 - runs-on: macos-latest + # Pinned to macos-15: macos-latest migrated to macos-26 (Tahoe) in June 2026, + # whose SDK makes desktop builds adopt Tahoe's new window chrome (misplaced + # traffic lights + white frame). Pin keeps a reproducible, pre-26 SDK build. + runs-on: macos-15 permissions: contents: write @@ -241,7 +244,10 @@ jobs: release-cli-windows: needs: create-release - runs-on: windows-latest + # Pinned to windows-2025 so a future windows-latest OS-major migration can't + # silently change the build env (same control-your-upgrade-timing rationale + # as the macos-15 pin). Keeps the current, working Server 2025 + VS2026 image. + runs-on: windows-2025 permissions: contents: write steps: From 095ff47d7529d4a080ff894fa18edde955381ef1 Mon Sep 17 00:00:00 2001 From: RealZST Date: Sun, 28 Jun 2026 21:10:04 +0300 Subject: [PATCH 2/2] fix(desktop): rebalance macOS traffic light position Move trafficLightPosition from {16,12} to {16,18} so the top and left insets read as balanced under the macos-15 (legacy) window chrome. --- crates/hk-desktop/tauri.conf.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hk-desktop/tauri.conf.json b/crates/hk-desktop/tauri.conf.json index 27e9f377..f6473796 100644 --- a/crates/hk-desktop/tauri.conf.json +++ b/crates/hk-desktop/tauri.conf.json @@ -15,7 +15,7 @@ "title": "HarnessKit", "hiddenTitle": true, "titleBarStyle": "Overlay", - "trafficLightPosition": { "x": 16, "y": 12 }, + "trafficLightPosition": { "x": 16, "y": 18 }, "decorations": true, "width": 1280, "height": 800,