Skip to content

[v16] [kube] avoid terminal resize loop on macOS Terminal app#46066

Merged
tigrato merged 1 commit intobranch/v16from
bot/backport-46028-branch/v16
Aug 30, 2024
Merged

[v16] [kube] avoid terminal resize loop on macOS Terminal app#46066
tigrato merged 1 commit intobranch/v16from
bot/backport-46028-branch/v16

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Aug 30, 2024

Backport #46028 to branch/v16

changelog: Prevented Teleport Kubernetes access from resending resize events to the party that triggered the terminal resize, avoiding potential resize loops.

When performing a quick resize, the macOS Terminal generates several intermediate window sizes between the original and final terminal sizes. During this resizing process, Teleport receives all the intermediate sizes and broadcasts them to all participants in the session.

If the resizing information is sent back to the party that initiated the resize, it can create a feedback loop where the terminal and Teleport repeatedly attempt to enforce different window sizes.

This PR prevents Teleport from resending the resize event to the party that triggered the initial resize.

Fixes #30714

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@tigrato tigrato enabled auto-merge August 30, 2024 14:43
@tigrato tigrato added this pull request to the merge queue Aug 30, 2024
Merged via the queue into branch/v16 with commit 55855e1 Aug 30, 2024
@tigrato tigrato deleted the bot/backport-46028-branch/v16 branch August 30, 2024 18:16
@fheinecke fheinecke mentioned this pull request Apr 9, 2025
@fheinecke fheinecke mentioned this pull request Jan 8, 2026
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.

4 participants