orca/src/main/daemon
Jinwoo Hong 7adda25b0a
fix(daemon): retire empty current-generation daemons (#9277)
* fix(daemon): retire empty current-generation daemons

Co-authored-by: Orca <help@stably.ai>

* fix(daemon): retire empty daemons on disconnect

Co-authored-by: Orca <help@stably.ai>

* test(daemon): authenticate Windows lifecycle harness

Co-authored-by: Orca <help@stably.ai>

* test(daemon): assert remaining shutdown budget

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Orca <help@stably.ai>
2026-07-19 19:38:44 -07:00
..
fixtures
binary-frame.test.ts
binary-frame.ts
client.test.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
client.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-background-transient-facts.test.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
daemon-background-transient-facts.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
daemon-bundle-staleness.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
daemon-checkpoint-file.ts fix(terminal): report PTY's applied size so dropped resizes self-heal (split-mount desync) (#6785) 2026-06-29 13:35:43 -07:00
daemon-create-or-attach-result.ts fix: preserve native PTY context on reattach 2026-07-19 16:04:05 -07:00
daemon-entry.test.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-entry.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-errors.ts fix(terminal): send CSI-u Shift+Enter to Droid on Windows (#7620) (#7668) 2026-07-10 21:00:31 -07:00
daemon-file-log.test.ts Windows terminal update-survival (single consolidated PR) (#7538) 2026-07-07 19:21:07 -04:00
daemon-file-log.ts Windows terminal update-survival (single consolidated PR) (#7538) 2026-07-07 19:21:07 -04:00
daemon-foreground-confirmation-protocol.test.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-foreground-process-protocol.ts fix(terminal): send CSI-u Shift+Enter to Droid on Windows (#7620) (#7668) 2026-07-10 21:00:31 -07:00
daemon-health-socket-cleanup.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
daemon-health.test.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
daemon-health.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
daemon-hello-protocol.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-host-relocation.test.ts Windows terminal update-survival (single consolidated PR) (#7538) 2026-07-07 19:21:07 -04:00
daemon-host-relocation.ts Windows terminal update-survival (single consolidated PR) (#7538) 2026-07-07 19:21:07 -04:00
daemon-idle-shutdown.test.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-init.test.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-init.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-main.test.ts fix(runtime): harden watcher and PTY teardown ownership (#8661) 2026-07-15 15:23:35 -07:00
daemon-main.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-pty-adapter.test.ts fix: preserve native PTY context on reattach 2026-07-19 16:04:05 -07:00
daemon-pty-adapter.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-pty-provider.test.ts fix(runtime): harden watcher and PTY teardown ownership (#8661) 2026-07-15 15:23:35 -07:00
daemon-pty-provider.ts Hibernate completed runtime-owned agents (#5473) 2026-06-16 10:15:13 -07:00
daemon-pty-router.test.ts fix(terminal): keep legacy daemon PTYs mounted (#8817) 2026-07-14 22:53:33 -07:00
daemon-pty-router.ts fix(terminal): keep legacy daemon PTYs mounted (#8817) 2026-07-14 22:53:33 -07:00
daemon-pty-size.ts
daemon-self-retirement-respawn.test.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-server.test.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-server.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-spawner.test.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-spawner.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
daemon-stream-backlog-probe.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
daemon-stream-data-batcher.test.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
daemon-stream-data-batcher.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
daemon-stream-data-split.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
daemon-stream-events.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
daemon-stream-keep-tail-drop.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
degraded-daemon-fallback-shutdown.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
degraded-daemon-pty-provider.test.ts fix(terminal): send CSI-u Shift+Enter to Droid on Windows (#7620) (#7668) 2026-07-10 21:00:31 -07:00
degraded-daemon-pty-provider.ts fix(terminal): send CSI-u Shift+Enter to Droid on Windows (#7620) (#7668) 2026-07-10 21:00:31 -07:00
headless-emulator-fidelity.fuzz.test.ts Add native chat skill picker with host-aware discovery (#9480) 2026-07-19 17:31:34 -07:00
headless-emulator-snapshot-cost.bench.test.ts fix: replace per-5s full-buffer terminal checkpoints with an incremental log (#5292) 2026-06-12 16:31:24 -07:00
headless-emulator-unicode-width.test.ts Match main terminal mirror character widths to the renderer (#7148) 2026-07-02 14:50:15 -07:00
headless-emulator.test.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
headless-emulator.ts Add native chat skill picker with host-aware discovery (#9480) 2026-07-19 17:31:34 -07:00
headless-osc-link-ranges.ts fix: improve mobile link modifier handling (#5597) 2026-06-18 16:48:43 -07:00
hibernation-cold-restore-repro.test.ts fix(terminal): clear leaked mouse-reporting modes on pane reattach (#7893) 2026-07-08 22:14:08 -07:00
history-manager-disabled-sessions-leak.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
history-manager.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
history-manager.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
history-paths.ts
history-reader.test.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
history-reader.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
issue-6814-daemon-failure-classification.test.ts fix(daemon): replace a permanently wedged daemon instead of preserving it forever (#8689) (#8697) 2026-07-14 01:50:56 -07:00
ndjson.test.ts
ndjson.ts
node-pty-error-hints.test.ts
node-pty-error-hints.ts
node-pty-fd-leak.test.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
osc7-file-uri.test.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
osc7-file-uri.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
osc7-uri-extraction.test.ts Fix paste ownership, input bounds, and IPC validation 2026-06-19 17:14:55 -07:00
osc7-uri-extraction.ts Fix paste ownership, input bounds, and IPC validation 2026-06-19 17:14:55 -07:00
post-ready-flush-gate.test.ts Prevent duplicate startup command echoes (#6023) 2026-06-21 18:51:44 -07:00
post-ready-flush-gate.ts Prevent duplicate startup command echoes (#6023) 2026-06-21 18:51:44 -07:00
priority-semaphore.test.ts
priority-semaphore.ts
production-launcher.test.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
production-launcher.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
pty-session-id.test.ts
pty-session-id.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00
pty-subprocess-foreground-degraded-scan.test.ts fix(terminal): confirm the agent from ConPTY console presence to avoid false exits (#9258) 2026-07-19 15:20:54 -07:00
pty-subprocess-foreground-scan-cadence.test.ts fix(terminal): send CSI-u Shift+Enter to Droid on Windows (#7620) (#7668) 2026-07-10 21:00:31 -07:00
pty-subprocess.test.ts test: make WSL cwd fixture cross-platform 2026-07-19 16:04:05 -07:00
pty-subprocess.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
reattach-snapshot.test.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
repro-7329-remote-snapshot-corruption.test.ts fix(terminal): clear leaked mouse-reporting modes on pane reattach (#7893) 2026-07-08 22:14:08 -07:00
session-ingest-throughput.bench.test.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
session-pending-output.test.ts fix: replace per-5s full-buffer terminal checkpoints with an incremental log (#5292) 2026-06-12 16:31:24 -07:00
session.test.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
session.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
shell-ready.test.ts Remove stale max-lines lint disables from files under the limit (#7548) 2026-07-06 02:12:32 -07:00
shell-ready.ts fix(daemon): resolve Unix shell fallback before node-pty spawn (#8306) 2026-07-11 10:45:55 -07:00
slow-daemon-session-verification.test.ts fix(runtime): harden watcher and PTY teardown ownership (#8661) 2026-07-15 15:23:35 -07:00
terminal-history-incremental-restore.test.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
terminal-history-log.test.ts fix: replace per-5s full-buffer terminal checkpoints with an incremental log (#5292) 2026-06-12 16:31:24 -07:00
terminal-history-log.ts fix: replace per-5s full-buffer terminal checkpoints with an incremental log (#5292) 2026-06-12 16:31:24 -07:00
terminal-host-create-contract.ts fix: preserve native PTY context on reattach 2026-07-19 16:04:05 -07:00
terminal-host-session-reaping-leak.test.ts fix(runtime): harden watcher and PTY teardown ownership (#8661) 2026-07-15 15:23:35 -07:00
terminal-host-session-shutdown.ts fix(runtime): harden watcher and PTY teardown ownership (#8661) 2026-07-15 15:23:35 -07:00
terminal-host-startup.test.ts
terminal-host-wsl-context.test.ts fix: preserve native PTY context on reattach 2026-07-19 16:04:05 -07:00
terminal-host.test.ts fix(runtime): harden watcher and PTY teardown ownership (#8661) 2026-07-15 15:23:35 -07:00
terminal-host.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
terminal-mode-rehydrate-sequences.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
terminal-mouse-mode-mirror.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
terminal-osc-cwd-title-scanner.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
terminal-private-mode-tracker.ts Open terminal file links on mobile (#7134) 2026-07-02 18:17:47 -07:00
terminal-session-teardown.ts fix(runtime): harden watcher and PTY teardown ownership (#8661) 2026-07-15 15:23:35 -07:00
terminal-snapshot-ansi-buffers.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
terminal-snapshot-serialize-roundtrip.test.ts Terminal performance initiative: pipeline fixes + term-speed-2 revival + PTY flow control (integration branch) (#7214) 2026-07-10 17:27:47 -07:00
terminal-view-attribute-responder.ts Add native chat skill picker with host-aware discovery (#9480) 2026-07-19 17:31:34 -07:00
types.ts fix(daemon): retire empty current-generation daemons (#9277) 2026-07-19 19:38:44 -07:00
windows-conpty-warmup.test.ts Improve Windows terminal performance: retain WebGL contexts, warm first ConPTY (#7085) 2026-07-02 18:41:23 -04:00
windows-conpty-warmup.ts Improve Windows terminal performance: retain WebGL contexts, warm first ConPTY (#7085) 2026-07-02 18:41:23 -04:00
wsl-cold-restore-cwd.test.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
wsl-cold-restore-cwd.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
wsl-session-context.ts fix: preserve WSL CWD across daemon sleep wake 2026-07-19 16:04:05 -07:00
xterm-env-polyfill.ts