Skip to content

Fix backfill UI active state for running task instances#67437

Closed
bobu-putheeckal wants to merge 1 commit into
apache:mainfrom
bobu-putheeckal:codex-airflow-64827-backfill-running-tasks
Closed

Fix backfill UI active state for running task instances#67437
bobu-putheeckal wants to merge 1 commit into
apache:mainfrom
bobu-putheeckal:codex-airflow-64827-backfill-running-tasks

Conversation

@bobu-putheeckal
Copy link
Copy Markdown

Closes #64827.\n\nThis updates the private UI backfills endpoint to include the number of running task instances associated with each backfill and treats a backfill as active while any of those task instances are still running. The backfill banner now keeps rendering/refetching for that case, including backwards backfills where a newer run has completed while an older task instance is still running.\n\nTests:\n- uv run --no-dev --with pytest --with-editable ./devel-common --with-editable ./providers/git pytest airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_backfills.py -q\n- uv run --no-dev --with ruff ruff check airflow-core/src/airflow/api_fastapi/core_api/datamodels/backfills.py airflow-core/src/airflow/api_fastapi/core_api/routes/ui/backfills.py airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_backfills.py\n- python3 -m py_compile airflow-core/src/airflow/api_fastapi/core_api/datamodels/backfills.py airflow-core/src/airflow/api_fastapi/core_api/routes/ui/backfills.py airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_backfills.py\n- git diff --check

@kaxil
Copy link
Copy Markdown
Member

kaxil commented May 24, 2026

PR template hasn't been followed on any of your PRs. As such I am closing all your PRs since I see little to no evidence of actual testing and mass PRs to Airflow & other repos.

image

@kaxil kaxil closed this May 24, 2026
@kaxil kaxil added the ai-slop label May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-slop area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backwards backfill UI incorrectly shows “no running tasks” while older backfill task instances are still running

2 participants