The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/remote-log-handler-premature-close has failed.
Run started by GitHub user korex-f (triggered by korex-f).

Head commit for run:
ec31091f73b5894a6eff8ec183231f39a44cb5fd / Idris Akorede Ibrahim 
<[email protected]>
Fix remote processor injection happening before dictConfig runs in 
configure_logging

In configure_logging(), getattr(remote, 'processors') was called before
dictConfig() ran. dictConfig() calls _clearExistingHandlers() which closes
every handler in logging._handlerList — including the remote handler built
moments earlier. This caused CloudWatch/Watchtower logs to be silently
dropped when using the Task SDK with remote logging on ECS/Kubernetes workers.

Fix: move the remote processor injection to after dictConfig() has run via
a second structlog.configure() call. Also gate on not sending_to_supervisor
to avoid unmasked events from the task subprocess, and add a None default
to getattr() to handle third-party RemoteLogIO objects.

Provider-side fix: #68779

Closes #66475

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

With regards,
GitHub Actions via GitBox


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

Reply via email to