test: keep matrix subagent spawn opt-in · openclaw/openclaw@c3308b9
steipete
·
2026-05-18
·
via Recent Commits to openclaw:main
File tree
extensions/qa-matrix/src/runners/contract
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1226,6 +1226,10 @@ const MATRIX_QA_MEDIA_PROFILE_SCENARIO_IDS = [
|
1226 | 1226 | "matrix-e2ee-media-image", |
1227 | 1227 | ] satisfies MatrixQaScenarioId[]; |
1228 | 1228 | |
| 1229 | +const MATRIX_QA_EXPLICIT_ONLY_SCENARIO_IDS = new Set<MatrixQaScenarioId>([ |
| 1230 | +"matrix-subagent-thread-spawn", |
| 1231 | +]); |
| 1232 | + |
1229 | 1233 | const MATRIX_QA_E2EE_SMOKE_PROFILE_SCENARIO_IDS = [ |
1230 | 1234 | "matrix-e2ee-basic-reply", |
1231 | 1235 | "matrix-e2ee-thread-follow-up", |
@@ -1260,7 +1264,9 @@ function normalizeMatrixQaProfile(profile?: string): MatrixQaProfile {
|
1260 | 1264 | } |
1261 | 1265 | |
1262 | 1266 | function getMatrixQaProfileScenarioIds(profile: MatrixQaProfile): MatrixQaScenarioId[] { |
1263 | | -const allIds = MATRIX_QA_SCENARIOS.map((scenario) => scenario.id); |
| 1267 | +const allIds = MATRIX_QA_SCENARIOS.map((scenario) => scenario.id).filter( |
| 1268 | +(id) => !MATRIX_QA_EXPLICIT_ONLY_SCENARIO_IDS.has(id), |
| 1269 | +); |
1264 | 1270 | const mediaIds = buildMatrixQaScenarioIdSet(MATRIX_QA_MEDIA_PROFILE_SCENARIO_IDS); |
1265 | 1271 | const smokeIds = buildMatrixQaScenarioIdSet(MATRIX_QA_E2EE_SMOKE_PROFILE_SCENARIO_IDS); |
1266 | 1272 | switch (profile) { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -294,7 +294,6 @@ describe("matrix live qa scenarios", () => {
|
294 | 294 | "matrix-thread-root-preservation", |
295 | 295 | "matrix-thread-nested-reply-shape", |
296 | 296 | "matrix-thread-isolation", |
297 | | -"matrix-subagent-thread-spawn", |
298 | 297 | "matrix-top-level-reply-shape", |
299 | 298 | "matrix-room-thread-reply-override", |
300 | 299 | "matrix-room-partial-streaming-preview", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。