GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(console): cancel upstream provider requests by StarpTech · Pull Request #34467 · anomalyco/opencode

Conversation

@StarpTech

@StarpTech StarpTech commented Jun 29, 2026

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
starptech starptech
fix(console): cancel upstream provider requests
4b56853
@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

github-actions Bot commented Jun 29, 2026

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Jun 29, 2026

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the contributor label Jun 29, 2026
@StarpTech
StarpTech requested a review from fwang June 29, 2026 17:26
@StarpTech
Merge branch 'dev' into cancel-upstream-stream
b8c07ac
@github-actions

github-actions Bot commented Jun 29, 2026

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@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
@StarpTech
Merge branch 'dev' into cancel-upstream-stream
b933ddb
@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

Uh oh!

There was an error while loading. Please reload this page.

@StarpTech
StarpTech deleted the cancel-upstream-stream branch June 29, 2026 21:28
@ausard ausard mentioned this pull request Jun 30, 2026
[provider] Thread AbortSignal through non-streaming sendChat and SAP complete() ausardcompany/alexi#885
Closed
6 tasks
@bashrusakh bashrusakh mentioned this pull request Jul 1, 2026
SDK v1.17.12: session.interrupt() — STOP button actually stops generation openchamber/openchamber#1968
Closed
4 tasks
@github-actions github-actions Bot mentioned this pull request Jul 6, 2026
Termux v1.17.12 wallentx/opencode-termux#7
Closed
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
@StarpTech starptech
fix(console): cancel upstream provider requests (#34467)
f100ad8
Co-authored-by: starptech <[email protected]>
rldona pushed a commit to plazoleta-dev/FlupCode that referenced this pull request Sep 24, 2026
@StarpTech starptech
fix(console): cancel upstream provider requests (anomalyco#34467)
7c7bff5
Co-authored-by: starptech <[email protected]>
Ichinose-Kazuki pushed a commit to Ichinose-Kazuki/opencode that referenced this pull request Oct 7, 2026
@StarpTech starptech
fix(console): cancel upstream provider requests (anomalyco#34467)
e515061
Co-authored-by: starptech <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@fwang fwang Awaiting requested review from fwang

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@StarpTech @fwang
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.