Skip to content

Commit 0aa0083

Browse files
committed
test(release): stabilize plugin prerelease shards
1 parent 907ac7e commit 0aa0083

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

‎extensions/memory-core/src/tools.citations.test.ts‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
clearMemoryPluginState,
55
registerMemoryCorpusSupplement,
66
} from "openclaw/plugin-sdk/memory-host-core";
7+
import { readMemoryHostEvents } from "openclaw/plugin-sdk/memory-host-events";
78
import { beforeEach, describe, expect, it, vi } from "vitest";
89
import {
910
getMemorySearchManagerMockCalls,
@@ -260,6 +261,15 @@ describe("memory tools", () => {
260261
path: "memory/2026-04-03.md",
261262
recallCount: 1,
262263
});
264+
const events = await waitFor(async () => {
265+
const memoryEvents = await readMemoryHostEvents({ workspaceDir });
266+
expect(memoryEvents).toHaveLength(1);
267+
return memoryEvents;
268+
});
269+
expect(events[0]).toMatchObject({
270+
type: "memory.recall.recorded",
271+
query: "glacier backup",
272+
});
263273
} finally {
264274
await fs.rm(workspaceDir, { recursive: true, force: true });
265275
}

‎extensions/qa-lab/src/qa-transport.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,12 @@ export function createFailureAwareTransportWaitForCondition(state: QaTransportSt
136136
sinceIndex,
137137
cursorSpace: "all",
138138
});
139-
return await check();
139+
const value = await check();
140+
assertNoFailureReplies(state, {
141+
sinceIndex,
142+
cursorSpace: "all",
143+
});
144+
return value;
140145
},
141146
timeoutMs,
142147
intervalMs,

0 commit comments

Comments
 (0)