Skip to content

Cap gunicorn below 25.1.0 to avoid API server startup deadlocks#1554

Closed
kaxil wants to merge 1 commit intomainfrom
fix-api-gunicorn-control-socket-toggle
Closed

Cap gunicorn below 25.1.0 to avoid API server startup deadlocks#1554
kaxil wants to merge 1 commit intomainfrom
fix-api-gunicorn-control-socket-toggle

Conversation

@kaxil
Copy link

@kaxil kaxil commented Feb 26, 2026

Summary

  • Temporarily cap the gunicorn extra in airflow-core to gunicorn>=23.0.0,<25.1.0.
  • Add an inline comment explaining this is a temporary guard for the API server preload+fork startup deadlock seen with Gunicorn 25.1.0.
  • Link directly to upstream tracking and proposed fix for follow-up cleanup.

Context

This is a temporary safety restriction for the Airflow Gunicorn API server path while upstream finalizes and ships a fix:

Pin the gunicorn extra to <25.1.0 to avoid the known 25.1.0 control-socket deadlock in the Airflow API server path, and add links to upstream tracking for follow-up.
@kaxil kaxil closed this Feb 26, 2026
@kaxil kaxil deleted the fix-api-gunicorn-control-socket-toggle branch February 26, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant