Repository navigation
fix(test): restore thinking route auth fixtures - #149049
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
@clawsweeper re-review Please review exact head 0b92a1f. One fixture reader binding preserves the six existing thinking route assertions. Original CI records all six failures; candidate ordinary CI is running. No production or native Codex behavior change. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Codex review: needs maintainer review before merge. Reviewed September 15, 2026, 8:18 AM ET / 12:18 UTC (Revision 2). ClawSweeper reviewWhat this changesUpdates the thinking-route tests to supply their existing credential fixtures through the runtime auth-store reader. Merge readiness✅ Ready for maintainer review The fixture repair remains necessary on fetched main, preserves the existing assertions, and has no actionable review findings. The relevant CI shard now passes at the pinned head; discussion confirms this PR is the coordinated prerequisite for ongoing repairs. Priority: P3 Review scores
Verification
How this fits togetherRuntime preparation combines the selected model, credential profile, and thinking settings before an agent runs. These tests verify that Platform and subscription routes retain their distinct thinking behavior. flowchart LR
A[Selected credential profile] --> C[Runtime preparation]
B[Test credential store] --> D[Runtime auth reader]
D --> C
C --> E[Platform or subscription route]
E --> F[Thinking behavior assertions]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +1. Total +1 across 1 file. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep the production runtime reader and restore the existing fixture input while preserving all route assertions. Do we have a high-confidence way to reproduce the issue? Yes, source inspection identifies the fixture-reader mismatch behind the six reported failures; the corresponding candidate CI shard now passes. This review did not execute tests locally. Is this the best way to solve the issue? Yes. Supplying the same fixture store through the current reader repairs setup without weakening assertions or reverting the production read-only behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 92877d15de1f. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Confirming this is the remaining red-main symptom after #148860: |
|
Tracking #149049 as the canonical prerequisite for #85308, not creating a competing fixture patch. #85308 exact head e0155c7 reproduces the same six thinking-route failures in job 104369101354. Its thinking fixture and model resolver are byte-identical to main 80936b0; the one-line runtime-loader mock here matches that failure. I am preserving your authorship and current writer/review custody. I will integrate the landed prerequisite into #85308 and rerun its exact-head gates. If canonical landing needs maintainer help once this PR's required review/CI settles, I can carry the existing PR through the native path without a replacement branch. |
|
Tracking this as the canonical prerequisite for #146645. Its exact-head CI reproduces the same six thinking-route failures in job 104374165539; the config repair itself has completed real published-updater/systemd qualification. The clean review of Update: the required exact-head CI gate is now successful, and raw job104368721924 confirms all six unchanged cases pass. Native review setup is complete in an isolated maintainer checkout; I am carrying this existing head through artifact validation, prepare and pinned-head merge. No branch/source change is planned. I will recheck live state before dispatch so an existing completed or accepted landing is not repeated. |
|
Merged via squash.
|
Include upstream UI setup and thinking auth fixture fixes from #149023 and #149049 without additional production auth changes. Preserve the reviewed Android palette repair and source-only locale boundary. Co-authored-by: IWhatsskill <[email protected]>
Merge upstream through ed264cc to include the already-landed runtime preparation auth fixture fix (openclaw#149049), preserving the contributor branch ancestry. Co-authored-by: VACInc <[email protected]>
Related: #149005
What Problem This Solves
Fixes six runtime-preparation thinking tests failing before their route assertions after model lookup switched to the runtime auth-store reader.
User Impact
No product behavior changes. Restores the existing platform/subscription route coverage needed to validate the cleanup-owner repair.
Why This Change Was Made
Supply the fixture's existing auth store through
loadAuthProfileStoreForRuntime, the reader adopted by #148860. The six cases, their order, real runtime-preparation composition, and assertions remain unchanged. Production delta: zero; test delta: one line.This complements #149039, which updates other model/image fixtures and does not touch this standalone thinking fixture.
Evidence
git diff --checkpass; scoped autoreview and independent source review report no actionable findings.414782450952a196bbb64b1605a458c2531c47b6coveredcodex-rs/app-server-protocol/src/protocol/common.rs:18andcodex-rs/app-server-protocol/src/protocol/v2/account.rs:17; this is not native Codex execution proof.