You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/07/15 16:48:22 UTC

[GH] (airflow/fix-ssh-remote-job-custom-base-dir): Workflow run "Tests (AMD)" is working again!

The GitHub Actions job "Tests (AMD)" on airflow.git/fix-ssh-remote-job-custom-base-dir has succeeded.
Run started by GitHub user harshhh817 (triggered by potiuk).

Head commit for run:
0095a4f4144102ac51afd81fc1331fe987a44958 / Harsh Gupta <ha...@gmail.com>
Fix SSHRemoteJobOperator cleanup failing with custom remote_base_dir

The cleanup command builders validated the job directory against the
hardcoded default base directory, so any job started with a custom
remote_base_dir ran to completion and then failed its cleanup step with
"Invalid job directory ... Expected path under '/tmp/airflow-ssh-jobs'".

Thread the operator's configured remote_base_dir through
build_posix_cleanup_command / build_windows_cleanup_command into
_validate_job_dir, falling back to the OS default when unset, so the
safety check still constrains the rm target to the directory the job was
actually created under.

Signed-off-by: Harsh Gupta <ha...@gmail.com>

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org