mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:01:01 +00:00
test(qa): accept path-qualified Matrix error progress
This commit is contained in:
@@ -72,7 +72,7 @@ Docs: https://docs.openclaw.ai
|
|||||||
- Google Meet: keep Chrome realtime transport tests hermetic on Linux prerelease shards while preserving the macOS-only runtime guard. Thanks @vincentkoc.
|
- Google Meet: keep Chrome realtime transport tests hermetic on Linux prerelease shards while preserving the macOS-only runtime guard. Thanks @vincentkoc.
|
||||||
- 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.
|
- 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.
|
||||||
- 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.
|
- 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.
|
||||||
- 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.
|
- 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.
|
||||||
- QA/Matrix: wait for live approval reactions to echo before starting the threaded approval decision timeout. Thanks @vincentkoc.
|
- QA/Matrix: wait for live approval reactions to echo before starting the threaded approval decision timeout. Thanks @vincentkoc.
|
||||||
- QA/Matrix: reuse the primed driver sync stream when confirming approval reaction echoes, avoiding missed self-reactions in live release runs. Thanks @vincentkoc.
|
- QA/Matrix: reuse the primed driver sync stream when confirming approval reaction echoes, avoiding missed self-reactions in live release runs. Thanks @vincentkoc.
|
||||||
- Tlon: expose `groupInviteAllowlist` in the channel config schema and clarify that group invite auto-accept fails closed without an invite allowlist. Thanks @vincentkoc.
|
- Tlon: expose `groupInviteAllowlist` in the channel config schema and clarify that group invite auto-accept fails closed without an invite allowlist. Thanks @vincentkoc.
|
||||||
|
|||||||
@@ -961,7 +961,7 @@ export async function runToolProgressErrorScenario(context: MatrixQaScenarioCont
|
|||||||
expectedPreviewKind: "notice",
|
expectedPreviewKind: "notice",
|
||||||
finalText: buildMatrixQaToken("MATRIX_QA_TOOL_PROGRESS_ERROR"),
|
finalText: buildMatrixQaToken("MATRIX_QA_TOOL_PROGRESS_ERROR"),
|
||||||
label: "tool progress error",
|
label: "tool progress error",
|
||||||
progressPattern: /\bread\s*:?\s*from\s+missing-matrix-tool-progress-target\.txt\b/i,
|
progressPattern: /\bread\s*:?\s*from\s+\S*missing-matrix-tool-progress-target\.txt\b/i,
|
||||||
triggerBodyBuilder: buildMatrixToolProgressErrorPrompt,
|
triggerBodyBuilder: buildMatrixToolProgressErrorPrompt,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2865,7 +2865,7 @@ describe("matrix live qa scenarios", () => {
|
|||||||
event: matrixQaMessageEvent({
|
event: matrixQaMessageEvent({
|
||||||
kind: "notice",
|
kind: "notice",
|
||||||
eventId: previewEventId,
|
eventId: previewEventId,
|
||||||
body: "Pearling...\n`📖 Read: from missing-matrix-tool-progress-target.txt`",
|
body: "Pearling...\n`📖 Read: from /tmp/qa/workspace/missing-matrix-tool-progress-target.txt`",
|
||||||
}),
|
}),
|
||||||
since: "driver-sync-preview",
|
since: "driver-sync-preview",
|
||||||
},
|
},
|
||||||
@@ -2896,7 +2896,8 @@ describe("matrix live qa scenarios", () => {
|
|||||||
await expect(runMatrixQaScenario(scenario!, matrixQaScenarioContext())).resolves.toMatchObject({
|
await expect(runMatrixQaScenario(scenario!, matrixQaScenarioContext())).resolves.toMatchObject({
|
||||||
artifacts: {
|
artifacts: {
|
||||||
driverEventId: "$tool-progress-error-trigger",
|
driverEventId: "$tool-progress-error-trigger",
|
||||||
previewBodyPreview: "Pearling...\n`📖 Read: from missing-matrix-tool-progress-target.txt`",
|
previewBodyPreview:
|
||||||
|
"Pearling...\n`📖 Read: from /tmp/qa/workspace/missing-matrix-tool-progress-target.txt`",
|
||||||
previewEventId: "$tool-progress-error-preview",
|
previewEventId: "$tool-progress-error-preview",
|
||||||
reply: {
|
reply: {
|
||||||
eventId: "$tool-progress-error-final",
|
eventId: "$tool-progress-error-final",
|
||||||
|
|||||||
Reference in New Issue
Block a user