Skip to content

fix(ui): restore Notifications autosave status coverage - #192170

Merged
steipete merged 1 commit into
mainfrom
fix/ci-notifications-status-416841
Nov 3, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/ci-notifications-status-416841

Conversation

@steipete

@steipete steipete commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

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

  • The unchanged test reproduced the scheduled missing-status failure.
  • All 3 cases in config-form-guidance.e2e.test.ts passed.
  • Default tsrs UI types, focused lint, formatting, whitespace, and test-line ratchet passed.
  • Independent isolated Codex review found no actionable P0–P2 issues.

Inherited CI failures

Exact-head CI 41695660515 failed in two independent UI unit shards: five cases in channels-page.save.test.ts still look for the former DM policy pairing option, and config-form-stored-secret.browser.test.ts asks for Save: Bot Token while the control says Save: 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.

@clawsweeper

clawsweeper Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review November 3, 2026 18:37
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T18:40:06.108808Z 2301322 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR updates the Notifications autosave test to find Ready in the named Status row.

Example: Change Theme to knot, apply changes, then open Notifications.

  • Before: The test expects one header status and fails because the status moved.
  • After: The test checks for one Ready status in the Status row while retaining the no-toolbar and no-Saved checks.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is narrow and source-verified; validation consists of browser-harness evidence, with broader CI failures still unresolved.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-directed test-only repair changes no production behavior; the body reports the original failure and three passing browser cases, supported by a successful exact-head browser E2E job.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Scheduled browser coverage fails after the Notifications status was intentionally moved out of the section header.
Reason: The change restores a meaningful existing regression scenario and follows the merged presentation decision without changing user behavior.

Regression provenance

Possible 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
Reviewed head: 2301322669e8e247558fa80bc38eb5464fe5cc27

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit a5d7023 adds ui/src/e2e/config-form-guidance.e2e.test.ts:276 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a5d70238d777; files: ui/src/e2e/config-form-guidance.e2e.test.ts)

PR surface

Tests -2. Total -2 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 5 7 -2
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 5 7 -2

Labels

Label changes:

  • add P3: This repairs test coverage after an intentional layout change and introduces no production behavior change.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This repairs test coverage after an intentional layout change and introduces no production behavior change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 3, 2026, 1:57 PM ET / 18:57 UTC.

@steipete
steipete merged commit f0f001b into main Nov 3, 2026
152 of 158 checks passed
@steipete
steipete deleted the fix/ci-notifications-status-416841 branch November 3, 2026 19:11
@steipete

steipete commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant