test(qa): accept Matrix read progress labels · openclaw/openclaw@5f416f0
vincentkoc
·
2026-05-04
·
via Recent Commits to openclaw:main
File tree
extensions/qa-matrix/src/runners/contract
| Original file line number | Diff line number | Diff line change |
|---|
@@ -57,7 +57,7 @@ Docs: https://docs.openclaw.ai
|
57 | 57 | - Google Meet: grant Meet media permissions through the Playwright browser context when CDP grants do not affect the attached Chrome page, and report in-call microphone/speaker permission problems instead of marking realtime speech ready. |
58 | 58 | - QA/Slack: fail the live mention-gating scenario on any unexpected SUT reply, even when the reply does not echo the expected marker. Thanks @vincentkoc. |
59 | 59 | - QA/Matrix: steer the live tool-progress preview check away from `HEARTBEAT.md` and report final preview candidates when the live marker reply misses the exact token. Thanks @vincentkoc. |
60 | | -- QA/Matrix: let the live tool-progress preview check verify progress replacement events without depending on the preview saying `Working`. Thanks @vincentkoc. |
| 60 | +- QA/Matrix: let the live tool-progress preview check verify progress replacement events without depending on the preview saying `Working` or `tool: read`. Thanks @vincentkoc. |
61 | 61 | - QA/Matrix: wait for live approval reactions to echo before starting the threaded approval decision timeout. Thanks @vincentkoc. |
62 | 62 | - Tlon: expose `groupInviteAllowlist` in the channel config schema and clarify that group invite auto-accept fails closed without an invite allowlist. Thanks @vincentkoc. |
63 | 63 | - Control UI/WebChat: collapse duplicate in-flight internal text sends onto the active Gateway run so rapid repeat submits do not start fresh `agent:main:main` dispatches. Fixes #75737. Thanks @dsdsddd1 and @BunsDev. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -951,7 +951,7 @@ export async function runToolProgressPreviewScenario(context: MatrixQaScenarioCo
|
951 | 951 | finalText: buildMatrixQaToken("MATRIX_QA_TOOL_PROGRESS"), |
952 | 952 | label: "tool progress preview", |
953 | 953 | allowGenericProgressLine: true, |
954 | | -progressPattern: /\btool:\s*read\b/i, |
| 954 | +progressPattern: /\b(?:tool:\s*)?read\s*:\s*from\b|\btool:\s*read\b/i, |
955 | 955 | triggerBodyBuilder: buildMatrixToolProgressPrompt, |
956 | 956 | }); |
957 | 957 | } |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2614,7 +2614,7 @@ describe("matrix live qa scenarios", () => {
|
2614 | 2614 | event: matrixQaMessageEvent({ |
2615 | 2615 | kind: "notice", |
2616 | 2616 | eventId: previewEventId, |
2617 | | -body: "Working...\n- `tool: read`", |
| 2617 | +body: "Barnacling...\n`📖 Read: from /tmp/qa/workspace/QA_KICKOFF_TASK.md`", |
2618 | 2618 | }), |
2619 | 2619 | since: "driver-sync-preview", |
2620 | 2620 | }, |
@@ -2645,7 +2645,7 @@ describe("matrix live qa scenarios", () => {
|
2645 | 2645 | await expect(runMatrixQaScenario(scenario!, matrixQaScenarioContext())).resolves.toMatchObject({ |
2646 | 2646 | artifacts: { |
2647 | 2647 | driverEventId: "$tool-progress-trigger", |
2648 | | -previewBodyPreview: "Working...\n- `tool: read`", |
| 2648 | +previewBodyPreview: "Barnacling...\n`📖 Read: from /tmp/qa/workspace/QA_KICKOFF_TASK.md`", |
2649 | 2649 | previewEventId: "$tool-progress-preview", |
2650 | 2650 | reply: { |
2651 | 2651 | eventId: "$tool-progress-final", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。