Skip to content

ref(typing): Let feature and search helpers take a service account - #129423

Merged
gricha merged 1 commit into
ref/sa-narrow-api-bfrom
ref/sa-narrow-widen
Nov 3, 2026
Merged

gricha merged 1 commit into
ref/sa-narrow-api-bfrom
ref/sa-narrow-widen

Conversation

@gricha

@gricha gricha commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

is_provider_enabled, the preprod quota checks, investigation action kinds' cannot_apply_reasons, parse_user_value and store_issue_last_defaults now take a RequestPrincipal. They only forward the caller to features.has(), ignore it, or already check has_user(), so this is type-only.

Without it, #129402's mypy check would flag 4 more files.

@gricha
gricha added this pull request to stack #129364 October 31, 2026 02:27
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 31, 2026
@gricha
gricha removed this pull request from stack #129364 November 1, 2026 04:24
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from 8e185f5 to 94da59d Compare November 1, 2026 04:24
@gricha
gricha added this pull request to stack #129440 November 1, 2026 04:24
@sentry

sentry Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
sentry-frontend
sentry-frontend
0 0 0 0 780 0 ✅ Unchanged

⚙️ sentry-frontend Snapshot Settings

@gricha
gricha force-pushed the ref/sa-narrow-widen branch from 94da59d to 70e65f0 Compare November 1, 2026 04:57
@gricha
gricha force-pushed the ref/sa-narrow-widen branch 2 times, most recently from 4767324 to df7da88 Compare November 2, 2026 20:14
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from df7da88 to 244a554 Compare November 2, 2026 20:29
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from 244a554 to 36d2629 Compare November 2, 2026 20:33
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from 36d2629 to 5e7b8bf Compare November 2, 2026 20:35
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from 5e7b8bf to b020cd8 Compare November 2, 2026 21:03
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from b020cd8 to 9fe847b Compare November 2, 2026 21:10
@gricha
gricha marked this pull request as ready for review November 2, 2026 21:13
@gricha
gricha requested review from azulus and skaasten November 2, 2026 21:13
@gricha
gricha requested review from a team as code owners November 2, 2026 21:13
@gricha
gricha removed this pull request from stack #129440 November 2, 2026 21:45
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from b24fa19 to 7a16ca8 Compare November 3, 2026 04:03
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from 7a16ca8 to 2774099 Compare November 3, 2026 04:41
@gricha
gricha removed this pull request from stack #129572 November 3, 2026 06:52
@gricha
gricha added this pull request to stack #129650 November 3, 2026 06:52
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from 2774099 to 1c0a0b7 Compare November 3, 2026 19:53
@gricha
gricha removed this pull request from stack #129650 November 3, 2026 19:53
@gricha
gricha added this pull request to stack #129747 November 3, 2026 19:54
@gricha
gricha requested review from a team as code owners November 3, 2026 19:59
@gricha
gricha force-pushed the ref/sa-narrow-widen branch 2 times, most recently from 514001f to f653947 Compare November 3, 2026 20:09
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from f653947 to 6cfb62f Compare November 3, 2026 20:51
is_provider_enabled, the preprod quota checks, investigation action kinds' cannot_apply_reasons, parse_user_value and store_issue_last_defaults now take a RequestPrincipal. They only forward the caller to features.has(), ignore it, or already check has_user(), so this is type-only.
@gricha
gricha force-pushed the ref/sa-narrow-widen branch from 6cfb62f to c66dead Compare November 3, 2026 21:10
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants