Skip to content

fix(regressed): Match frames using vroomrs' fingerprints - #726

Merged
mjq merged 1 commit into
mainfrom
mjq/regressed-function-fingerprint
Oct 13, 2026
Merged

mjq merged 1 commit into
mainfrom
mjq/regressed-function-fingerprint

Conversation

@mjq

@mjq mjq commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

I'm trying to bring back regressed function detection.

In getsentry/sentry#126614 I fixed our detection tasks to correctly detect breakpoints and forward them to vroom. However, this uncovered an issue in vroom: now we're calling /regressed correctly, but it errors 100% of the time with Unable to find matching frame (see VROOM-5H).

The frame fingerprints generated in Sentry via vroomrs use FNV-1a, while vroom is using FNV-1. This mismatch means we can't find frames for the given regressed function. For regression detection, use FNV-1a in vroom too. (Note that we don't want to change Frame.Fingerprint directly because this does agree between Sentry and vroom for other use cases - only regression detection seems to be affected by the vroomrs/vroom mismatch. Hence the new GetFrameForRegression function that forwards to Frame.VroomrsFingerprint.)

We should probably move to an overall design where the two systems don't have to coordinate fingerprinting semantics, but that is a much bigger change for another day.

See PRO-50.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit f9f8383. Configure here.

@mjq
mjq marked this pull request as ready for review October 13, 2026 17:46
@mjq
mjq requested a review from a team as a code owner October 13, 2026 17:46
@linear-code

linear-code Bot commented Oct 13, 2026

Copy link
Copy Markdown

PRO-50

@mjq mjq changed the title fix(regressed): Match frames and chunks using vroomrs' fingerprints fix(regressed): Match frames using vroomrs' fingerprints Oct 13, 2026

@skaasten skaasten left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@mjq
mjq merged commit 16adfb1 into main Oct 13, 2026
24 checks passed
@mjq
mjq deleted the mjq/regressed-function-fingerprint branch October 13, 2026 18:15
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