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/28 17:01:01 UTC

[GH] (airflow/fix-ssh-cleanup-basedir-validation): Workflow run "Tests (AMD)" failed!

The GitHub Actions job "Tests (AMD)" on airflow.git/fix-ssh-cleanup-basedir-validation has failed.
Run started by GitHub user ylemiesa57 (triggered by potiuk).

Head commit for run:
6cffa071c2f2dacae77836b667d342b44989d4b7 / Yaphet Lemiesa <ya...@mit.edu>
Fix SSHRemoteJobOperator cleanup validating against wrong base dir when remote_base_dir is customized

_validate_job_dir() always checked job_dir against the hardcoded
POSIX_DEFAULT_BASE_DIR/WINDOWS_DEFAULT_BASE_DIR constants, even when the
operator was configured with a custom remote_base_dir. Since RemoteJobPaths
builds job_dir under whatever base_dir was actually configured, any operator
using a non-default remote_base_dir would submit and run successfully, then
raise a spurious ValueError from build_posix_cleanup_command/
build_windows_cleanup_command during cleanup, because the validation was
comparing against the wrong directory.

_validate_job_dir(), build_posix_cleanup_command(), and
build_windows_cleanup_command() now take an optional base_dir parameter
(default None preserves the previous default-path behavior).
_cleanup_remote_job() passes self.remote_base_dir through so cleanup
validates against the same base_dir the job actually ran under.

Fixes #69813.

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

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