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: f1339dc9a110ce0c42205e25b6455803e69ebb5a / Rahul Vats <[email protected]> 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 <[email protected]> Report URL: https://github.com/apache/airflow/actions/runs/29419202666 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
