Files
vscode/extensions
Megan Rogge f8574878be Add idle watchdog + telemetry to Anthropic Messages streaming (#321432) (#321671)
The Anthropic Messages streaming body can return 200 with headers and then
hang mid-stream with no further chunk and no error, leaving the for-await
loop pending indefinitely. Add a 120s idle watchdog that resets on each
chunk, emits a messagesApi.streamIdleTimeout telemetry event when it trips
(so the stall is observable in the wild), rejects the iterator, and cancels
the underlying reader so the stream settles instead of hanging.
2026-06-17 16:16:08 +00:00
..