Skip to content

fix: stop tearing down non-TTY processes on SSH session end - #18673

Merged
spikecurtis merged 2 commits into
mainfrom
spike/18519-non-tty-session-disposal
Jun 30, 2025
Merged

spikecurtis merged 2 commits into
mainfrom
spike/18519-non-tty-session-disposal

Conversation

@spikecurtis

@spikecurtis spikecurtis commented Jun 30, 2025 •

Copy link
Copy Markdown
Collaborator

(possibly temporary) fix for #18519

Matches OpenSSH for non-tty sessions, where we don't actively terminate the process.

Adds explicit tracking to the SSH server for these processes so that if we are shutting down we terminate them: this ensures that we can shut down quickly to allow shutdown scripts to run. It also ensures our tests don't leak system resources.

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@spikecurtis
spikecurtis marked this pull request as ready for review June 30, 2025 17:48

@mafredri mafredri left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks reasonable to me 👍

@spikecurtis
spikecurtis merged commit b7cb275 into main Jun 30, 2025
@spikecurtis
spikecurtis deleted the spike/18519-non-tty-session-disposal branch June 30, 2025 18:06
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 30, 2025

@johnstcn johnstcn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Post-merge 👍

@spikecurtis

Copy link
Copy Markdown
Collaborator Author

/cherry-pick release/2.24

@spikecurtis

Copy link
Copy Markdown
Collaborator Author

/cherry-pick release/2.23

@spikecurtis

Copy link
Copy Markdown
Collaborator Author

/cherry-pick release/2.22

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.

4 participants