Sentry fixes GitLab webhook scaling bugs pinned Control RPC autoscaler

blog.sentry.io12 min read

An infrastructure investigation at Sentry revealed that an autoscaler was pinned at its maximum capacity due to three combined bugs in its GitLab integration. A four-year-old grouping bug bundled thousands of installations together, a newly functioning webhook backfill triggered requests across them, and an N-squared lookup across silo boundaries generated millions of internal RPC calls from a single incoming webhook. The discovery allowed engineers to fix the root cause and dramatically reduce pod counts, though related non-linear scaling issues remain under investigation. Open article →