GayathriSrividya opened a new pull request, #67968:
URL: https://github.com/apache/airflow/pull/67968

   Fixes #67525
   
   When one ParseImportError file maps to multiple DagModel rows, the
    endpoint returned grouped import error objects but
   computed  from raw joined rows. This inflated the Dashboard
   Dag Import Errors badge.
   
   This change makes  count distinct 
   after applying the same filename filters used by the endpoint.
   Pagination and authorization/redaction behavior are unchanged.
   
   Added regression test:
   - verifies  remains equal to distinct import-error objects
     when one file maps to multiple DAGs.
   
   Validation:
   - ruff check passed for touched files
   - targeted pytest is blocked in this workspace due missing 
     dependency in local runtime ()
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — GitHub Copilot (GPT-5.3-Codex)
   
   Generated-by: GitHub Copilot (GPT-5.3-Codex) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
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]

Reply via email to