gsxdsm
7d20a997b9
FN-5872: clear active-session registry on PR cleanup
Ensure PR-mode merge cleanup removes stale active-session registry state before deleting worktrees.
- unregister the task worktree from the active-session registry during merged-task artifact cleanup
- export the active-session registry from the engine entrypoint for lifecycle cleanup usage
- add CLI and engine regression coverage for registry cleanup and missing-entry best-effort behavior
- add a patch changeset for the published CLI package
Files changed:
.changeset/fn-5872-registry-cleanup.md | 5 ++++
.../src/commands/__tests__/task-lifecycle.test.ts | 29 +++++++++++++++++++++-
packages/cli/src/commands/task-lifecycle.ts | 8 +++++-
.../pr-mode-worktree-invariants.test.ts | 11 +++++---
packages/engine/src/index.ts | 1 +
5 files changed, 49 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-5872
Fusion-Task-Lineage: d4db24a3-7ae0-4d07-b029-7f30b2f65d2e
2026-06-02 07:46:38 -07:00
..
2026-04-25 09:09:31 -07:00
2026-05-31 20:50:09 -07:00
2026-05-31 21:08:41 -07:00
2026-05-31 23:24:53 -07:00
2026-06-01 01:42:19 -07:00
2026-06-01 13:20:55 -07:00
2026-06-01 13:03:20 -07:00
2026-06-01 13:33:56 -07:00
2026-06-01 14:07:46 -07:00
2026-06-01 16:55:56 -07:00
2026-06-01 17:15:11 -07:00
2026-06-01 17:52:12 -07:00
2026-06-01 01:30:34 -07:00
2026-06-01 01:37:25 -07:00
2026-06-01 04:47:19 -07:00
2026-06-01 05:15:14 -07:00
2026-06-01 03:23:10 -07:00
2026-06-01 05:39:01 -07:00
2026-06-01 07:53:56 -07:00
2026-06-01 09:05:18 -07:00
2026-06-01 08:13:36 -07:00
2026-06-01 19:40:28 -07:00
2026-06-01 16:24:21 -07:00
2026-06-01 20:19:37 -07:00
2026-06-01 18:52:28 -07:00
2026-06-01 23:39:20 -07:00
2026-06-01 23:01:26 -07:00
2026-06-01 23:37:03 -07:00
2026-06-02 00:07:07 -07:00
2026-06-01 23:55:20 -07:00
2026-06-02 07:46:38 -07:00
2026-06-01 08:23:02 -07:00
2026-06-01 21:55:10 -07:00