test(qa): accept Matrix error progress labels · openclaw/openclaw@1be1131
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 |
|---|
@@ -67,7 +67,7 @@ Docs: https://docs.openclaw.ai
|
67 | 67 | - 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. |
68 | 68 | - 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. |
69 | 69 | - 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. |
70 | | -- 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. |
| 70 | +- QA/Matrix: let the live tool-progress preview and error checks verify progress replacement events without depending on the preview saying `Working`, `tool: read`, or unlabelled `read from`. Thanks @vincentkoc. |
71 | 71 | - QA/Matrix: wait for live approval reactions to echo before starting the threaded approval decision timeout. Thanks @vincentkoc. |
72 | 72 | - Tlon: expose `groupInviteAllowlist` in the channel config schema and clarify that group invite auto-accept fails closed without an invite allowlist. Thanks @vincentkoc. |
73 | 73 | - 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 |
|---|
@@ -961,7 +961,7 @@ export async function runToolProgressErrorScenario(context: MatrixQaScenarioCont
|
961 | 961 | expectedPreviewKind: "notice", |
962 | 962 | finalText: buildMatrixQaToken("MATRIX_QA_TOOL_PROGRESS_ERROR"), |
963 | 963 | label: "tool progress error", |
964 | | -progressPattern: /read from missing-matrix-tool-progress-target\.txt/i, |
| 964 | +progressPattern: /\bread\s*:?\s*from\s+missing-matrix-tool-progress-target\.txt\b/i, |
965 | 965 | triggerBodyBuilder: buildMatrixToolProgressErrorPrompt, |
966 | 966 | }); |
967 | 967 | } |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2865,7 +2865,7 @@ describe("matrix live qa scenarios", () => {
|
2865 | 2865 | event: matrixQaMessageEvent({ |
2866 | 2866 | kind: "notice", |
2867 | 2867 | eventId: previewEventId, |
2868 | | -body: "Working...\n- `read from missing-matrix-tool-progress-target.txt`", |
| 2868 | +body: "Pearling...\n`📖 Read: from missing-matrix-tool-progress-target.txt`", |
2869 | 2869 | }), |
2870 | 2870 | since: "driver-sync-preview", |
2871 | 2871 | }, |
@@ -2896,7 +2896,7 @@ describe("matrix live qa scenarios", () => {
|
2896 | 2896 | await expect(runMatrixQaScenario(scenario!, matrixQaScenarioContext())).resolves.toMatchObject({ |
2897 | 2897 | artifacts: { |
2898 | 2898 | driverEventId: "$tool-progress-error-trigger", |
2899 | | -previewBodyPreview: "Working...\n- `read from missing-matrix-tool-progress-target.txt`", |
| 2899 | +previewBodyPreview: "Pearling...\n`📖 Read: from missing-matrix-tool-progress-target.txt`", |
2900 | 2900 | previewEventId: "$tool-progress-error-preview", |
2901 | 2901 | reply: { |
2902 | 2902 | eventId: "$tool-progress-error-final", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。