Skip to content

fix(console): cancel upstream provider requests#34467

Merged
StarpTech merged 3 commits into
devfrom
cancel-upstream-stream
Jun 29, 2026
Merged

fix(console): cancel upstream provider requests#34467
StarpTech merged 3 commits into
devfrom
cancel-upstream-stream

Conversation

@StarpTech

Copy link
Copy Markdown
Contributor

Propagates caller cancellation through Console provider requests so abandoned inference work is cleaned up.

Summary

  • pass caller abort signals to upstream provider fetches
  • cancel provider response readers when downstream consumers stop reading
  • return a quiet client-closed response for aborted requests

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Jun 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@StarpTech StarpTech requested a review from fwang June 29, 2026 17:26
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jun 29, 2026
@github-actions github-actions Bot closed this Jun 29, 2026
@fwang fwang reopened this Jun 29, 2026
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jun 29, 2026
@StarpTech StarpTech merged commit 884c256 into dev Jun 29, 2026
8 checks passed
@StarpTech StarpTech deleted the cancel-upstream-stream branch June 29, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor needs:compliance This means the issue will auto-close after 2 hours. needs:issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants