apache/airflow

[Filters] Add filtering support to Search - Dags

Open

#53.041 aperta il 8 lug 2025

Vedi su GitHub
 (20 commenti) (2 reazioni) (1 assegnatario)Python (16.781 fork)batch import
area:UIgood first issuekind:feature

Metriche repository

Star
 (44.809 star)
Metriche merge PR
 (Merge medio 7g 18h) (834 PR mergiate in 30 g)

Descrizione

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)

Guida contributor