Skip to content

Conversation

@edwardgou-sentry
Copy link
Contributor

Adds a web-vitals-detector endpoint that allows manually triggering the web vitals issue detection task for a selected project id. This endpoint is private for internal testing and validation only.

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 20, 2025
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 20, 2025
@github-actions
Copy link
Contributor

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

@edwardgou-sentry edwardgou-sentry requested a review from a team November 21, 2025 14:32
@edwardgou-sentry edwardgou-sentry marked this pull request as ready for review November 21, 2025 14:32
@edwardgou-sentry edwardgou-sentry requested review from a team as code owners November 21, 2025 14:32
def get(self, request: Request, project: Project) -> Response:
results = dispatch_detection_for_project_ids([project.id])
if project.id not in results:
return Response({"status": "invalid_project"}, status=status.HTTP_400_BAD_REQUEST)
Copy link
Contributor

Choose a reason for hiding this comment

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

@edwardgou-sentry should we add better messaging on the not ok status? Bu t yeah can be done on a following PR.

@edwardgou-sentry edwardgou-sentry merged commit c24afe2 into master Nov 21, 2025
65 checks passed
@edwardgou-sentry edwardgou-sentry deleted the egou/feat/add-wv-issue-detection-manual-endpoint branch November 21, 2025 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants