Skip to content

Conversation

@obostjancic
Copy link
Member

Closes TET-1614: Conversations endpoint performance

Adds a code path behind useOptimizedQuery parameter that performs 2 queries and aggregates data in code instead of the existing behavior (running 4 queries).

@obostjancic obostjancic requested a review from a team December 17, 2025 11:51
@obostjancic obostjancic requested a review from a team as a code owner December 17, 2025 11:51
@linear
Copy link

linear bot commented Dec 17, 2025

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 17, 2025
@codecov
Copy link

codecov bot commented Dec 17, 2025

Codecov Report

❌ Patch coverage is 94.11765% with 9 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...try/api/endpoints/organization_ai_conversations.py 94.11% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##           master   #105133    +/-   ##
=========================================
  Coverage   80.61%    80.62%            
=========================================
  Files        9415      9418     +3     
  Lines      403769    403923   +154     
  Branches    25662     25662            
=========================================
+ Hits       325497    325657   +160     
+ Misses      77803     77797     -6     
  Partials      469       469            

@obostjancic obostjancic merged commit 877b055 into master Dec 17, 2025
67 checks passed
@obostjancic obostjancic deleted the ogi/tet-1614-conversations-endpoint-performance branch December 17, 2025 14:17
@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants