Vamsi-klu commented on PR #69414: URL: https://github.com/apache/airflow/pull/69414#issuecomment-4888993685
Could you pass `dagRunsLimit: 1` into `DagService.getDagsUi` here too? The query key includes it, but the actual request omits it, so `/ui/dags` falls back to the backend default of 10 latest Dag runs per result. The UI only reads `latest_dag_runs[0]`, so search does unnecessary DagRun work on every keystroke for large deployments. One small UI regression too: `formatOptionLabel` should render `option.label` instead of `option.value` so Dags with a custom display name keep the previous search-result text. --- Drafted-by: Codex (GPT-5); reviewed by @Vamsi-klu before posting -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
