Skip to content

fix(test): import the renamed chat pane key in worker-background-waits - #51691

Merged
nwparker merged 1 commit into
mainfrom
orca-remote-automation/fix-worker-background-waits-import
Nov 28, 2026
Merged

nwparker merged 1 commit into
mainfrom
orca-remote-automation/fix-worker-background-waits-import

Conversation

@orca-remote-automation

@orca-remote-automation orca-remote-automation Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Main's typecheck and one test shard are red because a test imports a function that was renamed. This points it at the new name.

Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2
Prod 0 0 0 0

What Changed

worker-background-waits.test.ts (from #51359) imported structuredAgentSessionStatusPaneKey, which #45250 replaced with chatPaneKey. #51359 merged after that, so main fails typecheck (TS2305) and the tests node 24 7/24 shard. The test now uses chatPaneKey, the same key worker-background-wait-rows.ts reads under test.

Why

Restores a green main; test-only change, no production code.

Linked Issue

None; main CI break.

Visual Proof

N/A: test-only change.

Testing

  • vitest run src/main/runtime/orchestration/workers/turn-stops/worker-background-waits.test.ts: 9 passed.
  • config/tsconfig.node.json typecheck: clean. oxfmt/oxlint clean on the file.

Performance

None, because this only changes a test import.

Risk

Level: Low. Test-only; plain revert.

Agent skill upstream boundary

  • Not applicable.

#51359 landed after the structuredAgentSessionStatusPaneKey rename and
still imported the old name, breaking typecheck and the node test shard
on main. Use chatPaneKey, which the code under test already uses.
@nwparker
nwparker merged commit 95f6bb9 into main Nov 28, 2026
54 checks passed
@nwparker
nwparker deleted the orca-remote-automation/fix-worker-background-waits-import branch November 28, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant