惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog RSS Feed
Jina AI
Jina AI
雷峰网
雷峰网
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
博客园 - 司徒正美
罗磊的独立博客
J
Java Code Geeks
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
Vercel News
Vercel News
A
About on SuperTechFans
I
InfoQ
D
DataBreaches.Net
爱范儿
爱范儿
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
aimingoo的专栏
aimingoo的专栏
宝玉的分享
宝玉的分享
P
Proofpoint News Feed
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(memory): respect QMD status timeout · openclaw/opencl...
shawnduggan · 2026-05-31 · via Recent Commits to openclaw:main

@@ -5182,6 +5182,94 @@ describe("QmdMemoryManager", () => {

51825182

await manager.close();

51835183

});

518451845185+

it("uses the configured qmd timeout for status probes", async () => {

5186+

vi.useFakeTimers();

5187+

cfg = {

5188+

...cfg,

5189+

memory: {

5190+

backend: "qmd",

5191+

qmd: {

5192+

includeDefaultMemory: false,

5193+

searchMode: "query",

5194+

limits: { timeoutMs: 6000 },

5195+

update: { interval: "0s", debounceMs: 60_000, onBoot: false },

5196+

paths: [{ path: workspaceDir, pattern: "**/*.md", name: "workspace" }],

5197+

},

5198+

},

5199+

} as OpenClawConfig;

5200+5201+

let statusKill: Mock | null = null;

5202+

spawnMock.mockImplementation((_cmd: string, args: string[]) => {

5203+

if (args[0] === "status") {

5204+

const child = createMockChild({ autoClose: false });

5205+

statusKill = vi.fn();

5206+

child.kill = statusKill;

5207+

return child;

5208+

}

5209+

return createMockChild();

5210+

});

5211+5212+

const { manager } = await createManager();

5213+5214+

const probe = manager.probeVectorAvailability();

5215+

await vi.advanceTimersByTimeAsync(5000);

5216+

expect(statusKill).not.toHaveBeenCalled();

5217+

await vi.advanceTimersByTimeAsync(1000);

5218+

await expect(probe).resolves.toBe(false);

5219+

expect(manager.status().vector).toEqual({

5220+

enabled: true,

5221+

available: false,

5222+

semanticAvailable: false,

5223+

loadError: expect.stringContaining("timed out after 6000ms"),

5224+

});

5225+

await manager.close();

5226+

});

5227+5228+

it("exports valid session transcripts whose IDs contain checkpoint words", async () => {

5229+

cfg = {

5230+

...cfg,

5231+

memory: {

5232+

backend: "qmd",

5233+

qmd: {

5234+

includeDefaultMemory: false,

5235+

sessions: { enabled: true },

5236+

update: {

5237+

interval: "0s",

5238+

debounceMs: 0,

5239+

onBoot: true,

5240+

waitForBootSync: true,

5241+

},

5242+

paths: [{ path: workspaceDir, pattern: "**/*.md", name: "workspace" }],

5243+

},

5244+

},

5245+

} as OpenClawConfig;

5246+5247+

const sessionsDir = path.join(stateDir, "agents", agentId, "sessions");

5248+

await fs.mkdir(sessionsDir, { recursive: true });

5249+

await fs.writeFile(

5250+

path.join(sessionsDir, "live-session.jsonl"),

5251+

`${JSON.stringify({ type: "message", message: { role: "user", content: "live" } })}\n`,

5252+

);

5253+

await fs.writeFile(

5254+

path.join(sessionsDir, "team.checkpoint.notes.jsonl"),

5255+

`${JSON.stringify({ type: "message", message: { role: "user", content: "notes" } })}\n`,

5256+

);

5257+

await fs.writeFile(

5258+

path.join(sessionsDir, "live-session.checkpoint.11111111-1111-4111-8111-111111111111.jsonl"),

5259+

`${JSON.stringify({ type: "message", message: { role: "user", content: "checkpoint" } })}\n`,

5260+

);

5261+5262+

const { manager } = await createManager({ mode: "full" });

5263+

const sessionExportDir = path.join(stateDir, "agents", agentId, "qmd", "sessions");

5264+

const exported = (await fs.readdir(sessionExportDir)).toSorted();

5265+5266+

expect(exported).toEqual(["live-session.md", "team.checkpoint.notes.md"]);

5267+

await expect(

5268+

fs.readFile(path.join(sessionExportDir, "team.checkpoint.notes.md"), "utf-8"),

5269+

).resolves.toContain("notes");

5270+

await manager.close();

5271+

});

5272+51855273

it("reports vector availability as unavailable when qmd status shows zero vectors", async () => {

51865274

spawnMock.mockImplementation((_cmd: string, args: string[]) => {

51875275

if (args[0] === "status") {