From 1f3bf566409c373f26d12b136bfaa6f38ed6efac Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 29 Jan 2026 19:18:41 -0500 Subject: [PATCH 01/15] ci: upgrade bun cache to stickydisk for faster ci builds --- .github/actions/setup-bun/action.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/actions/setup-bun/action.yml b/.github/actions/setup-bun/action.yml index cba04facce..02f215ff1d 100644 --- a/.github/actions/setup-bun/action.yml +++ b/.github/actions/setup-bun/action.yml @@ -8,14 +8,11 @@ runs: with: bun-version-file: package.json - - name: Cache ~/.bun - id: cache-bun - uses: actions/cache@v4 + - name: Mount Bun Cache + uses: useblacksmith/stickydisk@v1 with: + key: ${{ github.repository }}-bun-cache path: ~/.bun - key: ${{ runner.os }}-bun-${{ hashFiles('package.json') }}-${{ hashFiles('bun.lockb', 'bun.lock') }} - restore-keys: | - ${{ runner.os }}-bun-${{ hashFiles('package.json') }}- - name: Install dependencies run: bun install From 7ed6f690e916223566dfd481b741b610b29572dc Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 29 Jan 2026 19:34:12 -0500 Subject: [PATCH 02/15] ci --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 25879c3769..9060eeb329 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -188,7 +188,7 @@ jobs: needs: - version - build-cli - # - build-tauri + - build-tauri runs-on: blacksmith-4vcpu-ubuntu-2404 steps: - uses: actions/checkout@v3 From 81326377f21c92f276ae35f89e8c978da066b7b1 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 29 Jan 2026 19:35:05 -0500 Subject: [PATCH 03/15] ci: trigger publish workflow automatically after beta builds complete --- .github/workflows/beta.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index d92133ea6a..6e27c6eb9d 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -32,3 +32,8 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: bun script/beta.ts + + - name: Trigger publish workflow + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh workflow run publish.yml --ref beta From 03803621dbb20d15553635eb810d466dc1255fdc Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 29 Jan 2026 19:35:52 -0500 Subject: [PATCH 04/15] ci --- .github/actions/setup-bun/action.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup-bun/action.yml b/.github/actions/setup-bun/action.yml index 02f215ff1d..7584334a7b 100644 --- a/.github/actions/setup-bun/action.yml +++ b/.github/actions/setup-bun/action.yml @@ -3,17 +3,17 @@ description: "Setup Bun with caching and install dependencies" runs: using: "composite" steps: - - name: Setup Bun - uses: oven-sh/setup-bun@v2 - with: - bun-version-file: package.json - - name: Mount Bun Cache uses: useblacksmith/stickydisk@v1 with: key: ${{ github.repository }}-bun-cache path: ~/.bun + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + with: + bun-version-file: package.json + - name: Install dependencies run: bun install shell: bash From b43a35b737087e3464308b02232b1459f0f8df60 Mon Sep 17 00:00:00 2001 From: Filip <34747899+neriousy@users.noreply.github.com> Date: Fri, 30 Jan 2026 02:05:31 +0100 Subject: [PATCH 05/15] test(app): test for toggling model variant (#11221) --- packages/app/e2e/thinking-level.spec.ts | 25 ++++++++++++++++++++ packages/app/e2e/utils.ts | 1 + packages/app/src/components/prompt-input.tsx | 1 + 3 files changed, 27 insertions(+) create mode 100644 packages/app/e2e/thinking-level.spec.ts diff --git a/packages/app/e2e/thinking-level.spec.ts b/packages/app/e2e/thinking-level.spec.ts new file mode 100644 index 0000000000..564ef3c1f3 --- /dev/null +++ b/packages/app/e2e/thinking-level.spec.ts @@ -0,0 +1,25 @@ +import { test, expect } from "./fixtures" +import { modelVariantCycleSelector } from "./utils" + +test("smoke model variant cycle updates label", async ({ page, gotoSession }) => { + await gotoSession() + + await page.addStyleTag({ + content: `${modelVariantCycleSelector} { display: inline-block !important; }`, + }) + + const button = page.locator(modelVariantCycleSelector) + const exists = (await button.count()) > 0 + test.skip(!exists, "current model has no variants") + if (!exists) return + + await expect(button).toBeVisible() + + const before = (await button.innerText()).trim() + await button.click() + await expect(button).not.toHaveText(before) + + const after = (await button.innerText()).trim() + await button.click() + await expect(button).not.toHaveText(after) +}) diff --git a/packages/app/e2e/utils.ts b/packages/app/e2e/utils.ts index eb0395950a..3de488bd9c 100644 --- a/packages/app/e2e/utils.ts +++ b/packages/app/e2e/utils.ts @@ -12,6 +12,7 @@ export const terminalToggleKey = "Control+Backquote" export const promptSelector = '[data-component="prompt-input"]' export const terminalSelector = '[data-component="terminal"]' +export const modelVariantCycleSelector = '[data-action="model-variant-cycle"]' export function createSdk(directory?: string) { return createOpencodeClient({ baseUrl: serverUrl, directory, throwOnError: true }) diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 4d227f44b6..5c1d417eb0 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1953,6 +1953,7 @@ export const PromptInput: Component = (props) => { keybind={command.keybind("model.variant.cycle")} >