You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/07/15 13:25:14 UTC

[GH] (airflow/fix-celery-json-output-af30): Workflow run "Tests (AMD)" failed!

The GitHub Actions job "Tests (AMD)" on airflow.git/fix-celery-json-output-af30 has failed.
Run started by GitHub user vatsrahul1001 (triggered by vatsrahul1001).

Head commit for run:
e799875ae833d8e20de46977972fbef6181ac50c / Rahul Vats <ra...@gmail.com>
Fix Celery worker crash on Airflow 3.0 with json_logs

The celery worker CLI unconditionally passed `json_output` to
`airflow.sdk.log.configure_logging` under an `AIRFLOW_V_3_0_PLUS` gate.
That parameter was only added to the Task SDK in 1.1 (Airflow 3.1, the
structlog migration), so on Airflow 3.0.x the call raises
`TypeError: configure_logging() got an unexpected keyword argument
'json_output'` and the worker crashes on startup.

Gate the `json_logs` handling on a new `AIRFLOW_V_3_1_PLUS` constant and
fall back to `configure_logging(output=sys.stdout.buffer)` on 3.0.x, so
the provider stays compatible across the full Airflow 3.x range it
supports.

Signed-off-by: Rahul Vats <ra...@gmail.com>

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org