Repository navigation
fix(qa): restore prerelease validation - #118255
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 10:05 PM ET / August 3, 2026, 02:05 UTC. ClawSweeper reviewWhat this changesThe PR updates QA Lab’s mock provider to recognize structured Code Mode write results and makes WhatsApp monitor test fixtures return accepted send results so prerelease scenarios match current production contracts. Merge readinessKeep this maintainer-authored PR open: current main still only recognizes the legacy text write result, while the branch adds deterministic recognition for the structured completed, replay-unsafe write envelope and accepted WhatsApp fixture sends. The proposed change is narrow and covered by focused regressions, but this review cannot complete the repository-required direct Codex source check because the sibling Priority: P2 Review scores
Verification
How this fits togetherQA Lab drives prerelease scenarios through mock provider responses, and WhatsApp monitor fixtures emulate channel socket sends. These components feed release-validation checks that must distinguish completed writes and accepted message sends from failed or replay-safe outcomes. flowchart LR
Scenario[Prerelease scenario] --> MockProvider[QA mock provider]
MockProvider --> ResultMatcher[Structured write-result matcher]
ResultMatcher --> RetryFlow[Compaction retry response]
SocketFixture[WhatsApp socket fixture] --> SendResult[Accepted send result]
SendResult --> LifecycleTest[Monitor lifecycle test]
RetryFlow --> ReleaseValidation[Prerelease validation]
LifecycleTest --> ReleaseValidation
Before merge
Agent review detailsSecurityNone. PR surfaceSource +50, Tests +173. Total +223 across 4 files. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Make the sibling Codex source available for the required transport-boundary inspection, then merge this focused QA-only repair once the current merge head has green prerelease validation. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main accepts only a legacy text write result, while the branch supplies a deterministic structured completion scenario and regression cases. The PR body also reports successful after-fix CI/Testbox runs, but this read-only review did not execute them. Is this the best way to solve the issue? Yes, conditionally: the patch updates the QA and fixture owners rather than weakening production acceptance or replay policy, and it preserves negative cases. Direct Codex transport-source inspection is still required by repository policy before a merge-ready verdict. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against d93d07ac02ad. 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 (4 earlier review cycles)
|
973ecfc to
4baccb8
Compare
4baccb8 to
a5d7686
Compare
|
@clawsweeper re-review Addressed the prior P2 at head
The linked-worktree local test could not load because its existing native binding is stale ( |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
* origin/main: refactor(agents): centralize terminal lifecycle outcomes (#118254) fix(scripts): warm gateway concurrency probes (#118364) test(discord): consolidate activity HTTP fixtures (#118314) fix(qa): restore prerelease validation (#118255) improve(tests): focus overflow compaction owner coverage (#118351) test(telegram): deduplicate dispatch fixtures (#118319) test(xai): consolidate realtime voice fixtures (#118318) fix(telegram): prevent durable ingress lane spins (#118357)
* test(whatsapp): return accepted monitor send results * fix(qa): recognize Code Mode write results
What Problem This Solves
Resolves two deterministic prerelease validation failures that blocked the
Beta 8 candidate lane:
so the Anthropic compaction retry scenario timed out after the write.
The separate OpenAI realtime teardown failure was fixed on
mainby #118204and is intentionally not duplicated here.
Why This Change Was Made
The production contracts are correct. This updates the owning WhatsApp fixture
and QA mock-provider recognition without weakening send acceptance or replay
safety.
Direct inspection of
openai/codex@bb5054fe47abconfirms that dynamic-toolresponses preserve client
inputTextthrough the app-server and core toolhandler, including structured JSON text. OpenClaw's Code Mode adapter sends the
tool result text through that contract unchanged.
User Impact
No runtime user behavior changes. Prerelease validation now exercises the
current production contracts without deterministic fixture failures.
Evidence
check:changedpassed.compaction-retry-mutating-toolpassed end to end.check:changedpassed.check:changedpassed.openclaw/ci-gatepassed.codex-rs/app-server-protocol/src/protocol/v2/item.rs:1548codex-rs/app-server/src/dynamic_tools.rs:18codex-rs/core/src/tools/handlers/dynamic.rs:113codex-rs/app-server/tests/suite/v2/dynamic_tools.rs:339scripts/pr prepare-run 118255: passed with hosted exact/recent-base gates.git diff --check: passed.AI-assisted: yes. The changes and proof were reviewed directly.