github-actions[bot] opened a new pull request, #70691:
URL: https://github.com/apache/airflow/pull/70691
The GET /backfills/{backfill_id}/dag_runs endpoint added in #67381 relies on
joinedload to keep its query count constant, but its tests did not assert
that,
so a change that drops the eager-load could silently reintroduce an N+1. Add
an
assert_queries_count guard on the happy path (the count stays constant
regardless of the number of dag runs). Also let the test client encode the
query
parameters from a dict instead of hand-building query strings.
(cherry picked from commit e3d060b7f64670cc9dba6ea8a6c4ba8bc052826d)
Co-authored-by: Pierre Jeambrun <[email protected]>
--
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]