Skip to content

Add filter with run_after field in dags/:dagid/runs page#62797

Open
Prajwal7842 wants to merge 1 commit intoapache:mainfrom
Prajwal7842:prajwal7842/60521
Open

Add filter with run_after field in dags/:dagid/runs page#62797
Prajwal7842 wants to merge 1 commit intoapache:mainfrom
Prajwal7842:prajwal7842/60521

Conversation

@Prajwal7842
Copy link
Contributor

@Prajwal7842 Prajwal7842 commented Mar 3, 2026

This PR adds support for filtering dag runs on dags/:dag_id/runs page using run_after field. This enables lookback from a timestamp allowing users to view dag runs way far back.

This requires creating a SingleDatePicker component and adding it in the filter panel for selection.
By default, when the date time picker is selected, the default input is the current date and time.

Screenshot 2026-03-03 at 9 32 55 PM

On selecting a date and time, runs are filtered accordingly. From SS below, we can see that a datetime is selected and even though there are newer runs, the left panel shows only dag runs ending at the selected date time.

Screenshot 2026-03-03 at 9 10 38 PM Screenshot 2026-03-03 at 9 11 11 PM

In case of an existing issue, reference it using one of the following:


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)
    Claude for writing the new date picker component and tests.

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@Prajwal7842
Copy link
Contributor Author

Prajwal7842 commented Mar 3, 2026

Looking to verify whether the solution works or not. For eg:

  1. Having filter on "Run After" field works or not. Should we use logical date instead, as that is something fixed for a dag run ?
  2. Text used is sufficient to help users understand the meaning of this filter or not.

Thank you!

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

Labels

area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot view >50 dag runs

1 participant