Skip to content

[v16] fix: fixes a possible deadlock in kube moderator joining#54522

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

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

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented May 5, 2025

Backport #54500 to branch/v16

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

tigrato and others added 2 commits May 5, 2025 20:09
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 zmb3 May 6, 2025 03:49
@tigrato tigrato enabled auto-merge May 6, 2025 13:33
@tigrato tigrato added this pull request to the merge queue May 6, 2025
Merged via the queue into branch/v16 with commit 318e936 May 6, 2025
40 checks passed
@tigrato tigrato deleted the bot/backport-54500-branch/v16 branch May 6, 2025 14:10
This was referenced May 8, 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