Skip to content

ref(referrer): register supergroups_backfill_lightweight.get_latest_events#7889

Merged
yuvmen merged 1 commit intomasterfrom
yuval/register-supergroups-backfill-referrer
Apr 22, 2026
Merged

ref(referrer): register supergroups_backfill_lightweight.get_latest_events#7889
yuvmen merged 1 commit intomasterfrom
yuval/register-supergroups-backfill-referrer

Conversation

@yuvmen
Copy link
Copy Markdown
Member

@yuvmen yuvmen commented Apr 21, 2026

Summary

  • Registers the new Sentry-side referrer supergroups_backfill_lightweight.get_latest_events in the CrossOrgQueryAllocationPolicy for both errors and errors_ro storages.
  • Without this, unregistered referrers are throttled to max_threads=1/concurrent_limit=1 by the policy, which would serialize (and loudly reject) the supergroups lightweight backfill's concurrent queries.
  • Mirrors the limits already in place for getsentry.tasks.backfill_grouping_records: 2/4 on errors, 7/60 on errors_ro. No strict sizing requirements on the Sentry side — these can be tuned later if the backfill's fan-out warrants more headroom.

Test plan

  • validate-configs-syntax pre-commit hook passes
  • CI green

🤖 Generated with Claude Code

…vents

Register the new Sentry-side referrer in the errors and errors_ro
CrossOrgQueryAllocationPolicy so the supergroups lightweight backfill
isn't throttled to the unregistered default of 1/1. Mirrors the limits
used for getsentry.tasks.backfill_grouping_records (2/4 on errors,
7/60 on errors_ro).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@yuvmen yuvmen requested a review from a team as a code owner April 21, 2026 18:13
@yuvmen yuvmen merged commit 64fce56 into master Apr 22, 2026
48 of 49 checks passed
@yuvmen yuvmen deleted the yuval/register-supergroups-backfill-referrer branch April 22, 2026 21:51
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.

3 participants