Skip to content

feat(internal): add scope observer#1839

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

feat(internal): add scope observer#1839
jpnurmi wants to merge 18 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
  • transaction
  • user

Battle-tested by the upcoming WER integration (#1837) and Crashpad IPC (#1840, abandoned).

#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 2ad380b

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 Outdated
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 2 times, most recently from 8bdc687 to f015370 Compare July 6, 2026 18:38
Comment thread src/sentry_scope.c
@jpnurmi jpnurmi force-pushed the jpnurmi/feat/scope-observer branch from 267c782 to 2ad380b Compare July 7, 2026 13:20
@jpnurmi jpnurmi requested review from JoshuaMoelans and mujacica July 7, 2026 14:19
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