Skip to content

Conversation

@reakaleek
Copy link
Member

@reakaleek reakaleek commented Nov 11, 2025

Changes

Switching browser tabs while streaming caused @microsoft/fetch-event-source to close the connection and reconnect, creating duplicate requests. Adding openWhenHidden: true keeps the connection alive when the tab is hidden, allowing streaming to continue in the background without reconnection.

@reakaleek reakaleek requested a review from a team as a code owner November 11, 2025 21:47
@reakaleek reakaleek requested a review from Mpdreamz November 11, 2025 21:47
@reakaleek reakaleek changed the title Keep stream connection alive when switching tabs Fix duplicate stream requests on tab switch Nov 11, 2025
@reakaleek reakaleek added the fix label Nov 11, 2025
@reakaleek reakaleek merged commit e4d6012 into main Nov 12, 2025
24 of 25 checks passed
@reakaleek reakaleek deleted the feature/fix-recreating-stream-on-tab-switch branch November 12, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants