Skip to content

feat(internal): add scope observer#1839

Open
jpnurmi wants to merge 16 commits into
masterfrom
jpnurmi/feat/scope-observer
Open

feat(internal): add scope observer#1839
jpnurmi wants to merge 16 commits into
masterfrom
jpnurmi/feat/scope-observer

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

A callback-based observer API that fires when scope properties change:

  • attachments
  • breadcrumbs
  • contexts
  • environment
  • extras
  • fingerprint
  • level
  • release
  • tags
  • trace_context
  • transaction
  • user

Battle-tested by WER integration (#1837) and Crashpad IPC (#1840).

#skip-changelog (internal)

@github-actions

github-actions Bot commented Jul 3, 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 8bdc687

Comment thread src/sentry_scope.c
Comment thread src/sentry_core.c Outdated
Comment thread src/sentry_scope.c Outdated
Comment thread src/sentry_core.c Outdated
Comment thread src/sentry_core.c
Comment thread src/sentry_core.c
Comment thread src/sentry_scope.c
Comment thread src/sentry_scope.c
Comment thread src/sentry_core.c
Comment thread src/sentry_core.c
Comment thread src/sentry_core.c
Comment thread src/sentry_scope.h Outdated
Comment thread src/sentry_scope.h
Comment thread src/sentry_scope.h

@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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2d983e7. Configure here.

Comment thread src/sentry_scope.c Outdated
@jpnurmi jpnurmi force-pushed the jpnurmi/feat/scope-observer branch from 69b4c7d to 8bdc687 Compare July 6, 2026 14:24
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.

1 participant