feat(scopes): add sentry_scope_remove_fingerprint - #1932
Merged
Conversation
|
limbonaut
force-pushed
the
limbonaut/fix/scope-fingerprint-clear
branch
from
July 30, 2026 14:24
1841c8b to
320f2c0
Compare
sentry_scope_remove_fingerprintsentry_scope_remove_fingerprint
sentry_scope_remove_fingerprintsentry_scope_remove_fingerprint
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1932 +/- ##
==========================================
- Coverage 75.76% 75.74% -0.02%
==========================================
Files 93 93
Lines 22125 22128 +3
Branches 3939 3939
==========================================
- Hits 16762 16761 -1
- Misses 4478 4483 +5
+ Partials 885 884 -1 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
sentry_scope_remove_fingerprintto complement pre-existingsentry_remove_fingerprintandsentry_scope_set_fingerprint.Once a fingerprint was set on a scope, there was no way to remove it. Passing an empty list doesn't clear the fingerprint, it still counts as one. Because the local scope is applied to an event before the global scope, that empty list overrides the global scope fingerprint instead of allowing it to be inherited.