The GitHub Actions job "Tests" on 
airflow.git/1fanwang/listener-log-hook-context has failed.
Run started by GitHub user 1fanwang (triggered by 1fanwang).

Head commit for run:
53d0cb6e74f85672e986aab8a0116cfa456da14c / 1fanwang <[email protected]>
fix listener-error log: use format string for stdlib Logger compat

stdlib Logger.exception accepts (msg, *args) but not arbitrary kwargs;
mypy flagged log.exception('msg', hook=name) as call-arg error in
taskinstance.py and other stdlib-Logger sites.

Reverting to format-string form which works for both stdlib and structlog
loggers. The structlog adapter interpolates the format args into the
event field, so cap_structlog still captures the rendered hook name.

Tests updated to match the rendered event field.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to