Skip to content

Conversation

@markstory
Copy link
Member

@markstory markstory commented Nov 25, 2025

Add silo annotations to the debug views, and plugin views. While debug email views are never run in production, having silo annotations on these will allow silo completeness tests to have fewer exceptions.

Refs INFRENG-201

@linear
Copy link

linear bot commented Nov 25, 2025

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 25, 2025
We need to mark debug email views as internal. They won't be reachable
via cell routing.
@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

❌ Patch coverage is 99.14530% with 1 line in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/web/frontend/base.py 92.30% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #104034      +/-   ##
===========================================
- Coverage   80.62%    80.55%   -0.07%     
===========================================
  Files        9317      9316       -1     
  Lines      397571    398277     +706     
  Branches    25392     25361      -31     
===========================================
+ Hits       320522    320817     +295     
- Misses      76597     77008     +411     
  Partials      452       452              

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 26, 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.

Comment on lines 19 to 29
new RegExp('^remote/vercel/oauth$'),
new RegExp('^$'),
new RegExp('^support/$'),
new RegExp('^identity/login/[^/]+/$'),
new RegExp('^orgredirect/try-business/$'),
new RegExp('^orgredirect/'),
new RegExp('^associate/complete/[^/]+/$'),
new RegExp('^associate/[^/]+/$'),
new RegExp('^api/0/staff-auth/$'),
new RegExp('^api/0/signup/$'),
new RegExp('^api/0/audit-logs/$'),

This comment was marked as outdated.

@markstory markstory requested a review from a team as a code owner November 26, 2025 16:35
@markstory markstory changed the title feat(cells) Add silo annotations to email debug views feat(cells) Add silo annotations to email, debug, and plugin views Nov 26, 2025
logger = logging.getLogger(__name__)


@all_silo_view
Copy link
Contributor

Choose a reason for hiding this comment

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

Bug: GitHub integration webhook incorrectly uses all_silo_view

GithubPluginIntegrationsWebhookEndpoint is decorated with @all_silo_view but uses region-scoped models like Repository, Commit, and CommitAuthor through its webhook handlers. According to the PR discussion, this endpoint should use @region_silo_view instead, matching the BitbucketPluginWebhookEndpoint and GithubPluginWebhookEndpoint which correctly use @region_silo_view for the same reason.

Fix in Cursor Fix in Web

Copy link
Member

@IanWoodard IanWoodard left a comment

Choose a reason for hiding this comment

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

LGTM

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