You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2026/10/04 22:51:37 UTC

[I] SFTPHook concurrent workers ignore the parent hook's constructor overrides [airflow]

potiuk opened a new issue, #74208:
URL: https://github.com/apache/airflow/issues/74208

   `SFTPHook` builds its concurrent worker hooks (`providers/sftp/src/airflow/providers/sftp/hooks/sftp.py`, the two `SFTPHook(ssh_conn_id=self.ssh_conn_id, ...)` calls used by the multi-worker download/upload paths) from `ssh_conn_id` alone. Any settings the parent hook received through its constructor — `remote_host`, `port`, `username`, password / key file, proxy configuration and other overrides — are not passed on, so the workers connect with the connection's defaults instead.
   
   For example, a directory can be listed through a parent hook created with an explicit `remote_host`, after which the workers download the files from the connection's original host.
   
   A regression test could patch worker-hook construction, configure the parent with a different `remote_host` (and port/username), and assert that every worker receives the parent's effective settings.
   
   Reported by @shubhamraj-git in review of #73419.
   
   ---
   Drafted-by: Claude Code (Opus 5); reviewed by @potiuk before posting
   


-- 
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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] SFTPHook concurrent workers ignore the parent hook's constructor overrides [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #74208:
URL: https://github.com/apache/airflow/issues/74208#issuecomment-6225760678

   Duplicate of #73585, fixed by #73647 by @abhishekmauryaKsolves.
   
   ---
   Drafted-by: Claude Code (Opus 5); reviewed by @potiuk before posting
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] SFTPHook concurrent workers ignore the parent hook's constructor overrides [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #74208: SFTPHook concurrent workers ignore the parent hook's constructor overrides
URL: https://github.com/apache/airflow/issues/74208


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org