From d5f8742a1d2d57b623bbf409521fe0e41510d47f Mon Sep 17 00:00:00 2001 From: hasna-drain Date: Wed, 29 Jul 2026 13:41:33 +0000 Subject: [PATCH 1/3] chore: begin drain OPE63-00010 From 16ea09c89852d9f5d137b710a69dd537cc221295 Mon Sep 17 00:00:00 2001 From: hasna-drain Date: Wed, 29 Jul 2026 13:42:28 +0000 Subject: [PATCH 2/3] ci: run tests and typecheck on pull requests --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..162e9ce --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v2 + - run: bun install --frozen-lockfile + - run: bun run typecheck + - run: bun test From 195dcb302cada45603aa7d518c8bc884a5ae61f5 Mon Sep 17 00:00:00 2001 From: hasna-drain Date: Wed, 29 Jul 2026 13:46:46 +0000 Subject: [PATCH 3/3] test: make tmux pwd assertions checkout agnostic --- src/confirm-regression.integration.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/confirm-regression.integration.test.ts b/src/confirm-regression.integration.test.ts index d862d9b..19b4f7c 100644 --- a/src/confirm-regression.integration.test.ts +++ b/src/confirm-regression.integration.test.ts @@ -60,7 +60,7 @@ d("confirmation regressions (real tmux)", () => { // The command actually executed in the pane. await Bun.sleep(300); const pane = spawnSync("tmux", ["capture-pane", "-t", SESSION, "-p"], { encoding: "utf8" }).stdout; - expect(pane).toContain("open-dispatch"); + expect(pane).toContain(process.cwd()); }, 20000); test("busy agent that queues the message is reported delivered + queued (not failed)", async () => { @@ -140,6 +140,6 @@ d("confirmation regressions (real tmux)", () => { // Mode exited and the command executed. expect(spawnSync("tmux", ["display-message", "-p", "-t", SESSION, "#{pane_in_mode}"], { encoding: "utf8" }).stdout.trim()).toBe("0"); const pane = spawnSync("tmux", ["capture-pane", "-t", SESSION, "-p"], { encoding: "utf8" }).stdout; - expect(pane).toContain("open-dispatch"); + expect(pane).toContain(process.cwd()); }, 20000); });