The GitHub Actions job "Check newsfragment PR number" on airflow.git/fix/import-error-total-entries-67525 has failed. Run started by GitHub user GayathriSrividya (triggered by potiuk).
Head commit for run: c6afde3a1c10e4d75bd29433167985b3736e7d26 / Gayathri Srividya Rajavarapu <[email protected]> Fix total_entries inflation in GET /api/v2/importErrors when file has multiple DAGs When a single import-error file mapped to N DAGs, the previous query JOINed ParseImportError with file_dags_cte producing N rows per error. paginated_select then counted those N rows, inflating total_entries and applying LIMIT/OFFSET against joined rows rather than distinct errors. Fix uses a two-query approach: 1. dedup_stmt with DISTINCT - one row per import error for correct count and pagination via paginated_select 2. import_errors_stmt - full join only for the paginated IDs to gather dag_id associations for authorization/stacktrace redaction Closes #67525 Report URL: https://github.com/apache/airflow/actions/runs/26569292658 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
