Repository navigation
fix(qa): reserve Matrix no-reply cleanup budget - #127280
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
d7f0778 to
5c444db
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 29, 2026, 2:49 AM ET / 06:49 UTC. ClawSweeper reviewWhat this changesThe PR removes three Matrix QA scenario whole-flow timeouts and adds a catalog regression test confirming that those scenarios leave the timeout unset. Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readinessNo blocking correctness finding: the PR removes the watchdog-triggering overrides while retaining the provider budget for Matrix preparation. It remains open for normal maintainer handling because the exact-head check rollup is still incomplete and the PR carries the protected Priority: P2 Review scores
Verification
How this fits togetherMatrix QA scenarios are loaded into the QA Lab flow runner, which gives Matrix setup either a scenario timeout or a provider-resolved turn budget. A scenario timeout also creates a watchdog around every flow step, so its presence determines whether setup and later scenario actions are cut short together. flowchart LR
A[Matrix scenario YAML] --> B[Scenario catalog]
B --> C[QA flow runner]
C --> D[Provider turn budget]
C --> E[Scenario watchdog]
D --> F[Matrix flow preparation]
E --> G[Flow-step cancellation]
F --> H[Matrix scenario result]
G --> H
Before merge
Agent review detailsSecurityNone. PR surfaceTests +17, Other -3. Total +14 across 4 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Merge after the exact-head required checks complete successfully, preserving the runner’s separation between a provider preparation budget and an explicitly configured whole-flow deadline. Do we have a high-confidence way to reproduce the issue? Yes, source-reproducible: an explicit fixture timeout creates the watchdog at Is this the best way to solve the issue? Yes: removing only the three explicit overrides fixes the owner-boundary conflict without changing the generic runner, provider policy, or Matrix transport behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b89c80318eac. LabelsLabel 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
HistoryReview history (13 earlier review cycles; latest 8 shown)
|
|
@clawsweeper re-review Addressed the current feedback at the shared Matrix timing owner: configured no-reply windows now retain a 5-second preparation/cleanup reserve, and the existing resolver regression proves a 15-second override cannot equal a 15-second flow deadline. Diff formatting, Exact-head CI passed: https://github.com/openclaw/openclaw/actions/runs/32786680156/job/97622330412 |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
9366bf3 to
2fd3db3
Compare
|
@clawsweeper re-review Rebased onto current |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
2fd3db3 to
8eaa040
Compare
|
@clawsweeper re-review Removed the deadline-ownership scenario-ID allowlist entirely. Head
Pre-fix reproduction: after removing the allowlist while retaining the old universal timeout assertion, |
|
@clawsweeper re-review Addressed the current P2 at the timeout owner boundary on
Focused QA proof: 2 files / 20 tests passed. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Addressed the current ClawSweeper P2 on exact head The Matrix catalog now pins the exact three provider-budgeted scenarios and asserts their execution definitions have no whole-flow @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
bed6270 to
1338061
Compare
|
Refreshed onto current @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
* fix(qa): reserve Matrix no-reply cleanup budget * fix(qa): reserve Matrix no-reply deadline headroom * fix(qa): use canonical scenario deadline grace * test(qa): derive flow deadline ownership structurally * test(qa): require one Matrix deadline owner * fix(qa): keep Matrix flow deadlines explicit * fix(qa): restore provider-owned Matrix timeouts * test(qa): pin Matrix provider-owned deadlines * fix(qa): keep Matrix deadline assertion typed * fix(qa): satisfy Matrix catalog lint
Summary
Root cause
The three model-driven, multi-phase flows declared 45/60/75-second scenario deadlines. An explicit scenario
timeoutMshas two effects: it installs a whole-flow watchdog and it replaces the provider-resolved timeout passed to Matrix preparation.In
live-frontier,openai/gpt-5*owns a 360-second turn budget. The shorter scenario deadlines could abort otherwise healthy isolated Matrix workers before that budget elapsed. Omitting them restores the existing phase-level contract:prepareFlowreceives the provider timeout, Matrix waits remain bounded, and the flow runner does not reinterpret the preparation fallback as a whole-flow deadline.Evidence
suite-runtime-flowregression proves an absent explicit deadline uses the provider timeout for preparation without creating a whole-flow deadlineValidation
node scripts/run-vitest.mjs extensions/qa-lab/src/live-transports/matrix/matrix-scenario-flows.test.ts extensions/qa-lab/src/suite-runtime-flow.test.ts— 2 files, 20 tests passedgit diff --checkScope
Production LOC: +0/-0. Tests: +0/-1. Scenario configuration: +0/-3. No product runtime, retry, Matrix protocol, or transport behavior changed.