Repository navigation
test(ui): expect provider-scoped credential setup navigation - #204696
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 updates the composer authentication-recovery test to expect the selected OpenAI provider in the setup URL. Example: Open provider setup from the failed-authentication state for openai/gpt-5.5.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR correctly updates a stale browser assertion to match intentional provider-scoped navigation; no actionable patch defects were found, but the required CI gate remains red. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe browser suite supplies model availability through a mock Gateway and exercises the real composer, model picker, and Settings navigation. flowchart LR
A[Mock Gateway availability] --> B[Chat composer]
B --> C[Model picker auth state]
C --> D[Provider navigation helper]
D --> E[Models connection route]
E --> F[Browser URL assertion]
Technical reviewBest possible solution: Retain this one-line assertion update so browser coverage follows the existing provider-aware navigation owner. Do we have a high-confidence way to reproduce the issue? The linked main failure annotation identifies the stale URL assertion, and current production source independently confirms the provider-scoped destination; no target code was run during this review. Is this the best way to solve the issue? The assertion update is the smallest complete repair: it preserves provider-specific recovery, authentication gating, draft checks, and existing timeouts without adding machinery or duplicate coverage. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bf91a8134039. 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:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 24, 2026, 9:56 AM ET / 14:56 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
What Problem This Solves
The composer auth-failure browser test times out after opening provider setup because it still expects the generic setup URL. The UI now preserves the selected provider.
User Impact
No user-visible behavior changes. The browser regression will verify that provider setup opens for the selected provider while retaining its authentication and draft checks.
Why This Change Was Made
Update the existing URL assertion to include
provider=openai; leave the timeout and other assertions unchanged.Evidence
/settings/model-providers?provider=openai&connect=1.chat-composer-redesign.e2e.test.tspass on the final commit, including the auth-failure case and its cooldown sibling.git diff --checkpass.Unrelated CI Failure
CI run 45417108783 failed in the separate rich-scroll browser case in
composer-editor-callers.browser.test.ts: the active-descendant attribute remained after scrolling to the top. Its browser project excludes the changed E2E file by its include patterns. The inspected browser sources, fixtures, styles, dependency lock and runner inputs are unchanged in the actual tested merge. Both rich-scroll variants passed in an isolated replay; that does not establish a flake repair. The hosted failure remains recorded for the native inherited-failure landing route.