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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
