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

推荐订阅源

D
DataBreaches.Net
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
博客园 - 聂微东
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog RSS Feed
小众软件
小众软件
The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
B
Blog
H
Help Net Security
D
Docker
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客
月光博客
月光博客
博客园 - 司徒正美

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
test: tighten qa matrix dm assertions · openclaw/openclaw...
steipete · 2026-05-10 · via Recent Commits to openclaw:main

@@ -2285,65 +2285,57 @@ describe("matrix live qa scenarios", () => {

2285228522862286

const scenario = requireMatrixQaScenario("matrix-dm-reply-shape");

228722872288-

await expect(

2289-

runMatrixQaScenario(scenario, {

2290-

baseUrl: "http://127.0.0.1:28008/",

2291-

canary: undefined,

2292-

driverAccessToken: "driver-token",

2293-

driverUserId: "@driver:matrix-qa.test",

2294-

observedEvents: [],

2295-

observerAccessToken: "observer-token",

2296-

observerUserId: "@observer:matrix-qa.test",

2297-

roomId: "!main:matrix-qa.test",

2298-

restartGateway: undefined,

2299-

syncState: {},

2300-

sutAccessToken: "sut-token",

2301-

sutUserId: "@sut:matrix-qa.test",

2302-

timeoutMs: 8_000,

2303-

topology: {

2304-

defaultRoomId: "!main:matrix-qa.test",

2305-

defaultRoomKey: "main",

2306-

rooms: [

2307-

{

2308-

key: "main",

2309-

kind: "group",

2310-

memberRoles: ["driver", "observer", "sut"],

2311-

memberUserIds: [

2312-

"@driver:matrix-qa.test",

2313-

"@observer:matrix-qa.test",

2314-

"@sut:matrix-qa.test",

2315-

],

2316-

name: "Main",

2317-

requireMention: true,

2318-

roomId: "!main:matrix-qa.test",

2319-

},

2320-

{

2321-

key: scenarioTesting.MATRIX_QA_DRIVER_DM_ROOM_KEY,

2322-

kind: "dm",

2323-

memberRoles: ["driver", "sut"],

2324-

memberUserIds: ["@driver:matrix-qa.test", "@sut:matrix-qa.test"],

2325-

name: "DM",

2326-

requireMention: false,

2327-

roomId: "!dm:matrix-qa.test",

2328-

},

2329-

],

2330-

},

2331-

}),

2332-

).resolves.toMatchObject({

2333-

artifacts: {

2334-

actorUserId: "@driver:matrix-qa.test",

2288+

const result = await runMatrixQaScenario(scenario, {

2289+

baseUrl: "http://127.0.0.1:28008/",

2290+

canary: undefined,

2291+

driverAccessToken: "driver-token",

2292+

driverUserId: "@driver:matrix-qa.test",

2293+

observedEvents: [],

2294+

observerAccessToken: "observer-token",

2295+

observerUserId: "@observer:matrix-qa.test",

2296+

roomId: "!main:matrix-qa.test",

2297+

restartGateway: undefined,

2298+

syncState: {},

2299+

sutAccessToken: "sut-token",

2300+

sutUserId: "@sut:matrix-qa.test",

2301+

timeoutMs: 8_000,

2302+

topology: {

2303+

defaultRoomId: "!main:matrix-qa.test",

2304+

defaultRoomKey: "main",

2305+

rooms: [

2306+

{

2307+

key: "main",

2308+

kind: "group",

2309+

memberRoles: ["driver", "observer", "sut"],

2310+

memberUserIds: [

2311+

"@driver:matrix-qa.test",

2312+

"@observer:matrix-qa.test",

2313+

"@sut:matrix-qa.test",

2314+

],

2315+

name: "Main",

2316+

requireMention: true,

2317+

roomId: "!main:matrix-qa.test",

2318+

},

2319+

{

2320+

key: scenarioTesting.MATRIX_QA_DRIVER_DM_ROOM_KEY,

2321+

kind: "dm",

2322+

memberRoles: ["driver", "sut"],

2323+

memberUserIds: ["@driver:matrix-qa.test", "@sut:matrix-qa.test"],

2324+

name: "DM",

2325+

requireMention: false,

2326+

roomId: "!dm:matrix-qa.test",

2327+

},

2328+

],

23352329

},

23362330

});

2331+

const artifacts = result.artifacts as { actorUserId?: unknown };

2332+

expect(artifacts.actorUserId).toBe("@driver:matrix-qa.test");

2337233323382334

expect(sendTextMessage).toHaveBeenCalledWith({

23392335

body: expect.stringContaining("reply with only this exact marker:"),

23402336

roomId: "!dm:matrix-qa.test",

23412337

});

2342-

expect(waitForRoomEvent).toHaveBeenCalledWith(

2343-

expect.objectContaining({

2344-

roomId: "!dm:matrix-qa.test",

2345-

}),

2346-

);

2338+

expect(waitForRoomEvent.mock.calls[0]?.[0]?.roomId).toBe("!dm:matrix-qa.test");

23472339

});

2348234023492341

it("uses room thread override scenarios against the main room", async () => {

@@ -2378,17 +2370,19 @@ describe("matrix live qa scenarios", () => {

2378237023792371

const scenario = requireMatrixQaScenario("matrix-room-thread-reply-override");

238023722381-

await expect(runMatrixQaScenario(scenario, matrixQaScenarioContext())).resolves.toMatchObject({

2382-

artifacts: {

2383-

driverEventId: "$room-thread-trigger",

2384-

reply: {

2385-

relatesTo: {

2386-

relType: "m.thread",

2387-

eventId: "$room-thread-trigger",

2388-

},

2389-

},

2390-

},

2391-

});

2373+

const result = await runMatrixQaScenario(scenario, matrixQaScenarioContext());

2374+

const artifacts = result.artifacts as {

2375+

driverEventId?: unknown;

2376+

reply?: {

2377+

relatesTo?: {

2378+

eventId?: unknown;

2379+

relType?: unknown;

2380+

};

2381+

};

2382+

};

2383+

expect(artifacts.driverEventId).toBe("$room-thread-trigger");

2384+

expect(artifacts.reply?.relatesTo?.relType).toBe("m.thread");

2385+

expect(artifacts.reply?.relatesTo?.eventId).toBe("$room-thread-trigger");

23922386

});

2393238723942388

it("runs the subagent thread spawn scenario against a child thread", async () => {