Repository navigation
fix(ui): restore Notifications autosave status coverage - #192170
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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesThis PR updates the Notifications autosave test to find Ready in the named Status row. Example: Change Theme to knot, apply changes, then open Notifications.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — probable (reviewed change; failure trace). No predecessor PR is attributed. Merge readiness✅ Ready for maintainer review Keep open: this PR makes a focused, correct repair to a confirmed browser-test regression without changing production behavior; remaining CI failures need attribution. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe browser suite exercises Settings with a mocked Gateway and checks the rendered Notifications page after a completed configuration save. flowchart LR
A[Browser test] --> B[Settings application]
C[Mock Gateway] --> B
B --> D[Notifications renderer]
D --> E[Status row]
E --> F[Ready assertion]
Technical reviewBest possible solution: Keep the existing browser scenario and target its readiness assertions at the Status row owned by the Notifications renderer. Do we have a high-confidence way to reproduce the issue? The scheduled failure records zero matching statuses, and current-main source confirms the old header locator cannot find the status now rendered in the Status row; no target code was executed during this review. Is this the best way to solve the issue? This is the smallest complete repair: it updates the existing consumer test to the approved layout without weakening its quiet-save or readiness checks. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 3235705cb012. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests -2. Total -2 across 1 file. Added test files: 0. View PR surface stats
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 3, 2026, 1:57 PM ET / 18:57 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
What Problem This Solves
The Notifications autosave E2E still looked for its Ready status in the section header after #191269 moved it into the Status row. This failed in scheduled CI 41684146370.
User Impact
No production behavior changes. Browser coverage still requires a quiet completed save and exactly one Ready status on Notifications.
Why This Change Was Made
Scope the existing status assertions to the named Status row. Preserve the no-toolbar and no-Saved-notice assertions. No timeout, retry, sleep, or assertion was removed; test code shrinks by two lines.
Evidence
config-form-guidance.e2e.test.tspassed.Inherited CI failures
Exact-head CI 41695660515 failed in two independent UI unit shards: five cases in
channels-page.save.test.tsstill look for the former DM policy pairing option, andconfig-form-stored-secret.browser.test.tsasks forSave: Bot Tokenwhile the control saysSave: Bot token.The tested merge changes only this Notifications E2E selector. The failing Channels and stored-secret owners, fixtures, runtime dependencies and CI workflow are identical to the recorded main parent. The focused Notifications file passed all three cases. These failures remain recorded as failed; landing uses the authorized inherited-failure route.