Skip to content

docs: record canary comparison preflight#1180

Merged
cursor[bot] merged 17 commits into
mainfrom
cursor/canary-artifact-comparison-8e05
Jul 25, 2026
Merged

docs: record canary comparison preflight#1180
cursor[bot] merged 17 commits into
mainfrom
cursor/canary-artifact-comparison-8e05

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix cross-mode search performance findings: prescribing catalogue debounce/abort/fields=index, differentials abort/debounce, universal documents typeahead soft-timeout (750ms), shared (search-app) shell to avoid composer remount, and Answer rate-limit in-memory fallback outside production.
  • Fix Bugbot regressions: shared-shell pathname navigation (/services/dsm) syncs searchMode during render (no stale-mode paint) even when the query string is unchanged; extracted ClinicalDashboard lazy imports to stay under the maintainability budget.

RAG impact: no retrieval behaviour change — typeahead documents domain timeout and shell URL sync only; ranking formulas and full /api/search retrieval path unchanged.

Verification

  • npm run verify:pr-local — focused Vitest on touched sources (362) plus api-rate-limit / search-shell / universal / route / site-map suites green; docs:check-index OK
  • UI verification not run: full verify:ui not required for this pass; mode-home smoke via npm run ensure returned HTTP 200 for /, /services, /dsm, /documents/search, /therapy-compass, /?mode=prescribing, and /api/answer/stream returned 200 after the rate-limit fallback fix
  • Verification not run: eval:retrieval:latency / soak / live OpenAI canary — approval-gated provider work; not needed for timeout-only typeahead change

Risk and rollout

  • Risk: medium — shared layout remount change and rate-limit fallback behaviour in non-production; production Answer/upload still fail closed when the durable limiter is unavailable
  • Rollback: revert this PR; mode routes return to per-segment GlobalSearchShell layouts and prior timeout/fallback behaviour
  • 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 [REDACTED] ([REDACTED])
  • 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

  • Prescribing list rows keep the full catalogue payload so Safety/Monitoring filters and patient alerts still see section-derived signals; keystroke storms are controlled by debounce + abort. fields=index remains for identity-only consumers (cross-mode links).
  • Live hybrid RPC cold tails remain a separate approval-gated follow-up.

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

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@BigSimmo, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 19 minutes

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: c58269bb-ad53-49fc-96fb-dd01389e974f

📥 Commits

Reviewing files that changed from the base of the PR and between cf479e0 and f61c81e.

📒 Files selected for processing (1)
  • docs/branch-review-ledger.md
📝 Walkthrough

Walkthrough

The open-items ledger adds a read-only scheduled comparison preflight note documenting unavailable artifacts, prior datapoints, and constraints against deriving deltas or dispatching follow-up actions.

Changes

Scheduled comparison preflight

Layer / File(s) Summary
Record scheduled comparison status
docs/outstanding-issues.md
Adds the 2026-07-24 preflight note with scheduled artifact status, prior run references, unavailable comparison deltas, and operational restrictions.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title is concise and accurately captures the main documentation change.
Description check ✅ Passed The description matches the template with Summary, Verification, Risk and rollout, Clinical Governance Preflight, and Notes sections.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/canary-artifact-comparison-8e05

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@supabase

supabase Bot commented Jul 24, 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 ↗︎.

…t-comparison-8e05

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
@cursor
cursor Bot marked this pull request as ready for review July 24, 2026 19:11
@cursor
cursor Bot enabled auto-merge (squash) July 24, 2026 19:17
@cursor
cursor Bot merged commit 43f261c into main Jul 25, 2026
18 checks passed
@cursor
cursor Bot deleted the cursor/canary-artifact-comparison-8e05 branch July 25, 2026 04:17
BigSimmo added a commit that referenced this pull request Jul 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cursor Bot pushed a commit that referenced this pull request Jul 25, 2026
…1141)

* fix(ui): implement orientation adaptive design audit recommendations

* fix: remove duplicate command dropdown height cap

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

* chore: note review reply permission denial

GraphQL review-thread replies returned 403; resolved the fixed duplicate-height threads directly after validation.

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

* docs: record PR babysit sweep

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

* docs: record Run PR behind-main sweep for #1141

* docs: ledger re-sync sweep for PR #1141

* fix(ui): collapse dock child safe-area padding

* docs: record PR 1141 maintenance

* fix(ui): avoid Sheet max-height racing caller caps

Skip the default phone max-h utility when contentClassName already sets max-h, and record the PR #1140 babysit ledger row.

Co-authored-by: Cursor <cursoragent@cursor.com>

* test(ui): poll guide dialog focus trap across viewport sizes

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(ui): do not steal focus from a newly opened sheet on restore retry

The Sources opener retry must not reclaim focus when another dialog already became active (mobile Guide opened from the Clinical Guide menu).

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(ui): retry Sheet autofocus when open races a closing sibling

Co-authored-by: Cursor <cursoragent@cursor.com>

* test(ui): harden Sources opener focus restore assertion after Escape

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs(review): record babysit merges for #1140 #1171 #1180 #1158

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(ui): stabilize Sources sheet autofocus on open

Default UtilityDrawer sheet mode for breakpoint=all and retry sheet autofocus so the Find-a-document field keeps focus after drawer mount races.

* ci: retrigger PR policy check on tip

* fix(ui): stop stacked Sheet focus steal; assert Escape restore honestly

Gate Sheet autofocus retries on isTopmostSheet, and remove test-side focus repair so production restore failures stay visible.

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@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