agent-orchestrator/backend/internal
Harshit Singh Bhandari 3aa8e044b2
test(session_manager): prove agent sessions survive daemon restart/upgrade (#2335) (#2350)
* test(session_manager): prove sessions survive daemon restart and re-adopt (#2335)

Add an end-to-end Reconcile() durability test covering the full mix of
session states a daemon restart/upgrade leaves behind: an alive
orchestrator and worker are adopted in place under their original ids
(no id increment, runtime never torn down), a worker whose runtime died
with the daemon is captured and relaunched under its original id, and a
truly-dead unmarked session is not resurrected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: format with prettier [skip ci]

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-07-03 19:59:27 +05:30
..
adapters feat(review): support additional reviewer harnesses (#2306) 2026-07-02 19:25:18 +05:30
agentlaunch feat(windows): ConPTY terminal, zellij discovery, agent launcher trampoline, codex shim resolution (#310) 2026-06-18 21:51:05 +05:30
cdc feat: ao session claim-pr + spawn --claim-pr wiring (#101) 2026-06-06 00:01:03 +05:30
cli feat(spawn): add required --name flag for sidebar display name (#2302) 2026-06-30 16:26:48 +05:30
config feat: require explicit project agents (#355) 2026-06-21 06:07:53 +05:30
daemon feat(skills): add using-ao skill, install it under the data dir, and wire it into session prompts (#2365) 2026-07-03 18:11:15 +05:30
daemonmeta fix(cli): verify daemon ownership before stop signal 2026-06-01 01:45:04 +05:30
domain feat(review): support additional reviewer harnesses (#2306) 2026-07-02 19:25:18 +05:30
httpd feat(spawn): add required --name flag for sidebar display name (#2302) 2026-06-30 16:26:48 +05:30
integration fix(daemon): stop orchestrator id-increment + OS-native daemon liveness link (#2185) 2026-06-26 18:28:32 +05:30
legacyimport feat: Global Settings (migration + update channel) + ao start download progress (#2235) 2026-06-27 23:08:55 +05:30
lifecycle feat: show multi-PR review status (#2193) 2026-06-29 18:20:28 +05:30
notify feat: add notifications v1 (#181) 2026-06-14 20:02:32 +05:30
observe fix: deep-link PR attention actions (#2200) 2026-06-29 21:16:35 +05:30
ports feat(spawn): add required --name flag for sidebar display name (#2302) 2026-06-30 16:26:48 +05:30
preview fix: clear stale preview URL from SQLite and prevent stale white screen on preview clear (#2358) 2026-07-03 15:38:43 +05:30
process fix: hide backend subprocess windows on Windows (#2179) 2026-06-25 16:21:18 +05:30
processalive refactor: simplify session lifecycle and zellij runtime (#62) 2026-06-01 08:42:49 +05:30
review feat(review): support additional reviewer harnesses (#2306) 2026-07-02 19:25:18 +05:30
runfile fix(daemon): stop orchestrator id-increment + OS-native daemon liveness link (#2185) 2026-06-26 18:28:32 +05:30
service fix(spawn): fail fast when tmux is missing (#2259) 2026-06-30 00:14:46 +05:30
session_manager test(session_manager): prove agent sessions survive daemon restart/upgrade (#2335) (#2350) 2026-07-03 19:59:27 +05:30
skillassets feat(skills): add using-ao skill, install it under the data dir, and wire it into session prompts (#2365) 2026-07-03 18:11:15 +05:30
storage/sqlite fix: resolve duplicate migration version 20 collision (#2294) 2026-06-30 11:23:54 +05:30
telemetrymeta Feat/posthog error tracking redaction (#329) 2026-06-21 18:50:47 +05:30
terminal Zellij to tmux + ConPTY runtime, session save/restore, crash-proof reconcile (port #404) (#2183) 2026-06-25 15:05:41 +05:30