Skip to content

[v17] fix: fixes a possible deadlock in kube moderator joining#54523

Merged
tigrato merged 2 commits intobranch/v17from
bot/backport-54500-branch/v17
May 6, 2025
Merged

[v17] fix: fixes a possible deadlock in kube moderator joining#54523
tigrato merged 2 commits intobranch/v17from
bot/backport-54500-branch/v17

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented May 5, 2025

Backport #54500 to branch/v17

changelog: Fixed a possible moderator/observer terminal freeze when joining a Kubernetes moderated session.

tigrato and others added 2 commits May 5, 2025 20:10
This PR addresses a bug in the Kubernetes session join logic where a joined session could hang under specific conditions. The issue occurred when one or more peers triggered multiple terminal resize events in rapid succession.

The client handling the resize was only performing a single resize operation and failing to respond to subsequent events, resulting in the terminal becoming unresponsive. This led to a state where session data was no longer displayed to moderators or observers, effectively freezing the shared session view. The fix ensures proper handling of repeated resize events to maintain session responsiveness and continuity.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from avatus May 5, 2025 22:42
@tigrato tigrato added this pull request to the merge queue May 6, 2025
Merged via the queue into branch/v17 with commit 36e8eb3 May 6, 2025
40 checks passed
@tigrato tigrato deleted the bot/backport-54500-branch/v17 branch May 6, 2025 13:52
@camscale camscale mentioned this pull request May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants