Skip to content

perf(ai-conversations): Improve performance of the conversations endpoint#106658

Merged
vgrozdanic merged 1 commit intomasterfrom
vg/improve-performance-of-conversation-ids-endpoint
Jan 21, 2026
Merged

perf(ai-conversations): Improve performance of the conversations endpoint#106658
vgrozdanic merged 1 commit intomasterfrom
vg/improve-performance-of-conversation-ids-endpoint

Conversation

@vgrozdanic
Copy link
Member

Improves performance of the existing endpoint and adds more telemetry to get more insight into what's slow.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 21, 2026
"/_warmup/": 0.0,
"/api/0/auth/validate/": 0.0,
# Temporary: 100% sampling for ai-conversations endpoint debugging (sentry org)
"/api/0/organizations/sentry/ai-conversations/": 1.0,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is behind the feature flag, so nobody is sending requests to it at the moment

}


class OrganizationAIConversationsSerializer(serializers.Serializer):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is just moved to a separate file to make the endpoint code a bit easier to go through

@vgrozdanic vgrozdanic marked this pull request as ready for review January 21, 2026 13:57
@vgrozdanic vgrozdanic requested review from a team as code owners January 21, 2026 13:57
@vgrozdanic vgrozdanic requested a review from a team January 21, 2026 13:57
cursor[bot]

This comment was marked as outdated.

@vgrozdanic vgrozdanic force-pushed the vg/improve-performance-of-conversation-ids-endpoint branch from 229ac0f to 8774bbe Compare January 21, 2026 14:04
@vgrozdanic vgrozdanic force-pushed the vg/improve-performance-of-conversation-ids-endpoint branch from 8774bbe to fe0d57f Compare January 21, 2026 14:06
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@vgrozdanic vgrozdanic merged commit 8344372 into master Jan 21, 2026
66 checks passed
@vgrozdanic vgrozdanic deleted the vg/improve-performance-of-conversation-ids-endpoint branch January 21, 2026 14:38
@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 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.

2 participants