bobu-putheeckal opened a new pull request, #67437: URL: https://github.com/apache/airflow/pull/67437
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/rou tes/ui/backfills.py airflow-core/tests/unit/api_fastapi/core_api/routes/ui/test_backfills.py`\n- `git diff --check` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
