Skip to content

feat(regressed): Add produce=false mode - #745

Merged
mjq merged 2 commits into
mainfrom
mjq/regressed-toggle-return-occurrences
Oct 22, 2026
Merged

mjq merged 2 commits into
mainfrom
mjq/regressed-toggle-return-occurrences

Conversation

@mjq

@mjq mjq commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

To assist with the project to standardize Kafka access on Arroyo, we'd like to move the production of Kafka occurrences out of Vroom and into Sentry. (There is no version of Arroyo for Go, and building it just for this use case would be excessive.)

Vroom currently produces occurrences for detected function regressions in the POST /regressed endpoint. Add a new produce query string parameter to it. When produce is false, do not produce occurrences to Kafka - instead, return them as part of the response payload.

With this in place, Sentry can be updated to call Vroom's /regressed endpoint with produce=false, read the returned occurrence payloads, and produce them to Kafka itself. Once that's fully in place, the parameter (and all Kafka-related code) can be removed from Vroom.

@mjq
mjq marked this pull request as ready for review October 22, 2026 15:28
@mjq
mjq requested a review from a team as a code owner October 22, 2026 15:28
@mjq
mjq merged commit 5f1b793 into main Oct 22, 2026
22 checks passed
@mjq
mjq deleted the mjq/regressed-toggle-return-occurrences branch October 22, 2026 18:24
mjq added a commit to getsentry/sentry that referenced this pull request Oct 22, 2026
…128522)

To assist with [the project to standardize Kafka access on
Arroyo](https://linear.app/getsentry/project/all-services-use-arroyo-for-kafka-communication-04f99f624378/overview),
we'd like to move the production of Kafka occurrences out of Vroom and
into Sentry. (There is no version of Arroyo for Go, and building it just
for this use case would be excessive.)

In getsentry/vroom#745, we add a new `produce`
query string parameter to the `/regressed` endpoint that controls
whether Vroom produces regression occurrences to Kafka (current
behaviour) or returns them in the response body (new behaviour).

This PR adds a new feature flag that, when enabled, makes Sentry call
Vroom with `produce=false` and produce the returned occurrences to Kafka
itself.
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.

2 participants