fix(sessions): reconcile client-abandoned running sessions on restart (#111699)

This commit is contained in:
Peter Steinberger
2026-07-20 19:39:41 -07:00
committed by GitHub
parent 83ca537778
commit 4ff2cdd215
25 changed files with 818 additions and 4 deletions
+3
View File
@@ -211,6 +211,9 @@ vi.mock("../../tasks/runtime-internal.js", () => ({
}));
vi.mock("../../infra/agent-events.js", () => ({
getAgentEventLifecycleGeneration: () => "test-generation",
isAgentEventLifecycleGenerationCurrent: (generation: string) => generation === "test-generation",
registerAgentEventLifecycleRotationHandler: vi.fn(),
rotateAgentEventLifecycleGeneration: () => rotateAgentEventLifecycleGeneration(),
}));