shivaam commented on issue #46250:
URL: https://github.com/apache/airflow/issues/46250#issuecomment-4211551620
Hi @dstandish — I'd like to pick this up.
I started with a prototype in #64089 (adding state counts directly to
`BackfillResponse`), but based on feedback from @uranusjr and thinking through
the design, I'm going to take a different approach:
**Plan: New `GET /backfills/{backfill_id}/dag_runs` endpoint**
This would return the `BackfillDagRun` entries with their linked `DagRun`
state, logical_date, and exception_reason (for skipped slots). The UI can then
compute progress counts client-side.
Benefits over enriching `BackfillResponse`:
- Keeps the backfill model stable
- Returns the actual dag run data (not just aggregated counts)
- Enables linking individual dag runs to backfills in the UI
- Supports future CLI `airflow backfill status` use case
I'll close #64089 and open a new PR with this approach. Let me know if you
have any thoughts on the response shape or if there are specific fields you'd
want exposed.
--
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]