Skip to content

[Filters] Add filters to DAG View - Backfills Tab #53049

Open

Description

@cmarteepants

View

DAG View – Backfills Tab

Image

Filters to Add

  • Filter by Start Date / End Date
    ↪ Useful to isolate backfills that targeted a specific data range

  • Filter by Created At
    ↪ Helps identify when backfills were initiated (e.g., ad hoc vs. automated)

  • Filter by Completed At
    ↪ Enables monitoring of completion lag or stuck backfills

  • Filter by Duration
    ↪ Surfaces long-running backfills that may impact system performance

  • Filter by Reprocess Behavior
    ↪ Distinguish between missing-only backfills and full-range reprocessing

  • Filter by Max Active Runs
    ↪ Useful when diagnosing throttling or concurrency constraints in backfill execution

  • Filter by Status
    ↪ Surface failed or incomplete backfills

API Support

✅ Yes

  • /dags/{dag_id}/backfills supports filtering via:
    • start_date, end_date
    • created_at, completed_at
    • status, table.duration, table.reprocessBehavior, max_active_runs

UI Impact

  • Add filter controls above the backfill table (consistent with DAG Runs tab)
  • Consider sortable columns and pill filters for behavior or status
  • Could also support "re-run" or "cancel" from filtered selection

Notes

  • Users often need to investigate reprocessing activity during incidents
  • Filtering helps correlate performance issues with large or frequent backfills

Activity

  1. added
    kind:meta
    on Jul 8, 2025
  2. added
    area:UI
    kind:feature
    on Jul 8, 2025
  3. self-assigned this
    on Jul 31, 2025
  4. vatsrahul1001 commented on Aug 11, 2025

    @vatsrahul1001
    Contributor

    @aritra24, how are we progressing on this?

  5. aritra24 commented on Aug 11, 2025

    @aritra24
    Collaborator

    @vatsrahul1001 been occupied with a couple other things. Will start on this tomorrow probably, should take a couple days post that.

  6. aritra24 commented on Aug 28, 2025

    @aritra24
    Collaborator

    Sorry, was only able to get back to this today. From the spec file I don't see the filter params in this?

      /api/v2/backfills:
        get:
          tags:
          - Backfill
          summary: List Backfills
          operationId: list_backfills
          security:
          - OAuth2PasswordBearer: []
          - HTTPBearer: []
          parameters:
          - name: dag_id
            in: query
            required: true
            schema:
              type: string
              title: Dag Id
          - name: limit
            in: query
            required: false
            schema:
              type: integer
              minimum: 0
              default: 50
              title: Limit
          - name: offset
            in: query
            required: false
            schema:
              type: integer
              minimum: 0
              default: 0
              title: Offset
          - name: order_by
            in: query
            required: false
            schema:
              type: array
              items:
                type: string
              default:
              - id
              title: Order By
    

    I assume it'd need to be implemented? I'll do that. But in case I'm missing it let me know.

  7. vatsrahul1001 commented on Aug 28, 2025

    @vatsrahul1001
    Contributor

    Yes, we need to implement in backend first

  8. Phinhas214 commented on Jun 21, 2026

    @Phinhas214
    Contributor

    Do we have a fix/assigned person for this issue yet. I'd like to work on it if not.

  9. pierrejeambrun commented on Jun 22, 2026

    @pierrejeambrun
    Member

    Following our policy we do not assign issues to contributors anymore. Feel free to work on whatever you feel like, We'd be glad to review a PR in that sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:UIgood first issuekind:featurekind:meta

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions