mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
Use fixed event times in terminal recovery regression
This commit is contained in:
@@ -491,7 +491,6 @@
|
||||
23 test-no-wall-clock:src/main/runtime/terminal/output/terminal-query-responder.test.ts
|
||||
3 test-no-wall-clock:src/main/runtime/terminal/query/orca-runtime-codex-idle-title-chat-address.test.ts
|
||||
1 test-no-wall-clock:src/main/runtime/terminal/recovery/terminal-pane-recovery-liveness-gate.test.ts
|
||||
16 test-no-wall-clock:src/main/runtime/terminal/wait/tui-idle-hook-lane-runtime.test.ts
|
||||
1 test-no-wall-clock:src/main/runtime/workspaces/process-listing/runtime-worktree-structured-agent-rows-liveness.test.ts
|
||||
1 test-no-wall-clock:src/main/runtime/workspaces/removal/owned-session-teardown-policy.test.ts
|
||||
6 test-no-wall-clock:src/main/skills/install/skill-bundle-process-termination.integration.test.ts
|
||||
|
||||
@@ -202,7 +202,7 @@ describe('main-side replay guard', () => {
|
||||
markHiddenRendererPty('pty-recovered')
|
||||
runtime.seedHeadlessTerminal('pty-recovered', 'old screen')
|
||||
await settle(runtime, 'pty-recovered')
|
||||
runtime.onPtyData('pty-recovered', QUERY_BATCH, Date.now())
|
||||
runtime.onPtyData('pty-recovered', QUERY_BATCH, 1_000)
|
||||
runtime.replaceHeadlessTerminalFromRendererSnapshotForRecovery(
|
||||
'pty-recovered',
|
||||
{ data: `restored prompt${QUERY_BATCH}`, cols: 80, rows: 24, seq: 0 },
|
||||
@@ -210,7 +210,7 @@ describe('main-side replay guard', () => {
|
||||
)
|
||||
await settle(runtime, 'pty-recovered')
|
||||
expect(replies).toEqual([])
|
||||
runtime.onPtyData('pty-recovered', QUERY_BATCH, Date.now())
|
||||
runtime.onPtyData('pty-recovered', QUERY_BATCH, 2_000)
|
||||
await settle(runtime, 'pty-recovered')
|
||||
expect(replies.map((reply) => reply.data)).toEqual([
|
||||
'\x1b[?1;2c',
|
||||
|
||||
Reference in New Issue
Block a user