test(qa): accept path-qualified Matrix error progress · openclaw/openclaw@36bcf88
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 |
|---|
@@ -72,7 +72,7 @@ Docs: https://docs.openclaw.ai
|
72 | 72 | - Google Meet: keep Chrome realtime transport tests hermetic on Linux prerelease shards while preserving the macOS-only runtime guard. Thanks @vincentkoc. |
73 | 73 | - 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. |
74 | 74 | - 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. |
75 | | -- 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. |
| 75 | +- 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 an unlabelled/pathless `read from`. Thanks @vincentkoc. |
76 | 76 | - QA/Matrix: wait for live approval reactions to echo before starting the threaded approval decision timeout. Thanks @vincentkoc. |
77 | 77 | - QA/Matrix: reuse the primed driver sync stream when confirming approval reaction echoes, avoiding missed self-reactions in live release runs. Thanks @vincentkoc. |
78 | 78 | - Tlon: expose `groupInviteAllowlist` in the channel config schema and clarify that group invite auto-accept fails closed without an invite allowlist. Thanks @vincentkoc. |
|
| 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: /\bread\s*:?\s*from\s+missing-matrix-tool-progress-target\.txt\b/i, |
| 964 | +progressPattern: /\bread\s*:?\s*from\s+\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: "Pearling...\n`📖 Read: from missing-matrix-tool-progress-target.txt`", |
| 2868 | +body: "Pearling...\n`📖 Read: from /tmp/qa/workspace/missing-matrix-tool-progress-target.txt`", |
2869 | 2869 | }), |
2870 | 2870 | since: "driver-sync-preview", |
2871 | 2871 | }, |
@@ -2896,7 +2896,8 @@ 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: "Pearling...\n`📖 Read: from missing-matrix-tool-progress-target.txt`", |
| 2899 | +previewBodyPreview: |
| 2900 | +"Pearling...\n`📖 Read: from /tmp/qa/workspace/missing-matrix-tool-progress-target.txt`", |
2900 | 2901 | previewEventId: "$tool-progress-error-preview", |
2901 | 2902 | reply: { |
2902 | 2903 | eventId: "$tool-progress-error-final", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。