Repository navigation
fix(test): restore account-aware draft title coverage - #198516
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 changesUpdates draft-title tests to use the current account picker and the existing account owner's Automatic action. Example: Prepare a title for “repair the sidebar naming,” select Saved account one, then return to Automatic while its preview is pending.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR repairs confirmed broken test setup while preserving the existing assertions; no actionable patch defects were found, though the CI gate remains unresolved. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe New Session model owner supplies account selection and readiness to draft-title preparation and session submission; this PR repairs only the fixture exercising those owners. flowchart LR
A[Test fixture] --> B[Model picker]
B --> C[Account selection owner]
C --> D[Draft title owner]
D --> E[Title preparation request]
C --> F[Session submission]
D --> F
Technical reviewBest possible solution: Retain this focused fixture repair and preserve the existing picker, account-selection, title, and submission owners. Do we have a high-confidence way to reproduce the issue? Current main still queries the removed selector, and main-run annotations confirm four failures at that setup line; the PR reports the focused suite changing from four failures to nine passes. Is this the best way to solve the issue? The patch uses the current picker for saved-account selection and the existing account action for title-owner recovery, preserving pending-state coverage without changing production selection rules. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9156de83fa53. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +18. Total +18 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 13, 2026, 7:54 PM ET / November 14, 2026, 00:54 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
* fix(test): restore account-aware draft title coverage * fix(test): preserve pending account title proof
What Problem This Solves
Four draft-title account scenarios fail at obsolete picker setup before reaching their title and submission assertions.
User Impact
Restores existing account-aware title, pending-preview, and submission coverage. No application behavior changes.
Why This Change Was Made
Open the parent picker and current account trigger before choosing a saved account. Return to automatic through the existing account owner's action: a pending account catalog intentionally has no provider rows. All nine cases and their title/submission assertions remain; pending previews stay unresolved.
This validates title-owner recovery. It does not assert that the automatic option is rendered during a pending empty catalog.
Evidence
Exact-head CI attribution
CI 43535668513 positively records all nine title tests passing. Two broader UI jobs remain red with 13 failures across six other files: 12 match full scheduled-main case/error signatures; the remaining HTMLButtonElement assertion is inherited from main commit cd61ce32, which changed the model option to a div. Full logs reconcile 11+2 failed cases; the separate Node subsets pass 6+12 cases. The tested merge is 43e3dce, with parents 4cffd43 and this PR head. These are attributed inherited failures, not a green CI claim. Native inherited-failure admission retains the failed run and exact evidence.