Remove document result overlays - #1378
Conversation
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in:47 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the 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 configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
Comment |
BigSimmo
commented
Jul 29, 2026
@cursoragent Inspect the PR and repository state, identify the root cause of every failing CI check, unresolved review comment, merge conflict, and related defect. Apply the smallest robust fix using existing project patterns and best practices, without unrelated changes. Run Bugbot and all relevant lint, type-check, test, build, and CI-equivalent commands, fix any issues found, then resolve only the review comments that are fully addressed. Summarise the root causes, changes made, validation results, and any remaining blockers. |
PR #1378 is merged. Squash auto-merge landed once required CI went green ( Root causes found
Changes made
Validation
Remaining
|
BigSimmo
commented
Jul 29, 2026
@CodeRabbit review PR |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:ad739a3a43
ℹ️ 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.
BigSimmo
commented
Jul 29, 2026
@codex resolve actionable Codex review findings for this pull request and current head using the repository instructions. This is the pull request's single automatic repair pass: do not perform a fresh review, create new standalone findings, or request another review. Work only the existing unresolved Codex threads on the current head. Always fix P0 and P1 findings. For P2 and lower findings, fix only clear, scoped, low-risk issues; otherwise disposition them with a concise reason. After fixing or dispositioning a thread, reply in that thread with as the first line, followed by a concise summary; that marker authorizes the workflow to close that exact thread. If human input or new authorization is required, do not use the marker and leave the thread open with the blocker. Finish only after every actionable thread is fixed or dispositioned and closed, or explicitly left open for a human decision. Do not update the branch from main, address unrelated reviews, broaden scope, or create more than one scoped fix commit. Do not use external APIs, paid services, credentials, dependency changes, or broad refactors unless explicitly authorized. Add targeted tests where behavior changes and run the narrowest relevant validation. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:ad739a3a43
ℹ️ 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.
Suppress only warning/info source-governance banners in document search so review-due noise stays off the result list, while outdated and poor-extraction danger notices remain visible before Open/Scope/Answer. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
@cursor review |
Codex P1 required clinical source caveats to remain visible when the selected evidence overlay is removed. Keep Open/Scope/Answer and drop only the Preview panel; leave ScopeAndGovernanceNotice fully wired. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Keep document-result overlay removal current with main; merge-tree was clean. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Capture Codex P1 governance restore, overlay removal, main sync, and local verification for head a08a81d. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Append exact-head branch-review-ledger rows for the PR #1378 babysit closeout after required CI went green and squash auto-merge landed, including a superseding row that records the resolvable squash commit 6f2f1aa in place of the unreachable pre-squash tip c3feb4c. Docs-only; no product, retrieval, or governance behaviour change.


Summary
Root cause: the first document was selected by fallback on every result set, so the evidence panel rendered even without user interaction and stacked beneath the source list on phones. The shared governance notice also rendered the grouped warning rows above document results.
RAG impact: no retrieval behaviour change — presentation-only document-result cleanup; source warning metadata, evidence selection, ranking, and answer safety logic are unchanged.
Verification
npm run verify:pr-localnpm run verify:uinode scripts/run-vitest.mjs run tests/document-search-record-fault.dom.test.tsx --reporter=verbose— 4/4 passed.npm run check:pr-policy— passed.git diff --check— passed.npm run verify:release— not run for this draft UI PR.npm run check:production-readiness— not run; provider-gated and outside the GitHub-only approval for opening this PR.Retrieval/ranking/live-eval verification was not run because this change does not alter retrieval, ranking, selection, chunking, scoring, or answer generation.
Risk and rollout
ad739a3a435535a03f6a2c43f1be89d277343590.Clinical Governance Preflight
Clinical KB Database(sjrfecxgysukkwxsowpy); no Supabase configuration changed.Notes