feat(stability): resolve Tier 2 UI stability and tooling tasks - #2329
Conversation
Warning Review limit reachedNext included review available in 57 minutes. View limit detailsLimit details: You’ve used the included review currently available. Your 101 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (13)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This pull request has been ignored for the connected project Preview Branches by Supabase. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Duplicate ledger done conflicts
- Queued explicit cancel requests for the still-pending #308, #K9XD5N, and #JVYQEM dones so planRequestBatch no longer treats this branch's replacement closures as a hard mutation conflict.
You can send follow-ups to the cloud agent here.
Reviewed by Cursor Bugbot for commit 6b9ee36. Configure here.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Stale comment
Left a non-blocking comment and did not approve: Cursor Bugbot reported 1 unresolved high-severity finding, and the Bugbot check completed as skipped. Human review is needed. No reviewers were assigned because the sole CODEOWNER is the PR author.
Sent by Cursor Approval Agent: Pull Request Router and Approver
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:6b9ee36996
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Uh oh!
There was an error while loading. Please reload this page.
The replacement done requests conflicted with still-pending dones for the same rows. Queue explicit cancellations so reconcile can apply this branch's closures.
There was a problem hiding this comment.
Stale comment
Left a non-blocking comment and did not approve: Cursor Bugbot’s high-severity duplicate-ledger-done finding is still an unresolved thread, and the Bugbot check was not present on this head. Human review is needed. No reviewers were assigned because the sole CODEOWNER is the PR author.
Sent by Cursor Approval Agent: Pull Request Router and Approver
CI triageCI failed on this PR. Automated classification of the 2 failed job(s):
Compared with main CI run #13530 (failure). Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger. |
There was a problem hiding this comment.
Stale comment
Left a non-blocking comment and did not approve: Cursor Bugbot’s high-severity duplicate-ledger-done thread is still unresolved, and the Bugbot check was not present on this head. Human review is needed. No reviewers were assigned because the sole CODEOWNER is already the PR author.
Sent by Cursor Approval Agent: Pull Request Router and Approver
There was a problem hiding this comment.
Stale comment
Left a non-blocking comment and did not approve: Cursor Bugbot’s high-severity duplicate-ledger-done thread is still unresolved, and the Bugbot check was not present on this head. Human review is needed. No reviewers were assigned because the sole CODEOWNER is already the PR author.
Sent by Cursor Approval Agent: Pull Request Router and Approver
There was a problem hiding this comment.
Left a non-blocking comment and did not approve: Cursor Bugbot’s high-severity duplicate-ledger-done thread is still unresolved, and the Bugbot check was not present on this head. Human review is needed. No reviewers were assigned because the sole CODEOWNER is already the PR author.
Sent by Cursor Approval Agent: Pull Request Router and Approver
Uh oh!
There was an error while loading. Please reload this page.



Summary
Executes, adversarially verifies, and lands the Tier 2 Stability & Tooling (14 Tasks) on dedicated feature branch
codex/tier-2-ui-tooling-stability.Key Fixes & Verifications
/documents/searchunder the single-composer contract (master-search-header.tsx,global-search-shell.tsx).--spacing-mode-home-composer-phone: 10.125rem(162px) and--spacing-mode-home-composer-wide: 5.5rem(88px) inglobals.csswith responsive adaptivity inmode-home-template.tsx.ClinicalDashboard.tsxpreventing ~0.16 hero CLS shift./favouritesand?mode=favourites.clean-worktree.mjs.uiPatternsclassifiers match mode routes, route ownership, and UI copy.:has(#main-content)rules.autoFocusAction={true}) on non-dismissible overlays fulfilling WCAG 2.4.3.session-gatemodality instead of full-bleed letterbox.--updateflag support, commit distance drift tracking, and provenance recording incheck-bundle-budget.mjs.tests/gate-receipts.test.tsand nativemkdirSync({ recursive: true }).data-settings-nav-targeton desktop settings rail elements for non-vacuous assertion coverage.Verification
npm run check:installed-lock-parity— passed (770 packages, 51,877 files aligned)npx tsc -p tsconfig.typecheck.json --noEmit— passed (0 errors)npm run lint— passed (5,205 input files, 0 warnings)npm run check:outstanding-issues— passed (449 rows, unique IDs)npm run check:outstanding-issues-snapshot— passed (73 open, 112 pending in step)npm run check:ledger-write-discipline— passednpm run check:design-system-contract— passed (980 production files, 0 edge conflicts)npm run check:design-system-adoption— passed (54 components, 94 roots)npx vitest run tests/gate-receipts.test.ts tests/master-search-header.dom.test.tsx tests/rag-score.test.ts tests/guard-push.test.ts tests/settings-dialog-actions.dom.test.tsx tests/pwa-lifecycle.dom.test.tsx tests/caring-contacts-overlay-host.dom.test.tsx tests/rsc-boundary.test.ts tests/bundle-budget.test.ts tests/clean-worktree.test.ts— passed (273/273 tests passed)npm run audit:final-merge -- --dry-run --base-ref origin/main --head-ref HEAD— passedRisk and rollout
Clinical Governance Preflight
Clinical KB Database(sjrfecxgysukkwxsowpy)