From f56aecb31487cf3495f1aa1433c2c128bbc1ed0d Mon Sep 17 00:00:00 2001 From: Tianyi Cui <53024+tianyicui@users.noreply.github.com> Date: Sat, 19 Sep 2026 15:32:48 +0800 Subject: [PATCH] test(agent-team): remove an unused store from checkpoint restoration The cold checkpoint regression calls only the projection registry register and restore methods. Neither needs SessionStore, so mounting and disposing that extra service obscured the fixture dependency. Keep the registry lifecycle and the recovered-content assertion unchanged. --- .../experimental/agent-team/tests/projection-events.spec.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/experimental/agent-team/tests/projection-events.spec.ts b/packages/experimental/agent-team/tests/projection-events.spec.ts index 8e9602c1ef..d6f0a12619 100644 --- a/packages/experimental/agent-team/tests/projection-events.spec.ts +++ b/packages/experimental/agent-team/tests/projection-events.spec.ts @@ -355,10 +355,8 @@ describe('Agent Teams projection events', () => { it('rebuilds lossy version-3 Team checkpoints from the original log', async () => { const ctx = new Context() - const store = ctx.plugin(SessionStore) const registry = ctx.plugin(SessionProjectionRegistry) try { - await store await registry ctx.sessionProjections.register(teamProjectionDefinition) const extension = JSON.parse('{"type":"plugin/custom","__proto__":{"saved":true}}') as ContentBlock @@ -379,7 +377,6 @@ describe('Agent Teams projection events', () => { expect(state.messages[0]?.content).toEqual([extension]) } finally { await registry.dispose() - await store.dispose() } })