Repository navigation
fix(qa): repair release validation scenarios - #119150
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 7:20 PM ET / 23:20 UTC. ClawSweeper reviewWhat this changesThis PR unifies QA Lab’s mock-provider dispatch and strengthens release scenarios for Anthropic tool IDs, Code Mode continuations, causal traces, restart recovery, and Matrix image delivery. Merge readinessKeep open for maintainer review: the QA-only adapter repair remains unique, but later main changes overlap its scenario/config setup and the required direct Codex-source contract check is unavailable in this checkout. Priority: P2 Review scores
Verification
How this fits togetherQA Lab drives gateway scenarios through mock providers and channel drivers, then records request and delivery evidence for release validation. This PR changes those mock-wire and scenario layers, not production agent or channel behavior. flowchart LR
A[QA scenarios] --> B[QA Lab runner]
B --> C[Mock provider adapters]
B --> D[Gateway and channel drivers]
C --> E[Request diagnostics]
D --> F[Observed delivery]
E --> G[Release validation verdict]
F --> G
Decision needed
Why: The branch has useful unique adapter work, but current main independently changed overlapping QA setup and repository policy requires a direct Codex-source contract check before a Code Mode merge verdict. Before merge
Agent review detailsSecurityNone. PR surfaceSource +192, Tests +1068, Other +115. Total +1375 across 26 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase or split the unique mock-provider and causal-evidence repair onto current main, retain later setup ownership unless a current merge-head run proves a necessary change, then verify the pinned Codex contract directly before landing. Do we have a high-confidence way to reproduce the issue? No high-confidence reproduction exists for the current merge result: the supplied artifact covers an earlier exact head, while source establishes deterministic harness paths and later main changed overlapping setup. Is this the best way to solve the issue? No—the unique provider adapter is at the right owner boundary, but this stale branch is not the best landing form until it reconciles current-main scenario setup and re-proves the merged behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against fb81d03d8eb2. 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 (16 earlier review cycles; latest 8 shown)
|
5105ca8 to
93c86a5
Compare
93c86a5 to
9aa3e22
Compare
9aa3e22 to
3ae3b7d
Compare
ed97395 to
6ff8816
Compare
Punchcard-Session: silver-valley-valley-dt
Punchcard-Session: silver-valley-valley-dt
Punchcard-Session: silver-valley-valley-dt
Punchcard-Session: silver-valley-valley-dt
Punchcard-Session: silver-valley-valley-dt
Punchcard-Session: silver-valley-valley-dt
Punchcard-Session: silver-valley-valley-dt
Punchcard-Session: silver-valley-valley-dt
Punchcard-Session: silver-valley-valley-dt
169c209 to
18caa42
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Maintainer verification complete for reviewed head
Owner decision: the ClawSweeper maintainer gates and Rank-up moves are satisfied. Land this QA-only repair. No release, tag, publish, or release-artifact mutation. |
Punchcard-Session: silver-valley-valley-dt
Punchcard-Session: silver-valley-valley-dt
|
Maintainer verification is complete for reviewed head
|
|
Merged via squash.
|
* fix(qa): repair parity and matrix media setup Punchcard-Session: silver-valley-valley-dt * test(qa): accept token-budgeted compaction suffix Punchcard-Session: silver-valley-valley-dt * test(qa): scope request diagnostics Punchcard-Session: silver-valley-valley-dt * test(qa): prove thread-memory causality Punchcard-Session: silver-valley-valley-dt * test(qa): configure Matrix image generation and fail fast Punchcard-Session: silver-valley-valley-dt * fix(qa): require memory get before thread recall Punchcard-Session: silver-valley-valley-dt * fix(qa): unify mock provider dispatch Punchcard-Session: silver-valley-valley-dt * fix(qa): repair Anthropic IDs and compaction causality Punchcard-Session: silver-valley-valley-dt * fix(qa): authenticate compaction wire causality Punchcard-Session: silver-valley-valley-dt * fix(qa): preserve Responses tool item identity Punchcard-Session: silver-valley-valley-dt * fix(qa): scope restart heartbeat proof Punchcard-Session: silver-valley-valley-dt * test(qa): assert causal traces before delivery Punchcard-Session: silver-valley-valley-dt * fix(qa): validate code mode completion evidence Punchcard-Session: silver-valley-valley-dt * test(qa): split causal catalog checks Punchcard-Session: silver-valley-valley-dt * style(qa): format matrix scenario tests Punchcard-Session: silver-valley-valley-dt
What Problem This Solves
Release-style QA Lab validation exposed deterministic harness failures that hid real product coverage:
exec -> wait* -> terminallifecycleRoot Cause And Owner
The defects were in QA Lab's mock-provider wire adapters and scenario causality, not core Matrix, memory, compaction, channel, provider, or agent behavior.
The canonical repair:
No core product timeout, cap, retry, fallback, schema, protocol-version, migration, or release behavior changes.
User Impact
Release validation now fails at the owning harness boundary with useful evidence instead of timing out, overflowing diagnostics, replaying invalid IDs, or accepting incomplete compaction and restart behavior.
Evidence
Exact Candidate
mainparent:ed31a4dd79bf2a6003b2a13442ea5e61ef06885bf322207b2454c96d235b2f2714863209c9b891e28fc44585931decce2e821efac34a599b5845c08a8c3e0f89117e0bd01f73284baf6bf59033cee131with parentsed31a4dd79bf2a6003b2a13442ea5e61ef06885bandf322207b2454c96d235b2f2714863209c9b891e2Punchcard-Session: silver-valley-valley-dtPunchcard-Session: silver-valley-valley-dt2ff86191635616c4f5588564b7860f5a9186018aorigin/main:8d2996937f85786a08e0163d4e62ab8f0cfa903f; its five changed paths are confined to Control UI question prompts and have 0-file overlap with this PRgit merge-tree --write-tree origin/main HEADpassed with treea35777ef88c54bab259353aa83079e595e593651Exact-Head Release-Style QA
mainat9518564e3055dfb60c228268573a797fc7a23c54f322207b2454c96d235b2f2714863209c9b891e28914218423/8914218082) and baseline status/payload artifacts from attempt 2 (8914744124/8914743975), then passed; the final verifier also passed on attempt 2The repaired exact-head scenarios cover both OpenAI and Anthropic, including compaction retry after a mutating tool, thread-memory isolation, config restart capability flip, model switch continuity, and subagent handoff/fanout/stale-link filtering.
Current-Main Merge-Head QA
8c3e0f89117e0bd01f73284baf6bf59033cee131mainated31a4dd79bf2a6003b2a13442ea5e61ef06885bFocused Verification
Direct Codex Contract
OpenClaw pins
@openai/codex0.146.0at Codex tag commite363b08c9175ac1cbe5893615dd2cb9ddf95043b. Current Codexorigin/mainwas also checked at5d89ab65dc9d4d0c55796c11df112b54157922b4.Pinned contract:
codex-rs/core/src/tools/code_mode/mod.rs:220-272Script running with cell IDScript completed,Script failed, orScript terminatedcodex-rs/core/tests/suite/code_mode.rs:568-578,1508-1518,1802-1810Current Codex main preserves the same contract in
codex-rs/core/src/tools/code_mode/mod.rs:223-296and its status tests.ClawSweeper Rank-Up Moves
maindelta is unrelatedDiff
+461/-283, net+178+1436/-239, net+1197+1897/-522, net+13750The harness growth consolidates provider dispatch and adds bounded provider-wire parsing needed to represent existing OpenAI, Anthropic, WebSocket recovery, and Codex Code Mode contracts.
Release Boundary
This validation did not and will not release, tag, publish, promote, or mutate release artifacts.