mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-04 11:01:16 +01:00
fix(mcp): include events at the subscription start boundary
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
a140d533a6
commit
6aa0962d4f
3 files changed
+8
-4
No files matched your search
@@ -447,9 +447,9 @@ describe.skipIf(!support.supported)("public MCP OAuth and tool boundary", () =>
|
||||
}
|
||||
});
|
||||
|
||||
it("retains changes occurring while callback ownership is being verified", async () => {
|
||||
it("retains changes at the subscription start while callback ownership is being verified", async () => {
|
||||
const f = await eventFixture();
|
||||
f.duringVerification(async () => { await f.activity(); });
|
||||
f.duringVerification(async () => { f.advance(-100); await f.activity(); });
|
||||
await f.service.subscribe(f.principal, f.input);
|
||||
await f.service.tick();
|
||||
expect(f.received.filter(r => r.body.eventId)).toHaveLength(1);
|
||||
|
||||
Reference in new issue
Block a user