Uh oh!
There was an error while loading. Please reload this page.
Add number of queries guard in public dags list endpoints - #57506
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds database query count assertions to the test_get_dags parameterized test to ensure performance regression prevention by verifying that the endpoint consistently executes exactly 4 database queries.
- Added
assert_queries_countimport from test utilities - Wrapped the API call in
test_get_dagswith a query count assertion expecting 4 queries
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
c23d5b7 to
70f277cCompareUh oh!
There was an error while loading. Please reload this page.
Backport failed to create: v3-1-test. View the failure log Run details
You can attempt to backport this manually by running: cherry_picker dc73d38 v3-1-testThis should apply the commit to the v3-1-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continue |
(cherry picked from commit dc73d38)
pierrejeambrun
commented
Oct 30, 2025
Manual backport #57556 |
(cherry picked from commit dc73d38)
(cherry picked from commit dc73d38)
Add number of db queries guard in list endpoint, preventing further N+1 queries problem
No N+1 queries problem detected.