Skip to content

fix: abort response-cancelled answer streams#774

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/abort-cancelled-streams-40ad
Jul 17, 2026
Merged

fix: abort response-cancelled answer streams#774
cursor[bot] merged 1 commit into
mainfrom
cursor/abort-cancelled-streams-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
  • Verification not run locally in this cleanup pass: relying on green unit coverage for the focused stream cancel test

Risk and rollout

  • Risk: medium; touches answer streaming cancellation and in-flight provider work
  • Rollback: revert this PR to restore prior request-signal-only abort behavior
  • 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: 22 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: efa74c65-87c8-4900-8dae-098c3b17533c

📥 Commits

Reviewing files that changed from the base of the PR and between 3fe441a and 82d5753.

📒 Files selected for processing (2)
  • src/app/api/answer/stream/route.ts
  • tests/private-access-routes.test.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/abort-cancelled-streams-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/abort-cancelled-streams-40ad branch from 1b7e34c to 2d032b4 Compare July 17, 2026 20:21
@github-actions

Copy link
Copy Markdown

CI triage

CI failed on this PR. Automated classification of the 2 failed job(s):

  • Production UIneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.
  • PR requiredneeds investigation: inspect the failing step and uploaded diagnostics; rerun only after classifying the cause.

Compared with main CI run #3011 (success).

Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger.

Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/abort-cancelled-streams-40ad branch from 2d032b4 to 82d5753 Compare July 17, 2026 20:31
@cursor
cursor Bot merged commit 0ee1744 into main Jul 17, 2026
15 checks passed
@cursor
cursor Bot deleted the cursor/abort-cancelled-streams-40ad branch July 17, 2026 20:37
cursor Bot pushed a commit that referenced this pull request Jul 17, 2026
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