Repository navigation
fix(qa): include pinned gateway restart in core runtime proof - #118009
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 6, 2026, 6:43 AM ET / 10:43 UTC. ClawSweeper reviewWhat this changesAdds a blocking scheduled QA run of the three-restart gateway scenario with GPT-5.4 pinned for both OpenClaw and Codex, plus selection and workflow-order regression coverage. Merge readinessThis PR is still necessary: current main excludes the pinned GPT-5.4 restart scenario from the moving-model core lane. The prior ordering blocker is fixed at the current PR head, but protected maintainer review is needed for scheduled-model capacity and the unavailable direct Codex-source audit. Priority: P2 Review scores
Verification
How this fits togetherQA Lab selects declared runtime-pair scenarios only when their provider and model requirements match the scheduled lane. The scheduled workflow runs both runtimes and stores their evidence artifacts for maintainers. flowchart LR
A[Scenario catalog] --> B[Provider and model eligibility]
B --> C[Scheduled core QA lane]
C --> D[Pinned restart pair]
D --> E[OpenClaw and Codex]
E --> F[Artifacts and advisory report]
Decision needed
Why: The code repair is narrow, but accepting a permanent paid live-model gate and its quota-failure behavior is an operational maintainer choice. Before merge
Agent review detailsSecurityNone. PR surfaceTests +67, Config +19. Total +86 across 3 files. View PR surface stats
Review metrics
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: Keep the narrow in-job pinned pair, restore sufficient scheduled GPT-5.4 capacity, and complete a direct Codex-source audit before accepting it as durable cross-runtime coverage. Do we have a high-confidence way to reproduce the issue? Yes—source establishes the mismatch: the core member requires GPT-5.4 while the scheduled broad lane uses its moving model, and the resolver excludes model mismatches. The read-only review did not execute the live suite. Is this the best way to solve the issue? Yes for the QA owner boundary: a separate explicit pinned invocation preserves the broad lane and existing selector semantics. Direct Codex-source verification remains unavailable in this environment. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a3b09821488d. 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
HistoryReview history (4 earlier review cycles)
|
|
ClawSweeper rank-up follow-through for exact head
No tracked change followed this proof attempt; the reviewed head remains exact. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
…aw#118009) * fix(qa): run pinned gateway restart runtime pair * fix(qa): run pinned pair before advisory report
Closes #118006
What Problem This Solves
Fixes an issue where the scheduled canonical live core runtime-pair workflow silently omitted
gateway-restart-multi-livebecause the broad lane requests the movingopenai/gpt-5.6-lunadefault while this declared core member intentionally requiresopenai/gpt-5.4.That left a false coverage claim: neither the OpenClaw nor Codex cell exercised the three-restart scenario, even though the catalog counted it in the core runtime-pair lane.
Why This Change Was Made
The existing scheduled live core runtime-pair job now runs one additional targeted, blocking pair after its unchanged broad advisory lane/report. Both cells receive
openai/gpt-5.4; the command has no--allow-failures, and its output lives under the job's existing artifact root.This is the best fix because history shows the scenario was introduced by #105126 as
runtimeParityTier: live-only, so its pair intent and explicit GPT-5.4 contract are deliberate. The change preserves the moving broad-lane default, provider/model and channel-driver orthogonality, canonical selector behavior, and the single scenario declaration. RemovingruntimePairLane: corewould discard intended coverage; repinning the scenario to GPT-5.6 would violate its live contract; changing selector/planner semantics would race draft #116446 at exact head1885109ec45d5c954d7619956217c99c76a88026and would be the wrong owner boundary.The targeted suite already creates isolated gateway/runtime state, so it safely shares the canonical job's checkout, build, credentials, runner, timeout, and upload instead of duplicating the workflow lane.
Direct Codex contract audit used sibling
openai/codexrevision2e1607ee2fa8099a233df7437adee5f16a741905:codex-rs/app-server-protocol/src/protocol/v2/thread.rs:56-65,167-175—thread/startaccepts the requested model/provider and returns the realized model/provider; provider-model fallback defaults off.codex-rs/models-manager/src/manager.rs:150-179,483-518andmanager_tests.rs:281-382— explicit models are preserved unless fallback is explicitly enabled.codex-rs/core/src/client.rs:824-907— the resolved model slug is sent on the provider request.codex-rs/model-provider-info/src/lib.rs:280-299,model-provider/src/auth.rs:267-279, andapp-server/src/bespoke_event_handling.rs:901-941,1442-1467— missing credentials and terminal provider errors fail rather than no-op or fulfill coverage.User Impact
No end-user runtime behavior or defaults change. Maintainers regain honest scheduled evidence for the pinned core restart scenario: both runtimes must complete it on live OpenAI GPT-5.4, and missing credentials, model unavailability, or either cell failing makes the targeted proof fail.
Evidence
node scripts/run-vitest.mjs extensions/qa-lab/src/scenario-catalog.runtime-pair.test.ts: 4/4 passed.node scripts/run-vitest.mjs test/scripts/package-acceptance-workflow.test.ts: 141/141 passed.actionlint .github/workflows/qa-live-transports-convex.yml: passed.git diff --check: passed.tbx_01kz1db6gzs92h312ce7dw5qy0, run 30751751225); proof is patch-identical to the final rebase, whose two intervening main commits touched unrelated workflow/UI files.+0/-0. Workflow:+19/-0; tests:+63/-0.