Skip to content

feat(scopes): add sentry_scope_remove_fingerprint - #1932

Merged
limbonaut merged 3 commits into
masterfrom
limbonaut/fix/scope-fingerprint-clear
Jul 31, 2026
Merged

feat(scopes): add sentry_scope_remove_fingerprint#1932
limbonaut merged 3 commits into
masterfrom
limbonaut/fix/scope-fingerprint-clear

Conversation

@limbonaut

@limbonaut limbonaut commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Adds sentry_scope_remove_fingerprint to complement pre-existing sentry_remove_fingerprint and sentry_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.

@github-actions

github-actions Bot commented Jul 30, 2026

Copy link
Copy Markdown
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 320f2c0

@limbonaut
limbonaut force-pushed the limbonaut/fix/scope-fingerprint-clear branch from 1841c8b to 320f2c0 Compare July 30, 2026 14:24
@limbonaut limbonaut changed the title WIP: feat: add sentry_scope_remove_fingerprint feat: add sentry_scope_remove_fingerprint Jul 30, 2026
@limbonaut limbonaut changed the title feat: add sentry_scope_remove_fingerprint feat(scopes): add sentry_scope_remove_fingerprint Jul 30, 2026
@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.74%. Comparing base (c25a0b0) to head (320f2c0).

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JoshuaMoelans JoshuaMoelans left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice ☝️ 🖨️

@limbonaut
limbonaut merged commit 5bac907 into master Jul 31, 2026
103 of 107 checks passed
@limbonaut
limbonaut deleted the limbonaut/fix/scope-fingerprint-clear branch July 31, 2026 08:21
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