Skip to content

ref(allocation-policies): Remove CrossOrgQueryAllocationPolicy - #8626

Closed
dezzeddi wants to merge 1 commit into
masterfrom
dani/remove-cross-org-policy
Closed

dezzeddi wants to merge 1 commit into
masterfrom
dani/remove-cross-org-policy

Conversation

@dezzeddi

@dezzeddi dezzeddi commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Removes CrossOrgQueryAllocationPolicy, its tests and the cross_org_referrer_limits schema property.

It never limits a query. It only acts when cross_org_query is set or the referrer is in cross_org_referrer_limits. No config sets the limits, and the only queries with cross_org_query read storages where this policy isn't configured.

The resolver skips unknown policy names with a warning, so this can merge before or after the config cleanup (getsentry/sentry-options-automator#10394).

Also removes comments claiming this policy gates outcomes_cross_org_hourly. It never did.

It only limits queries with tenant_ids.cross_org_query set or a referrer in
cross_org_referrer_limits. No config sets cross_org_referrer_limits, and
cross_org_query is only set by the outcomes routing queries, which read storages
the policy is not configured on, so it passes every query through.
@dezzeddi

Copy link
Copy Markdown
Member Author

Combined into #8643.

@dezzeddi dezzeddi closed this Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant