Repository navigation
test: use a neutral auto-fallback model fixture - #196901
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. |
|
Codex review: needs maintainer review before merge. What this changesThis PR replaces the synthetic claude-fallback identity with fallback-model throughout the auto-fallback test fixture. Example: The existing test selects a fallback catalog row with reasoning: false.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR repairs a misleading test fixture while preserving the intended assertions and production behavior; no actionable defects were found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherReply preparation combines session model selection, model policy, and thinking defaults before passing the prepared request to the reply runner; this change only corrects its test inputs. flowchart LR
A[Test session fixture] --> B[Reply preparation]
C[Model policy and catalog] --> B
B --> D[Thinking default resolution]
D --> E[Mocked reply runner]
E --> F[Existing assertions]
Technical reviewBest possible solution: Use the neutral fixture consistently while retaining the existing fallback assertions and Claude policy. Do we have a high-confidence way to reproduce the issue? Source tracing confirms that claude-fallback selects mandatory adaptive thinking despite reasoning: false; the author reports the matching before/after failure, but no tests were executed during this read-only review. Is this the best way to solve the issue? Renaming the synthetic identity is the smallest complete repair: every occurrence changes together, all assertions remain intact, and the production policy keeps its existing owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 842e4b436d30. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests 0. Total 0 across 1 file. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 10, 2026, 6:09 PM ET / 23:09 UTC. |
|
Merged via squash.
|
What Problem This Solves
The auto-fallback fixture uses an unknown Claude model name while expecting the catalog to select thinking off. Unknown Claude identities intentionally require adaptive thinking, so the synthetic model accidentally exercises a different policy.
User Impact
Use a prefix-free synthetic fallback model so the existing test covers catalog-selected defaults again. All assertions and production behavior are unchanged.
Why This Change Was Made
The fixture repair is independent of GitHub worktree authentication and is isolated here for review.
Evidence
Before: the catalog-off case fails (one failed, five passed). After: all six existing cases pass with the corrected synthetic identity. The focused native test, formatting and diff checks pass. No test-line growth or production changes.