Skip to content

fix(agent): Prevent SSH TTYs from losing command output on exit #6777

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
merged 2 commits into from
Mar 24, 2023

Conversation

mafredri
Copy link
Member

Fixes #6656

@mafredri mafredri self-assigned this Mar 24, 2023
@mafredri mafredri requested review from bpmct and code-asher March 24, 2023 17:21
Copy link
Member

@kylecarbs kylecarbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!!!

Comment on lines +375 to +378
// NOTE(mafredri): Increase iterations to increase chance of failure,
// assuming bug is present.
// Using 1000 iterations is basically a guaranteed failure (but let's
// not increase test times needlessly).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really enjoy comments like this. I should do more of these!

@mafredri mafredri enabled auto-merge (squash) March 24, 2023 18:20
@mafredri mafredri merged commit 76bdde7 into main Mar 24, 2023
@mafredri mafredri deleted the mafredri/fix-tty-output-bug branch March 24, 2023 18:23
@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 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