Skip to content

fix: unify answer recovery states#776

Closed
BigSimmo wants to merge 3 commits into
mainfrom
cursor/unify-answer-recovery-40ad
Closed

fix: unify answer recovery states#776
BigSimmo wants to merge 3 commits into
mainfrom
cursor/unify-answer-recovery-40ad

Conversation

@BigSimmo

Copy link
Copy Markdown
Owner

Summary

Verification

  • npm run verify:pr-local — covered by CI Static PR checks / Unit coverage on this PR
  • UI verification not run: recovery EmptyState wiring only; CI Production UI gate covers smoke

Risk and rollout

  • Risk: low; UI recovery presentation only, no answer generation or retrieval contract changes
  • Rollback: revert this PR to restore prior ad-hoc recovery surfaces
  • Provider or production effects: None

Clinical Governance Preflight

  • Source-backed claims still require linked source verification before clinical use
  • No patient-identifiable document workflow was introduced or expanded without explicit governance approval
  • Supabase target remains Clinical KB Database (sjrfecxgysukkwxsowpy)
  • Service-role keys and private document access remain server-only
  • Demo/synthetic content remains clearly separated from real clinical sources
  • Source metadata, review status, and outdated/unknown-source behavior remain conservative
  • Deployment classification/TGA SaMD impact was checked when clinical decision-support behavior changed

Notes

  • Replacement PR with policy-complete evidence so CI can merge onto main.
Open in Web Open in Cursor 

@supabase

supabase Bot commented Jul 17, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@cursor[bot], you've reached your PR review limit, so we couldn't start this review.

Next review available in: 1 minute

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: faa05a58-df3e-4b91-8e04-5540a6ceab54

📥 Commits

Reviewing files that changed from the base of the PR and between d723aa2 and 3944835.

📒 Files selected for processing (3)
  • src/components/ClinicalDashboard.tsx
  • src/components/ui-primitives.tsx
  • tests/ui-primitives.dom.test.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/unify-answer-recovery-40ad

Comment @coderabbitai help to get the list of available commands.

@cursor
cursor Bot enabled auto-merge (squash) July 17, 2026 20:15
@cursor
cursor Bot force-pushed the cursor/unify-answer-recovery-40ad branch from 6f03f05 to c614656 Compare July 17, 2026 20:21
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/unify-answer-recovery-40ad branch from c614656 to 0991656 Compare July 17, 2026 20:31
@BigSimmo BigSimmo closed this Jul 17, 2026
auto-merge was automatically disabled July 17, 2026 20:54

Pull request was closed

cursor Bot pushed a commit that referenced this pull request Jul 17, 2026
Combine the still-open cleanup work onto current main: lazy PDF reader,
answer EmptyState recovery, Therapy Compass recovery/a11y, and favourites
command-library redesign. Replaces PRs #775, #776, #778, and #779.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Jul 17, 2026
Combine the still-open cleanup work onto current main: lazy PDF reader,
answer EmptyState recovery, Therapy Compass recovery/a11y, and favourites
command-library redesign. Replaces PRs #775, #776, #778, and #779.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Jul 17, 2026
Combine the still-open cleanup work onto current main: lazy PDF reader,
answer EmptyState recovery, Therapy Compass recovery/a11y, and favourites
command-library redesign. Replaces PRs #775, #776, #778, and #779.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Jul 17, 2026
Combine the still-open cleanup work onto current main: lazy PDF reader,
answer EmptyState recovery, Therapy Compass recovery/a11y, and favourites
command-library redesign. Replaces PRs #775, #776, #778, and #779.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Jul 17, 2026
* fix: land remaining screenshot-PR cleanup batch

Combine the still-open cleanup work onto current main: lazy PDF reader,
answer EmptyState recovery, Therapy Compass recovery/a11y, and favourites
command-library redesign. Replaces PRs #775, #776, #778, and #779.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>

* fix: resolve CodeRabbit review threads on cleanup batch

Keep the global error heading as a real heading, include pinned state in
the mobile favourites select label, and assert both PDF lazy-load wrappers.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants