mmaxjr opened a new pull request, #70802:
URL: https://github.com/apache/airflow/pull/70802

   Fixes #69813
   
   ## Problem
   `SSHRemoteJobOperator` lets users set a custom `remote_base_dir`, and it's
   correctly validated for safety (`_validate_base_dir`) and used to build
   `job_dir` via `RemoteJobPaths`. Execution and monitoring both work fine
   with it.
   
   But `_cleanup_remote_job` calls `build_posix_cleanup_command`/
   `build_windows_cleanup_command`, which always validated `job_dir` against
   the *hardcoded default* base directory (`_validate_job_dir`), not the one
   actually configured. So cleanup for any job using a custom
   `remote_base_dir` always raised:
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to