The GitHub Actions job "Tests" on airflow.git/fix/issue-58770 has failed.
Run started by GitHub user YoannAbriel (triggered by YoannAbriel).

Head commit for run:
f3e077d483d0825a226b3462d093b2e2df09fcef / Yoann Abriel <[email protected]>
fix: separate handler kwargs from RemoteLogIO kwargs in remote logging config

When remote_task_handler_kwargs contains FileTaskHandler parameters like
max_bytes, backup_count, or delay, these were incorrectly passed to
RemoteLogIO constructors (e.g., WasbRemoteLogIO, S3RemoteLogIO) which
don't accept them, causing TypeError on startup.

This was a regression introduced when RemoteLogIO classes were split out
from the handlers in PR #48491. The remote_task_handler_kwargs dict was
passed entirely to RemoteLogIO and then cleared, so handler-level params
were never applied to the FileTaskHandler.

The fix separates the kwargs: handler-specific parameters (max_bytes,
backup_count, delay) are preserved and applied to the handler config,
while the remaining kwargs are passed to the RemoteLogIO constructor.

Closes: #58770

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

With regards,
GitHub Actions via GitBox


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

Reply via email to