test(orchestration): retire superseded unbound mail refusal case

This commit is contained in:
Neil
2026-11-12 07:29:57 -08:00
parent aa60360fcb
commit 0a350a034e
2 changed files with 2 additions and 30 deletions
+2 -2
View File
@@ -297,7 +297,7 @@
1 test-no-real-time-wait:tests/e2e/markdown-table-row-backspace.spec.ts
1 test-no-real-time-wait:tests/e2e/native-chat-history-prepend-anchor.spec.ts
3 test-no-real-time-wait:tests/e2e/notification-sound-replay.spec.ts
5 test-no-real-time-wait:tests/e2e/orchestration-idle-mail-delivery.spec.ts
4 test-no-real-time-wait:tests/e2e/orchestration-idle-mail-delivery.spec.ts
1 test-no-real-time-wait:tests/e2e/orchestration-idle-mail-restore.spec.ts
4 test-no-real-time-wait:tests/e2e/paced-terminal-typing.ts
1 test-no-real-time-wait:tests/e2e/paired-client-hosted-browser-double-restart.spec.ts
@@ -716,7 +716,7 @@
1 test-timeout-needs-reason:tests/e2e/markdown-review-selection-performance.spec.ts
1 test-timeout-needs-reason:tests/e2e/mobile-subscribe-idle-hidden-pane-fit.spec.ts
1 test-timeout-needs-reason:tests/e2e/orcad-serve-open-url-on-desktop.spec.ts
10 test-timeout-needs-reason:tests/e2e/orchestration-idle-mail-delivery.spec.ts
9 test-timeout-needs-reason:tests/e2e/orchestration-idle-mail-delivery.spec.ts
1 test-timeout-needs-reason:tests/e2e/orchestration-idle-mail-restore.spec.ts
1 test-timeout-needs-reason:tests/e2e/orchestration-legacy-worker-missing-terminal-recovery.spec.ts
1 test-timeout-needs-reason:tests/e2e/orchestration-worker-settlement-release-cli.spec.ts
@@ -299,34 +299,6 @@ test.describe('orchestration push-on-idle mail delivery', () => {
await expectSubmitted(pane)
})
// #19542: keep direct mail durable under the unbound Run without injecting an unsafe check pointer.
test('keeps unbound direct mail durable without pointing to an unsafe check', async ({
orcaPage,
electronApp
}) => {
test.setTimeout(180_000)
const { client, userDataDir, openAgentPane } = await setUpMailFixture(orcaPage, electronApp)
const pane = await openAgentPane()
await driveToLiveIdle(client, pane)
// Unbound terminals still need durable direct mail; reopen must not classify it as pre-Runs state.
const stdinBeforeScan = pane.agent.readStdin()
const messageId = await sendMail(client, pane.handle, { subject: 'Unbound direct mail' })
pane.agent.setTitle(CODEX_WORKING_TITLE)
await waitForObservedTitle(client, pane.handle, CODEX_WORKING_TITLE)
pane.agent.setTitle(CODEX_IDLE_TITLE)
await waitForObservedTitle(client, pane.handle, CODEX_IDLE_TITLE)
await orcaPage.waitForTimeout(NO_DELIVERY_SETTLE_MS)
expect(readMailRow(userDataDir, messageId)).toMatchObject({
to_handle: pane.handle,
run_id: 'run_unbound',
read: 0,
delivered_at: null
})
expect(pane.agent.readStdin()).toBe(stdinBeforeScan)
})
test('leaves the mail to a live waiter instead of pushing it into the pane', async ({
orcaPage,
electronApp