Repository navigation
fix(qa): isolate Matrix live validation state - #116071
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 29, 2026, 5:03 PM ET / 21:03 UTC. ClawSweeper reviewWhat this changesThis PR isolates stateful Matrix live-QA scenarios, resets restart-sensitive observer state, and prevents the mock OpenAI provider from reusing stale tool output after a newer user turn. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 3 items remain Keep this PR open for protected maintainer handling. The supplied diff and PR context describe a targeted Matrix QA reliability repair with focused regression coverage, but the current Priority: P2 Review scores
Verification
How this fits togetherThe QA Lab plugin runs Matrix release-validation scenarios against a disposable homeserver, tracks scenario-owned transport and session state, and uses a mock provider to make expected agent behavior deterministic. Scenario definitions feed the suite planner and Matrix harness, which produce release-validation results. flowchart LR
A[Matrix QA scenarios] --> B[Suite planner]
B --> C[Disposable Matrix harness]
C --> D[Scenario-owned sessions and observers]
D --> E[Mock provider prompt handling]
E --> F[Release validation results]
Decision needed
Why: The supplied PR body reports automated regressions and an internal maintainer decision, but the current PR state still advertises missing proof and no explicit override label is present in the provided context. Before merge
Agent review detailsSecurityNone. PR surfaceSource +131, Tests +711, Other +27. Total +869 across 36 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the scenario-owned isolation and prompt-ownership design, then either attach a redacted Matrix harness/live-validation artifact or explicitly record the maintainer-approved proof override before merging after required checks finish. Do we have a high-confidence way to reproduce the issue? No high-confidence live reproduction was provided in the available context. The affected path is source-reproducible from the Matrix harness, scenario environment, and mock-provider changes, but read-only terminal inspection was blocked before a current-head verification could be completed. Is this the best way to solve the issue? Unclear. The proposed owner-boundary isolation is plausible and is covered by focused regressions, but a full current-main and sibling-path comparison could not be completed because the review sandbox rejected all repository inspection commands. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model internal, reasoning high; reviewed against 73808753757e. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
7687869 to
6fa79ef
Compare
|
Merged via squash.
|
* fix(qa): isolate Matrix live scenario routing * fix(qa): preserve Matrix mention filenames * fix(qa): reset Matrix transport scenario state * test(qa): isolate stateful Matrix scenario partitions * test(qa): match numbered Matrix isolation * test(qa): reject stale Matrix progress results * fix(qa): bound Matrix scenario prompt ownership * fix(qa): bound mock scenario ownership * test(qa): satisfy Matrix validation gates * refactor(qa): remove stale prompt helper * fix(qa): preserve tool-result ownership after rebase
What Problem This Solves
Resolves Matrix live-QA failures where stateful scenarios shared transport/session state, restart-spanning polls lost interruption ownership, reaction observers crossed scenario boundaries, and mock-provider prompt lookup could resurrect stale output across a newer ordinary user turn.
Why This Change Was Made
This forward-ports the reusable Matrix validation fixes found during beta.6 preparation. Stateful flows now declare suite isolation, the Matrix harness carries restart generations and scenario-owned observers explicitly, and mock prompt/tool-output lookup walks backward only across explicit continuation turns.
User Impact
No direct product behavior changes. Matrix release validation now exercises each flow with deterministic transport, session, reaction, and prompt ownership instead of leaking state between scenarios.
Evidence
55dd5d5c93fwhile preserving main's per-user-turn tool-output ownership; the combined provider suite passed 159/159.git diff --checkpassed.Maintainer Proof Decision
ClawSweeper's stale-prompt ownership rank-up move is satisfied by regressions for an ordinary newer
retryturn and same-family progress/block envelopes. A durable terminal live Matrix artifact is not available: the earlier release Matrix child was cancelled and is not being represented as proof. For this internal QA-only forward-port, the assigned maintainer accepts that gap as non-blocking; the complete live Matrix catalog remains part of Full Release Validation before beta publication.