You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aaa870f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/concepts/qa-matrix.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,13 @@ Plain `pnpm openclaw qa matrix` runs `--profile all` and does not stop on first
23
23
24
24
## What the lane does
25
25
26
-
1. Provisions a disposable Tuwunel homeserver in Docker (default image `ghcr.io/matrix-construct/tuwunel:v1.5.1`, server name `matrix-qa.test`, port `28008`).
26
+
1. Provisions a disposable Tuwunel homeserver in Docker (default image `ghcr.io/matrix-construct/tuwunel:v1.5.1`, server name `matrix-qa.test`, port `28008`) behind a bounded redacting request/response recorder.
27
27
2. Registers three temporary users - `driver` (sends inbound traffic), `sut` (the OpenClaw Matrix account under test), `observer` (third-party traffic capture).
28
28
3. Seeds rooms required by the selected scenarios (main, threading, media, restart, secondary, allowlist, E2EE, verification DM, etc.).
29
-
4. Starts a child OpenClaw gateway with the real Matrix plugin scoped to the SUT account; `qa-channel` is not loaded in the child.
30
-
5. Runs scenarios in sequence, observing events through the driver/observer Matrix clients.
31
-
6. Tears down the homeserver, writes report and summary artifacts, then exits.
29
+
4. Runs the substrate-neutral `matrix-qa-v1` protocol probe against the recorded Tuwunel boundary. Unit tests prove the probe contract with the Matrix protocol fixture; the canonical QA transport adapter host in [#99707](https://github.com/openclaw/openclaw/pull/99707) owns real Crabline target wiring.
30
+
5. Starts a child OpenClaw gateway with the real Matrix plugin scoped to the SUT account; `qa-channel` is not loaded in the child.
31
+
6. Runs scenarios in sequence, observing events through the driver/observer Matrix clients and deriving route/state expectations from the recorded traffic.
32
+
7. Tears down the homeserver, writes report and evidence artifacts, then exits.
|`--profile <profile>`|`all`| Scenario profile. See [Profiles](#profiles). |
44
-
|`--fail-fast`| off | Stop after the first failed check or scenario. |
45
-
|`--scenario <id>`| - | Run only this scenario. Repeatable. See [Scenarios](#scenarios). |
46
-
|`--output-dir <path>`|`<repo>/.artifacts/qa-e2e/matrix-<timestamp>`| Where reports, summary, observed events, and the output log are written. Relative paths resolve against `--repo-root`. |
47
-
|`--repo-root <path>`|`process.cwd()`| Repository root when invoking from a neutral working directory. |
48
-
|`--sut-account <id>`|`sut`| Matrix account id inside the QA gateway config. |
|`--profile <profile>`|`all`| Scenario profile. See [Profiles](#profiles). |
45
+
|`--fail-fast`| off | Stop after the first failed check or scenario. |
46
+
|`--scenario <id>`| - | Run only this scenario. Repeatable. See [Scenarios](#scenarios). |
47
+
|`--output-dir <path>`|`<repo>/.artifacts/qa-e2e/matrix-<timestamp>`| Where reports, summary, route/state inventory, observed events, and the output log are written. Relative paths resolve against `--repo-root`. |
48
+
|`--repo-root <path>`|`process.cwd()`| Repository root when invoking from a neutral working directory. |
49
+
|`--sut-account <id>`|`sut`| Matrix account id inside the QA gateway config. |
49
50
50
51
### Provider flags
51
52
@@ -114,6 +115,7 @@ Written to `--output-dir`:
114
115
115
116
-`matrix-qa-report.md` - Markdown protocol report (what passed, failed, was skipped, and why).
116
117
-`matrix-qa-summary.json` - Structured summary suitable for CI parsing and dashboards.
118
+
-`matrix-qa-route-state-manifest.json` - Dynamic `matrix-qa-v1` inventory keyed by scenario id. It records redacted route/body shapes, request ordering, observed retries, errors, sync-token continuity, and device/key/media/backup state families observed during that run. This is executable evidence, not a checked-in baseline.
117
119
-`matrix-qa-observed-events.json` - Observed Matrix events from the driver and observer clients. Bodies are redacted unless `OPENCLAW_QA_MATRIX_CAPTURE_CONTENT=1`; approval metadata is summarized with selected safe fields and truncated command preview.
118
120
-`matrix-qa-output.log` - Combined stdout/stderr from the run. If `OPENCLAW_RUN_NODE_OUTPUT_LOG` is set, the outer launcher's log is reused instead.
0 commit comments