Skip to content

fix(agent): More protection for lost output of SSH PTY commands #6833

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

mafredri
Copy link
Member

This fixes an immediate problem of PTY output potentially being lost when using ssh -t.

It also fixes test flakes: https://github.com/coder/coder/actions/runs/4533441494/jobs/7986257296

Finally, adds a test to prove we still have a problem (disabled for now).

Fixes #6656 (part 2)

@mafredri mafredri self-assigned this Mar 28, 2023
@mafredri mafredri requested review from kylecarbs and mtojek March 28, 2023 08:47
@mafredri mafredri force-pushed the mafredri/fix-tty-output-bug-in-low-parallelism-environments branch from c8bd5b4 to bcf04ee Compare March 28, 2023 08:48
@mafredri mafredri enabled auto-merge (squash) March 28, 2023 09:06
@mafredri mafredri merged commit 891bbda into main Mar 28, 2023
@mafredri mafredri deleted the mafredri/fix-tty-output-bug-in-low-parallelism-environments branch March 28, 2023 09:11
@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running commands over ssh -t periodically gives no output
2 participants