The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/ssh-remote-job-detach-stdin has succeeded.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
3919e85867ac0ed9056e7e90e81bc8071692b372 / LIU ZHE YOU <[email protected]>
Keep SSH remote job running when its PTY session hangs up

SSHRemoteJobOperator launches the remote job detached under setsid so it
survives the SSH connection dropping. The launcher redirected the job's stdout
and stderr to /dev/null but left its stdin on the launching terminal. A fresh
setsid session leader that still holds a terminal on any file descriptor
re-adopts it as its controlling terminal, so when an SSH session that allocated
a PTY hangs up, the job received SIGHUP and died -- orphaning the work the
operator exists to keep alive. Detaching stdin as well leaves the job in a
session with no controlling terminal, immune to the hangup.

Report URL: https://github.com/apache/airflow/actions/runs/30332581702

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to