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 
<[email protected]>
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 <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to