apache/airflow

[Filters] Add filtering support to Search - Dags

Open

#53,041 opened on Jul 8, 2025

View on GitHub
 (20 comments) (2 reactions) (1 assignee)Python (44,809 stars) (16,781 forks)batch import
area:UIgood first issuekind:feature

Description

View

Search - Dags

Filters to Add

  • Filter DAGs with Import Errorshas_import_errors = true

  • Filter DAGs by Ownerowners = ['alice', 'bob', 'airflow']

  • Filter Stale DAGsis_stale = true

  • Filter DAGs by Timetable ↪ (e.g. CronTriggerTimetable, AssetOrTimeSchedule)

  • Filter DAGs by Bundle Name or Versionbundle_name = 'analytics', bundle_version = 'v1.2.3'

  • Filter DAGs with Asset-Based Schedules ↪ Requires awareness of upstream asset dependencies

  • Filter Unscheduled DAGsschedule_interval = None or equivalent

API Support

⚠️ Partial

  • /dags returns many required fields (has_import_errors, is_stale, bundle_name, owners)
  • But does not currently support these as filter query parameters
  • Would require extending the DAG API to support additional filters

UI Impact

  • Filters would appear at the top of the Search – DAGs screen
  • Should be consistent with filters for status, tags, and active/paused state already present
  • Multi-select or autocomplete where applicable (e.g., owners)

Contributor guide