Skip to content

Revert "Support timing out hung streams (#308517)"#308779

Merged
lramos15 merged 1 commit intomainfrom
lramos15/homely-bobcat
Apr 9, 2026
Merged

Revert "Support timing out hung streams (#308517)"#308779
lramos15 merged 1 commit intomainfrom
lramos15/homely-bobcat

Conversation

@lramos15
Copy link
Copy Markdown
Member

@lramos15 lramos15 commented Apr 9, 2026

This reverts commit ba8d730.

Fix #308627

Copilot AI review requested due to automatic review settings April 9, 2026 13:37
@lramos15 lramos15 enabled auto-merge (squash) April 9, 2026 13:37
@lramos15 lramos15 self-assigned this Apr 9, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reverts the Copilot networking change that added idle/first-chunk timeouts around SSE streaming reads, restoring the previous “read stream until completion/cancel” behavior to address the reported length-limit/no-output failure.

Changes:

  • Removes withStreamIdleTimeout (and related constants/error) from fetcherService.ts.
  • Stops wrapping SSE response bodies with withStreamIdleTimeout in the Node streaming processors (OpenAI Responses API, Anthropic Messages API, and SSEProcessor).
  • Deletes the unit tests that specifically validated the idle-timeout behavior.
Show a summary per file
File Description
extensions/copilot/src/platform/networking/test/node/streamIdleTimeout.spec.ts Removes tests for the reverted idle-timeout streaming behavior.
extensions/copilot/src/platform/networking/node/stream.ts Restores direct iteration over the SSE body stream (no idle-timeout wrapper).
extensions/copilot/src/platform/networking/common/fetcherService.ts Removes the idle-timeout wrapper implementation and its exported constants/error type.
extensions/copilot/src/platform/endpoint/node/responsesApi.ts Restores direct iteration over the Responses API streaming body.
extensions/copilot/src/platform/endpoint/node/messagesApi.ts Restores direct iteration over the Messages API streaming body.

Copilot's findings

  • Files reviewed: 5/5 changed files
  • Comments generated: 0

@lramos15 lramos15 merged commit 5a67f67 into main Apr 9, 2026
27 checks passed
@lramos15 lramos15 deleted the lramos15/homely-bobcat branch April 9, 2026 13:58
@vs-code-engineering vs-code-engineering bot added this to the 1.116.0 milestone Apr 9, 2026
joshspicer pushed a commit that referenced this pull request Apr 9, 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.

Sorry, the response hit the length limit. But Copilot didn't respond or edit anything.

3 participants