apache/airflow

[Filters] Add filtering support to Search - Dags

Open

#53,041 创建于 2025年7月8日

在 GitHub 查看
 (20 评论) (2 反应) (1 负责人)Python (16,781 fork)batch import
area:UIgood first issuekind:feature

仓库指标

Star
 (44,809 star)
PR 合并指标
 (平均合并 7天 18小时) (30 天内合并 834 个 PR)

描述

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)

贡献者指南