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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
V
V2EX
美团技术团队
H
Help Net Security
月光博客
月光博客
爱范儿
爱范儿
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
U
Unit 42
大猫的无限游戏
大猫的无限游戏
Recent Announcements
Recent Announcements
A
About on SuperTechFans
博客园 - Franky
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
人人都是产品经理
人人都是产品经理
博客园 - 司徒正美
MyScale Blog
MyScale Blog
B
Blog
雷峰网
雷峰网
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
T
The Blog of Author Tim Ferriss

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 test: merge chat context notice checks · openclaw/openclaw@5c2f4af 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
QA Matrix: isolate scenario coverage · openclaw/openclaw@...
gumadeiras · 2026-04-17 · via Recent Commits to openclaw:main

@@ -17,6 +17,7 @@ export type MatrixQaScenarioId =

1717

| "matrix-thread-root-preservation"

1818

| "matrix-thread-nested-reply-shape"

1919

| "matrix-thread-isolation"

20+

| "matrix-subagent-thread-spawn"

2021

| "matrix-top-level-reply-shape"

2122

| "matrix-room-thread-reply-override"

2223

| "matrix-room-quiet-streaming-preview"

@@ -61,6 +62,7 @@ export type MatrixQaScenarioId =

6162

| "matrix-e2ee-artifact-redaction"

6263

| "matrix-e2ee-media-image"

6364

| "matrix-e2ee-key-bootstrap-failure";

65+

export type MatrixQaE2eeScenarioId = Extract<MatrixQaScenarioId, `matrix-e2ee-${string}`>;

64666567

export type MatrixQaScenarioDefinition = LiveTransportScenarioDefinition<MatrixQaScenarioId> & {

6668

configOverrides?: MatrixQaConfigOverrides;

@@ -73,6 +75,7 @@ export const MATRIX_QA_DRIVER_DM_SHARED_ROOM_KEY = "driver-dm-shared";

7375

export const MATRIX_QA_E2EE_ROOM_KEY = "e2ee";

7476

export const MATRIX_QA_E2EE_VERIFICATION_DM_ROOM_KEY = "e2ee-verification-dm";

7577

export const MATRIX_QA_HOMESERVER_ROOM_KEY = "homeserver";

78+

export const MATRIX_QA_MAIN_ROOM_KEY = "main";

7679

export const MATRIX_QA_MEDIA_ROOM_KEY = "media";

7780

export const MATRIX_QA_MEMBERSHIP_ROOM_KEY = "membership";

7881

export const MATRIX_QA_RESTART_ROOM_KEY = "restart";

@@ -85,7 +88,7 @@ function buildMatrixQaDmTopology(

8588

}>,

8689

): MatrixQaTopologySpec {

8790

return {

88-

defaultRoomKey: "main",

91+

defaultRoomKey: MATRIX_QA_MAIN_ROOM_KEY,

8992

rooms: rooms.map((room) => ({

9093

key: room.key,

9194

kind: "dm" as const,

@@ -102,7 +105,7 @@ function buildMatrixQaSingleGroupTopology(params: {

102105

requireMention: boolean;

103106

}): MatrixQaTopologySpec {

104107

return {

105-

defaultRoomKey: "main",

108+

defaultRoomKey: MATRIX_QA_MAIN_ROOM_KEY,

106109

rooms: [

107110

{

108111

encrypted: params.encrypted === true,

@@ -116,6 +119,23 @@ function buildMatrixQaSingleGroupTopology(params: {

116119

};

117120

}

118121122+

export function buildMatrixQaE2eeScenarioRoomKey(scenarioId: MatrixQaE2eeScenarioId) {

123+

const suffix = scenarioId.replace(/^matrix-e2ee-/, "").replace(/[^A-Za-z0-9_-]/g, "-");

124+

return `${MATRIX_QA_E2EE_ROOM_KEY}-${suffix}`;

125+

}

126+127+

function buildMatrixQaE2eeScenarioTopology(params: {

128+

scenarioId: MatrixQaE2eeScenarioId;

129+

name: string;

130+

}): MatrixQaTopologySpec {

131+

return buildMatrixQaSingleGroupTopology({

132+

encrypted: true,

133+

key: buildMatrixQaE2eeScenarioRoomKey(params.scenarioId),

134+

name: params.name,

135+

requireMention: true,

136+

});

137+

}

138+119139

const MATRIX_QA_DRIVER_DM_TOPOLOGY = buildMatrixQaDmTopology([

120140

{

121141

key: MATRIX_QA_DRIVER_DM_ROOM_KEY,

@@ -170,13 +190,6 @@ const MATRIX_QA_HOMESERVER_ROOM_TOPOLOGY = buildMatrixQaSingleGroupTopology({

170190

requireMention: true,

171191

});

172192173-

const MATRIX_QA_E2EE_ROOM_TOPOLOGY = buildMatrixQaSingleGroupTopology({

174-

encrypted: true,

175-

key: MATRIX_QA_E2EE_ROOM_KEY,

176-

name: "Matrix QA E2EE Room",

177-

requireMention: true,

178-

});

179-180193

const MATRIX_QA_E2EE_VERIFICATION_DM_TOPOLOGY: MatrixQaTopologySpec = {

181194

defaultRoomKey: "main",

182195

rooms: [

@@ -218,6 +231,25 @@ export const MATRIX_QA_SCENARIOS: MatrixQaScenarioDefinition[] = [

218231

timeoutMs: 75_000,

219232

title: "Matrix top-level reply stays out of prior thread",

220233

},

234+

{

235+

id: "matrix-subagent-thread-spawn",

236+

timeoutMs: 75_000,

237+

title: "Matrix sessions_spawn thread=true creates a bound child thread",

238+

configOverrides: {

239+

groupsByKey: {

240+

[MATRIX_QA_MAIN_ROOM_KEY]: {

241+

tools: {

242+

allow: ["sessions_spawn"],

243+

},

244+

},

245+

},

246+

threadBindings: {

247+

enabled: true,

248+

spawnSubagentSessions: true,

249+

},

250+

toolProfile: "coding",

251+

},

252+

},

221253

{

222254

id: "matrix-top-level-reply-shape",

223255

standardId: "top-level-reply-shape",

@@ -448,49 +480,70 @@ export const MATRIX_QA_SCENARIOS: MatrixQaScenarioDefinition[] = [

448480

id: "matrix-e2ee-basic-reply",

449481

timeoutMs: 75_000,

450482

title: "Matrix E2EE encrypted room replies decrypt end-to-end",

451-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

483+

topology: buildMatrixQaE2eeScenarioTopology({

484+

scenarioId: "matrix-e2ee-basic-reply",

485+

name: "Matrix QA E2EE Basic Reply Room",

486+

}),

452487

configOverrides: MATRIX_QA_E2EE_CONFIG,

453488

},

454489

{

455490

id: "matrix-e2ee-thread-follow-up",

456491

timeoutMs: 75_000,

457492

title: "Matrix E2EE encrypted threads preserve reply shape",

458-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

493+

topology: buildMatrixQaE2eeScenarioTopology({

494+

scenarioId: "matrix-e2ee-thread-follow-up",

495+

name: "Matrix QA E2EE Thread Follow-up Room",

496+

}),

459497

configOverrides: MATRIX_QA_E2EE_CONFIG,

460498

},

461499

{

462500

id: "matrix-e2ee-bootstrap-success",

463501

timeoutMs: 90_000,

464502

title: "Matrix E2EE bootstrap verifies the owner device and backup",

465-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

503+

topology: buildMatrixQaE2eeScenarioTopology({

504+

scenarioId: "matrix-e2ee-bootstrap-success",

505+

name: "Matrix QA E2EE Bootstrap Success Room",

506+

}),

466507

configOverrides: MATRIX_QA_E2EE_CONFIG,

467508

},

468509

{

469510

id: "matrix-e2ee-recovery-key-lifecycle",

470511

timeoutMs: 90_000,

471512

title: "Matrix E2EE recovery key restores and resets room-key backup",

472-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

513+

topology: buildMatrixQaE2eeScenarioTopology({

514+

scenarioId: "matrix-e2ee-recovery-key-lifecycle",

515+

name: "Matrix QA E2EE Recovery Key Lifecycle Room",

516+

}),

473517

configOverrides: MATRIX_QA_E2EE_CONFIG,

474518

},

475519

{

476520

id: "matrix-e2ee-device-sas-verification",

477521

timeoutMs: 90_000,

478522

title: "Matrix E2EE device verification completes SAS emoji compare",

479-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

523+

topology: buildMatrixQaE2eeScenarioTopology({

524+

scenarioId: "matrix-e2ee-device-sas-verification",

525+

name: "Matrix QA E2EE Device SAS Verification Room",

526+

}),

480527

configOverrides: MATRIX_QA_E2EE_CONFIG,

481528

},

482529

{

483530

id: "matrix-e2ee-qr-verification",

484531

timeoutMs: 90_000,

485532

title: "Matrix E2EE QR verification completes identity scan",

486-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

533+

topology: buildMatrixQaE2eeScenarioTopology({

534+

scenarioId: "matrix-e2ee-qr-verification",

535+

name: "Matrix QA E2EE QR Verification Room",

536+

}),

487537

configOverrides: MATRIX_QA_E2EE_CONFIG,

488538

},

489539

{

490540

id: "matrix-e2ee-stale-device-hygiene",

491541

timeoutMs: 90_000,

492542

title: "Matrix E2EE stale own devices can be removed without deleting the current device",

493-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

543+

topology: buildMatrixQaE2eeScenarioTopology({

544+

scenarioId: "matrix-e2ee-stale-device-hygiene",

545+

name: "Matrix QA E2EE Stale Device Hygiene Room",

546+

}),

494547

configOverrides: MATRIX_QA_E2EE_CONFIG,

495548

},

496549

{

@@ -504,35 +557,50 @@ export const MATRIX_QA_SCENARIOS: MatrixQaScenarioDefinition[] = [

504557

id: "matrix-e2ee-restart-resume",

505558

timeoutMs: 90_000,

506559

title: "Matrix E2EE encrypted rooms resume after gateway restart",

507-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

560+

topology: buildMatrixQaE2eeScenarioTopology({

561+

scenarioId: "matrix-e2ee-restart-resume",

562+

name: "Matrix QA E2EE Restart Resume Room",

563+

}),

508564

configOverrides: MATRIX_QA_E2EE_CONFIG,

509565

},

510566

{

511567

id: "matrix-e2ee-verification-notice-no-trigger",

512568

timeoutMs: 30_000,

513569

title: "Matrix E2EE verification notices do not trigger replies",

514-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

570+

topology: buildMatrixQaE2eeScenarioTopology({

571+

scenarioId: "matrix-e2ee-verification-notice-no-trigger",

572+

name: "Matrix QA E2EE Verification Notice Room",

573+

}),

515574

configOverrides: MATRIX_QA_E2EE_CONFIG,

516575

},

517576

{

518577

id: "matrix-e2ee-artifact-redaction",

519578

timeoutMs: 75_000,

520579

title: "Matrix E2EE decrypted payloads stay out of default event artifacts",

521-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

580+

topology: buildMatrixQaE2eeScenarioTopology({

581+

scenarioId: "matrix-e2ee-artifact-redaction",

582+

name: "Matrix QA E2EE Artifact Redaction Room",

583+

}),

522584

configOverrides: MATRIX_QA_E2EE_CONFIG,

523585

},

524586

{

525587

id: "matrix-e2ee-media-image",

526588

timeoutMs: 90_000,

527589

title: "Matrix E2EE encrypted image attachments reach the model vision path",

528-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

590+

topology: buildMatrixQaE2eeScenarioTopology({

591+

scenarioId: "matrix-e2ee-media-image",

592+

name: "Matrix QA E2EE Media Image Room",

593+

}),

529594

configOverrides: MATRIX_QA_E2EE_CONFIG,

530595

},

531596

{

532597

id: "matrix-e2ee-key-bootstrap-failure",

533598

timeoutMs: 90_000,

534599

title: "Matrix E2EE bootstrap reports room-key backup failures",

535-

topology: MATRIX_QA_E2EE_ROOM_TOPOLOGY,

600+

topology: buildMatrixQaE2eeScenarioTopology({

601+

scenarioId: "matrix-e2ee-key-bootstrap-failure",

602+

name: "Matrix QA E2EE Key Bootstrap Failure Room",

603+

}),

536604

configOverrides: MATRIX_QA_E2EE_CONFIG,

537605

},

538606

];