Skip to content

fix(dedupe): Fall back to a type/args fingerprint for unweakrefable exceptions - #7523

Draft
ericapisani wants to merge 7 commits into
major/3.0from
py-2381-dedupe-memory-leak-take-2
Draft

ericapisani wants to merge 7 commits into
major/3.0from
py-2381-dedupe-memory-leak-take-2

Conversation

@ericapisani

@ericapisani ericapisani commented Sep 16, 2026

Copy link
Copy Markdown
Member

Built-in exceptions like ValueError can't be weakly referenced, so DedupeIntegration previously stored the exception object itself, which kept it alive indefinitely and leaked memory.

These changes create a fingerprint using the following:

  • the exception's type
  • the exceptions's args
  • the raise site of the exception (using the traceback object if one is available)

This ensures that a strong reference in these cases (which it previously was).

For reviewers: there is a reproduction script in the linear issue if you'd like to use it.

Fixes PY-2381
Fixes #6094

…xceptions

Some exceptions (e.g. built-in types like ValueError) can't be weakly
referenced, so DedupeIntegration previously stored the exception object
itself, which kept it alive indefinitely and leaked memory. Fall back to
a fingerprint of the exception's type and args instead, so duplicate
detection still works without retaining a strong reference.

Fixes PY-2381
Fixes #6094
@ericapisani
ericapisani requested a review from a team as a code owner September 16, 2026 16:24
@linear-code

linear-code Bot commented Sep 16, 2026

Copy link
Copy Markdown

PY-2381

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

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit b24345a. Configure here.

Comment thread sentry_sdk/integrations/dedupe.py Outdated
@ericapisani
ericapisani marked this pull request as draft September 16, 2026 16:35
This is the prevent deduplication of exceptions that:
- have the same type (e.g. ValueError)
- have the exact same arguments (such as the message provided)
reported once per invocation regardless of prior runs.

The earlier test failures are because the "event" that would be sent was
the client report saying the event was being deduplicated, and so was missing
the "context" key.
@github-actions

Copy link
Copy Markdown
Contributor

Codecov Results 📊

65997 passed | ❌ 52 failed | ⏭️ 2999 skipped | Total: 69048 | Pass Rate: 95.58% | Execution Time: 187m 56s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -66409
Passed Tests 📉 -62329
Failed Tests 📈 +52
Skipped Tests 📉 -4132

➕ New Tests (52)

View new tests
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_launchdarkly_integration_threaded
    • File: tests.integrations.launchdarkly.test_launchdarkly
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_launchdarkly_integration_threaded
    • File: tests.integrations.launchdarkly.test_launchdarkly
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_launchdarkly_integration_threaded
    • File: tests.integrations.launchdarkly.test_launchdarkly
    • Status: ❌ Failing
  • test_launchdarkly_integration_threaded
    • File: tests.integrations.launchdarkly.test_launchdarkly
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_launchdarkly_integration_threaded
    • File: tests.integrations.launchdarkly.test_launchdarkly
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_openfeature_integration_threaded
    • File: tests.integrations.openfeature.test_openfeature
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_featureflags_integration_threaded
    • File: tests.test_feature_flags
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing
  • test_launchdarkly_integration_threaded
    • File: tests.integrations.launchdarkly.test_launchdarkly
    • Status: ❌ Failing
  • test_set_tags
    • File: tests.test_api
    • Status: ❌ Failing
  • test_set_user
    • File: tests.test_scope
    • Status: ❌ Failing

❌ Failed Tests

test_set_tags

File: tests.test_api
Suite: py3.10-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.10-common
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'cbbbba4d005141a7ba42e7eba8752de3', 'timestamp': '2026-09-16T20:23:17.897671Z', 'contexts': {'trace': {'trace_id': '4f5e65a048584a559795f0f78e2f71f6', 'span_id': 'b32cee8f92df5504', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common', '--junitxml=.junitxml-py3.10-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '3ec6b66e24514222b5f3cdbd8b0fdec1', 'timestamp': '2026-09-16T20:23:17.900413Z', 'contexts': {'trace': {'trace_id': '4f5e65a048584a559795f0f78e2f71f6', 'span_id': 'b32cee8f92df5504', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common', '--junitxml=.junitxml-py3.10-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'cbbbba4d005141a7ba42e7eba8752de3', 'timestamp': '2026-09-16T20:23:17.897671Z', 'contexts': {'trace': {'trace_id': '4f5e65a048584a559795f0f78e2f71f6', 'span_id': 'b32cee8f92df5504', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common', '--junitxml=.junitxml-py3.10-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '3ec6b66e24514222b5f3cdbd8b0fdec1', 'timestamp': '2026-09-16T20:23:17.900413Z', 'contexts': {'trace': {'trace_id': '4f5e65a048584a559795f0f78e2f71f6', 'span_id': 'b32cee8f92df5504', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common', '--junitxml=.junitxml-py3.10-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.10-common
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'cbe6467bd7404825a2155ee27849594e', 'timestamp': '2026-09-16T20:23:33.772662Z', 'contexts': {'trace': {'trace_id': 'd907709da251494bb8db88bf5282a570', 'span_id': '93e394a908f48c2f', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common', '--junitxml=.junitxml-py3.10-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'cbe6467bd7404825a2155ee27849594e', 'timestamp': '2026-09-16T20:23:33.772662Z', 'contexts': {'trace': {'trace_id': 'd907709da251494bb8db88bf5282a570', 'span_id': '93e394a908f48c2f', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-common/lib/python3.10/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-common', '--junitxml=.junitxml-py3.10-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_set_tags

File: tests.test_api
Suite: py3.10-gevent
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.10-gevent
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '6efe25dda8d14f2ebd898760f793fdcd', 'timestamp': '2026-09-16T20:22:58.649729Z', 'contexts': {'trace': {'trace_id': '9aacec44df3d4370b333d81dbfe85cf2', 'span_id': '8b76c2557daf18ed', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent', '--junitxml=.junitxml-py3.10-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '575516627b634460b8d44c7d877588ef', 'timestamp': '2026-09-16T20:22:58.651853Z', 'contexts': {'trace': {'trace_id': '9aacec44df3d4370b333d81dbfe85cf2', 'span_id': '8b76c2557daf18ed', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent', '--junitxml=.junitxml-py3.10-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '6efe25dda8d14f2ebd898760f793fdcd', 'timestamp': '2026-09-16T20:22:58.649729Z', 'contexts': {'trace': {'trace_id': '9aacec44df3d4370b333d81dbfe85cf2', 'span_id': '8b76c2557daf18ed', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent', '--junitxml=.junitxml-py3.10-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '575516627b634460b8d44c7d877588ef', 'timestamp': '2026-09-16T20:22:58.651853Z', 'contexts': {'trace': {'trace_id': '9aacec44df3d4370b333d81dbfe85cf2', 'span_id': '8b76c2557daf18ed', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent', '--junitxml=.junitxml-py3.10-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.10-gevent
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '2bb1450b63ba44c893a37c027593db09', 'timestamp': '2026-09-16T20:24:01.744974Z', 'contexts': {'trace': {'trace_id': '026419e3c8454cfdb241d8c858763080', 'span_id': 'bd0361384d69db76', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent', '--junitxml=.junitxml-py3.10-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '2bb1450b63ba44c893a37c027593db09', 'timestamp': '2026-09-16T20:24:01.744974Z', 'contexts': {'trace': {'trace_id': '026419e3c8454cfdb241d8c858763080', 'span_id': 'bd0361384d69db76', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-gevent/lib/python3.10/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.10-gevent', '--junitxml=.junitxml-py3.10-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'rpds-py': '0.30.0', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_launchdarkly_integration_threaded

File: tests.integrations.launchdarkly.test_launchdarkly
Suite: py3.10-launchdarkly-v9.17.0
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'fcb591e2e4da477bb041f7b523b43a77', 'timestamp': '2026-09-16T20:21:45.803328Z', 'contexts': {'trace': {'trace_id': '6684be015cb34a3e9ad67d2e0b9370fd', 'span_id': '9875e5e426e135ab', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-launchdarkly-v9.17.0/lib/python3.10/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.10-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.10-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '8aaee613c7874dd8b0839ae34a7f39a2', 'timestamp': '2026-09-16T20:21:45.806035Z', 'contexts': {'trace': {'trace_id': '6684be015cb34a3e9ad67d2e0b9370fd', 'span_id': '9875e5e426e135ab', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-launchdarkly-v9.17.0/lib/python3.10/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.10-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.10-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/integrations/launchdarkly/test_launchdarkly.py:84: in test_launchdarkly_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'fcb591e2e4da477bb041f7b523b43a77', 'timestamp': '2026-09-16T20:21:45.803328Z', 'contexts': {'trace': {'trace_id': '6684be015cb34a3e9ad67d2e0b9370fd', 'span_id': '9875e5e426e135ab', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-launchdarkly-v9.17.0/lib/python3.10/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.10-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.10-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '8aaee613c7874dd8b0839ae34a7f39a2', 'timestamp': '2026-09-16T20:21:45.806035Z', 'contexts': {'trace': {'trace_id': '6684be015cb34a3e9ad67d2e0b9370fd', 'span_id': '9875e5e426e135ab', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.10.12', 'build': '3.10.12 (main, Jul 15 2026, 23:40:17) [GCC 11.4.0]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.10-launchdarkly-v9.17.0/lib/python3.10/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.10-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.10-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_tags

File: tests.test_api
Suite: py3.11-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.11-common
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'da17bfb7c21e4795afe4efacd02184a4', 'timestamp': '2026-09-16T20:23:05.204865Z', 'contexts': {'trace': {'trace_id': 'c3b81c645cbb4f9f8b7ab1f1db91bf69', 'span_id': '9cea515cbf321340', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep 1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common', '--junitxml=.junitxml-py3.11-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '96e060af1ade417289ddf73ca8357844', 'timestamp': '2026-09-16T20:23:05.206786Z', 'contexts': {'trace': {'trace_id': 'c3b81c645cbb4f9f8b7ab1f1db91bf69', 'span_id': '9cea515cbf321340', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep 1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common', '--junitxml=.junitxml-py3.11-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'da17bfb7c21e4795afe4efacd02184a4', 'timestamp': '2026-09-16T20:23:05.204865Z', 'contexts': {'trace': {'trace_id': 'c3b81c645cbb4f9f8b7ab1f1db91bf69', 'span_id': '9cea515cbf321340', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep  1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common', '--junitxml=.junitxml-py3.11-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '96e060af1ade417289ddf73ca8357844', 'timestamp': '2026-09-16T20:23:05.206786Z', 'contexts': {'trace': {'trace_id': 'c3b81c645cbb4f9f8b7ab1f1db91bf69', 'span_id': '9cea515cbf321340', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep  1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common', '--junitxml=.junitxml-py3.11-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.11-common
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'dfa94d39c1fc4283af5c15871d6b8c81', 'timestamp': '2026-09-16T20:23:18.558199Z', 'contexts': {'trace': {'trace_id': '31a89935cd204f0da2c1770ecefbc375', 'span_id': 'bdda232b7f83fc1a', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep 1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common', '--junitxml=.junitxml-py3.11-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'dfa94d39c1fc4283af5c15871d6b8c81', 'timestamp': '2026-09-16T20:23:18.558199Z', 'contexts': {'trace': {'trace_id': '31a89935cd204f0da2c1770ecefbc375', 'span_id': 'bdda232b7f83fc1a', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep  1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-common/lib/python3.11/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-common', '--junitxml=.junitxml-py3.11-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_set_tags

File: tests.test_api
Suite: py3.11-gevent
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.11-gevent
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '621ffebe8d6e40ce815adb28b329c7fa', 'timestamp': '2026-09-16T20:23:12.067468Z', 'contexts': {'trace': {'trace_id': '67c2362193b64cebaa02cda8c689748d', 'span_id': 'b63470bb86999d85', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep 1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent', '--junitxml=.junitxml-py3.11-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'c6233d19b1634ec6b38f3cf156a449aa', 'timestamp': '2026-09-16T20:23:12.069677Z', 'contexts': {'trace': {'trace_id': '67c2362193b64cebaa02cda8c689748d', 'span_id': 'b63470bb86999d85', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep 1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent', '--junitxml=.junitxml-py3.11-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '621ffebe8d6e40ce815adb28b329c7fa', 'timestamp': '2026-09-16T20:23:12.067468Z', 'contexts': {'trace': {'trace_id': '67c2362193b64cebaa02cda8c689748d', 'span_id': 'b63470bb86999d85', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep  1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent', '--junitxml=.junitxml-py3.11-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'c6233d19b1634ec6b38f3cf156a449aa', 'timestamp': '2026-09-16T20:23:12.069677Z', 'contexts': {'trace': {'trace_id': '67c2362193b64cebaa02cda8c689748d', 'span_id': 'b63470bb86999d85', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep  1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent', '--junitxml=.junitxml-py3.11-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.11-gevent
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'c6d3e8611dd44a5fbdef1dcd405302c7', 'timestamp': '2026-09-16T20:25:05.342505Z', 'contexts': {'trace': {'trace_id': '5a90b19decc449cfb855e9afd7ce1c3c', 'span_id': '95c2dd990e47ca68', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep 1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent', '--junitxml=.junitxml-py3.11-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'c6d3e8611dd44a5fbdef1dcd405302c7', 'timestamp': '2026-09-16T20:25:05.342505Z', 'contexts': {'trace': {'trace_id': '5a90b19decc449cfb855e9afd7ce1c3c', 'span_id': '95c2dd990e47ca68', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.11.16', 'build': '3.11.16 (main, Sep  1 2026, 14:18:37) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.11-gevent/lib/python3.11/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.11-gevent', '--junitxml=.junitxml-py3.11-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'gevent': '22.10.2', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'zope.event': '4.6', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'zope.interface': '7.2', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_set_tags

File: tests.test_api
Suite: py3.12-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.12-common
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '2646dc9f8748438da27eab236d45c75a', 'timestamp': '2026-09-16T20:23:47.442792Z', 'contexts': {'trace': {'trace_id': 'f4784159a6214e38a98baabb606602b2', 'span_id': 'aafe3b147c818c29', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep 1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common', '--junitxml=.junitxml-py3.12-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'a3a0711519d340d1bae350c2132e8709', 'timestamp': '2026-09-16T20:23:47.445804Z', 'contexts': {'trace': {'trace_id': 'f4784159a6214e38a98baabb606602b2', 'span_id': 'aafe3b147c818c29', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep 1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common', '--junitxml=.junitxml-py3.12-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '2646dc9f8748438da27eab236d45c75a', 'timestamp': '2026-09-16T20:23:47.442792Z', 'contexts': {'trace': {'trace_id': 'f4784159a6214e38a98baabb606602b2', 'span_id': 'aafe3b147c818c29', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep  1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common', '--junitxml=.junitxml-py3.12-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'a3a0711519d340d1bae350c2132e8709', 'timestamp': '2026-09-16T20:23:47.445804Z', 'contexts': {'trace': {'trace_id': 'f4784159a6214e38a98baabb606602b2', 'span_id': 'aafe3b147c818c29', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep  1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common', '--junitxml=.junitxml-py3.12-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.12-common
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '0f90b42bd39a452395e79bf4b0d4bdcf', 'timestamp': '2026-09-16T20:24:03.707243Z', 'contexts': {'trace': {'trace_id': 'ea242c6f748e43daa2f2375847ea4a56', 'span_id': '9a655b7ba511b7e0', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep 1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common', '--junitxml=.junitxml-py3.12-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '0f90b42bd39a452395e79bf4b0d4bdcf', 'timestamp': '2026-09-16T20:24:03.707243Z', 'contexts': {'trace': {'trace_id': 'ea242c6f748e43daa2f2375847ea4a56', 'span_id': '9a655b7ba511b7e0', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep  1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-common/lib/python3.12/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-common', '--junitxml=.junitxml-py3.12-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_set_tags

File: tests.test_api
Suite: py3.12-gevent
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.12-gevent
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '5291dd36b0614817a33ae849ad69a717', 'timestamp': '2026-09-16T20:23:25.078614Z', 'contexts': {'trace': {'trace_id': '1975a6a0cf5f4c24882ca5be92a32850', 'span_id': '8e4f13ffd8335629', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep 1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent', '--junitxml=.junitxml-py3.12-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'gevent': '26.9.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'zope.interface': '8.6', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'zope.event': '6.2', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '90682dff43f242699fc6b474e5881847', 'timestamp': '2026-09-16T20:23:25.080587Z', 'contexts': {'trace': {'trace_id': '1975a6a0cf5f4c24882ca5be92a32850', 'span_id': '8e4f13ffd8335629', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep 1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent', '--junitxml=.junitxml-py3.12-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'gevent': '26.9.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'zope.interface': '8.6', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'zope.event': '6.2', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '5291dd36b0614817a33ae849ad69a717', 'timestamp': '2026-09-16T20:23:25.078614Z', 'contexts': {'trace': {'trace_id': '1975a6a0cf5f4c24882ca5be92a32850', 'span_id': '8e4f13ffd8335629', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep  1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent', '--junitxml=.junitxml-py3.12-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'gevent': '26.9.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'zope.interface': '8.6', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'zope.event': '6.2', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '90682dff43f242699fc6b474e5881847', 'timestamp': '2026-09-16T20:23:25.080587Z', 'contexts': {'trace': {'trace_id': '1975a6a0cf5f4c24882ca5be92a32850', 'span_id': '8e4f13ffd8335629', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep  1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent', '--junitxml=.junitxml-py3.12-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'gevent': '26.9.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'zope.interface': '8.6', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'zope.event': '6.2', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.12-gevent
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'a6e96bffce0143f5b726a72face323a9', 'timestamp': '2026-09-16T20:24:42.101387Z', 'contexts': {'trace': {'trace_id': '88cd43fde6964ec9b7d8188115f55674', 'span_id': '8757c10b08db23dc', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep 1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent', '--junitxml=.junitxml-py3.12-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'gevent': '26.9.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'zope.interface': '8.6', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'zope.event': '6.2', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'a6e96bffce0143f5b726a72face323a9', 'timestamp': '2026-09-16T20:24:42.101387Z', 'contexts': {'trace': {'trace_id': '88cd43fde6964ec9b7d8188115f55674', 'span_id': '8757c10b08db23dc', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep  1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-gevent/lib/python3.12/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.12-gevent', '--junitxml=.junitxml-py3.12-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'greenlet': '3.5.6', 'gevent': '26.9.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'setuptools': '81.0.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'zope.interface': '8.6', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'zope.event': '6.2', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_launchdarkly_integration_threaded

File: tests.integrations.launchdarkly.test_launchdarkly
Suite: py3.12-launchdarkly-v9.8.1
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '1ed821529e3643e2a51d40507947b06c', 'timestamp': '2026-09-16T20:21:47.310623Z', 'contexts': {'trace': {'trace_id': 'eb50be6c47ad4a749dbdfd7c5ab46ae6', 'span_id': 'a839321dc5b1de68', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep 1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-launchdarkly-v9.8.1/lib/python3.12/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.12-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.12-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'semver': '3.0.4', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'pyrfc3339': '2.1.0', 'certifi': '2026.6.17', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0', 'launchdarkly-eventsource': '1.7.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'b8847b01cd724a4297e71b0a060333b1', 'timestamp': '2026-09-16T20:21:47.312810Z', 'contexts': {'trace': {'trace_id': 'eb50be6c47ad4a749dbdfd7c5ab46ae6', 'span_id': 'a839321dc5b1de68', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep 1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-launchdarkly-v9.8.1/lib/python3.12/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.12-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.12-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'semver': '3.0.4', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'pyrfc3339': '2.1.0', 'certifi': '2026.6.17', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0', 'launchdarkly-eventsource': '1.7.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/integrations/launchdarkly/test_launchdarkly.py:84: in test_launchdarkly_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '1ed821529e3643e2a51d40507947b06c', 'timestamp': '2026-09-16T20:21:47.310623Z', 'contexts': {'trace': {'trace_id': 'eb50be6c47ad4a749dbdfd7c5ab46ae6', 'span_id': 'a839321dc5b1de68', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep  1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-launchdarkly-v9.8.1/lib/python3.12/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.12-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.12-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'semver': '3.0.4', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'pyrfc3339': '2.1.0', 'certifi': '2026.6.17', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0', 'launchdarkly-eventsource': '1.7.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'b8847b01cd724a4297e71b0a060333b1', 'timestamp': '2026-09-16T20:21:47.312810Z', 'contexts': {'trace': {'trace_id': 'eb50be6c47ad4a749dbdfd7c5ab46ae6', 'span_id': 'a839321dc5b1de68', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.12.14', 'build': '3.12.14 (main, Sep  1 2026, 14:16:52) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.12-launchdarkly-v9.8.1/lib/python3.12/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.12-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.12-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'semver': '3.0.4', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'pyrfc3339': '2.1.0', 'certifi': '2026.6.17', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0', 'launchdarkly-eventsource': '1.7.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_tags

File: tests.test_api
Suite: py3.13-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.13-common
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '4d5b8f4c6c6346c78b6a402110162700', 'timestamp': '2026-09-16T20:23:54.476102Z', 'contexts': {'trace': {'trace_id': 'bce96db722a749588c43806b0be22a23', 'span_id': 'a9bcc373eb3bc9ea', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep 1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common', '--junitxml=.junitxml-py3.13-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '4f0c0928e0db4622b158a92e473859f6', 'timestamp': '2026-09-16T20:23:54.478745Z', 'contexts': {'trace': {'trace_id': 'bce96db722a749588c43806b0be22a23', 'span_id': 'a9bcc373eb3bc9ea', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep 1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common', '--junitxml=.junitxml-py3.13-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '4d5b8f4c6c6346c78b6a402110162700', 'timestamp': '2026-09-16T20:23:54.476102Z', 'contexts': {'trace': {'trace_id': 'bce96db722a749588c43806b0be22a23', 'span_id': 'a9bcc373eb3bc9ea', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep  1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common', '--junitxml=.junitxml-py3.13-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '4f0c0928e0db4622b158a92e473859f6', 'timestamp': '2026-09-16T20:23:54.478745Z', 'contexts': {'trace': {'trace_id': 'bce96db722a749588c43806b0be22a23', 'span_id': 'a9bcc373eb3bc9ea', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep  1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common', '--junitxml=.junitxml-py3.13-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.13-common
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'cf7d79507f3941ada0e46f029cc24aae', 'timestamp': '2026-09-16T20:24:10.522023Z', 'contexts': {'trace': {'trace_id': '577d1689511c48a99ed180c6b8d83dab', 'span_id': 'b5aa7daf7df4197d', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep 1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common', '--junitxml=.junitxml-py3.13-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'cf7d79507f3941ada0e46f029cc24aae', 'timestamp': '2026-09-16T20:24:10.522023Z', 'contexts': {'trace': {'trace_id': '577d1689511c48a99ed180c6b8d83dab', 'span_id': 'b5aa7daf7df4197d', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep  1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-common/lib/python3.13/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.13-common', '--junitxml=.junitxml-py3.13-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_launchdarkly_integration_threaded

File: tests.integrations.launchdarkly.test_launchdarkly
Suite: py3.13-launchdarkly-v9.17.0
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '00bad2b582564d38844c9b0974a58bb7', 'timestamp': '2026-09-16T20:21:54.386356Z', 'contexts': {'trace': {'trace_id': 'f7c26016b561482fa20911c499ca7a50', 'span_id': 'ae72a0b1b8755127', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep 1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-launchdarkly-v9.17.0/lib/python3.13/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.13-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.13-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '493e85884a4b4ed4a079abff55ed7024', 'timestamp': '2026-09-16T20:21:54.388741Z', 'contexts': {'trace': {'trace_id': 'f7c26016b561482fa20911c499ca7a50', 'span_id': 'ae72a0b1b8755127', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep 1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-launchdarkly-v9.17.0/lib/python3.13/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.13-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.13-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/integrations/launchdarkly/test_launchdarkly.py:84: in test_launchdarkly_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '00bad2b582564d38844c9b0974a58bb7', 'timestamp': '2026-09-16T20:21:54.386356Z', 'contexts': {'trace': {'trace_id': 'f7c26016b561482fa20911c499ca7a50', 'span_id': 'ae72a0b1b8755127', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep  1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-launchdarkly-v9.17.0/lib/python3.13/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.13-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.13-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '493e85884a4b4ed4a079abff55ed7024', 'timestamp': '2026-09-16T20:21:54.388741Z', 'contexts': {'trace': {'trace_id': 'f7c26016b561482fa20911c499ca7a50', 'span_id': 'ae72a0b1b8755127', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep  1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-launchdarkly-v9.17.0/lib/python3.13/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.13-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.13-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_launchdarkly_integration_threaded

File: tests.integrations.launchdarkly.test_launchdarkly
Suite: py3.13-launchdarkly-v9.8.1
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '313129b560c84898b17eab0b7d0e3053', 'timestamp': '2026-09-16T20:21:53.655190Z', 'contexts': {'trace': {'trace_id': 'b24ce04101fa454cb134c0a948bcaa77', 'span_id': '975549e09ad94eeb', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep 1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-launchdarkly-v9.8.1/lib/python3.13/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.13-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.13-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'semver': '3.0.4', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'pyrfc3339': '2.1.0', 'certifi': '2026.6.17', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0', 'launchdarkly-eventsource': '1.7.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'b59835202ed34c8982477c53729f2cec', 'timestamp': '2026-09-16T20:21:53.657580Z', 'contexts': {'trace': {'trace_id': 'b24ce04101fa454cb134c0a948bcaa77', 'span_id': '975549e09ad94eeb', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep 1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-launchdarkly-v9.8.1/lib/python3.13/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.13-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.13-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'semver': '3.0.4', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'pyrfc3339': '2.1.0', 'certifi': '2026.6.17', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0', 'launchdarkly-eventsource': '1.7.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/integrations/launchdarkly/test_launchdarkly.py:84: in test_launchdarkly_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '313129b560c84898b17eab0b7d0e3053', 'timestamp': '2026-09-16T20:21:53.655190Z', 'contexts': {'trace': {'trace_id': 'b24ce04101fa454cb134c0a948bcaa77', 'span_id': '975549e09ad94eeb', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep  1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-launchdarkly-v9.8.1/lib/python3.13/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.13-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.13-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'semver': '3.0.4', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'pyrfc3339': '2.1.0', 'certifi': '2026.6.17', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0', 'launchdarkly-eventsource': '1.7.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'b59835202ed34c8982477c53729f2cec', 'timestamp': '2026-09-16T20:21:53.657580Z', 'contexts': {'trace': {'trace_id': 'b24ce04101fa454cb134c0a948bcaa77', 'span_id': '975549e09ad94eeb', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.13.15', 'build': '3.13.15 (main, Sep  1 2026, 14:18:08) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.13-launchdarkly-v9.8.1/lib/python3.13/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.13-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.13-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'semver': '3.0.4', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'pyrfc3339': '2.1.0', 'certifi': '2026.6.17', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0', 'launchdarkly-eventsource': '1.7.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_tags

File: tests.test_api
Suite: py3.14-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.14-common
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '1451727be10f4e80b0ff15635b64f9e9', 'timestamp': '2026-09-16T20:23:55.785792Z', 'contexts': {'trace': {'trace_id': '1d7279b60e4347c49a807be82ea911d4', 'span_id': 'a1e7307afa2e7df7', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 (main, Sep 1 2026, 14:18:09) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14-common/lib/python3.14/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14-common', '--junitxml=.junitxml-py3.14-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'cbf0d9614aa54447b84f99cc7d8100fc', 'timestamp': '2026-09-16T20:23:55.788201Z', 'contexts': {'trace': {'trace_id': '1d7279b60e4347c49a807be82ea911d4', 'span_id': 'a1e7307afa2e7df7', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 (main, Sep 1 2026, 14:18:09) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14-common/lib/python3.14/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14-common', '--junitxml=.junitxml-py3.14-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '1451727be10f4e80b0ff15635b64f9e9', 'timestamp': '2026-09-16T20:23:55.785792Z', 'contexts': {'trace': {'trace_id': '1d7279b60e4347c49a807be82ea911d4', 'span_id': 'a1e7307afa2e7df7', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 (main, Sep  1 2026, 14:18:09) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14-common/lib/python3.14/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14-common', '--junitxml=.junitxml-py3.14-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'cbf0d9614aa54447b84f99cc7d8100fc', 'timestamp': '2026-09-16T20:23:55.788201Z', 'contexts': {'trace': {'trace_id': '1d7279b60e4347c49a807be82ea911d4', 'span_id': 'a1e7307afa2e7df7', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 (main, Sep  1 2026, 14:18:09) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14-common/lib/python3.14/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14-common', '--junitxml=.junitxml-py3.14-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.14-common
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'ef532f29d93f458d8ebfe43e128c7e96', 'timestamp': '2026-09-16T20:24:12.496011Z', 'contexts': {'trace': {'trace_id': '2f82096f37704713ac86d648b8724f9b', 'span_id': '8eee7418a7a32f7f', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 (main, Sep 1 2026, 14:18:09) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14-common/lib/python3.14/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14-common', '--junitxml=.junitxml-py3.14-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'ef532f29d93f458d8ebfe43e128c7e96', 'timestamp': '2026-09-16T20:24:12.496011Z', 'contexts': {'trace': {'trace_id': '2f82096f37704713ac86d648b8724f9b', 'span_id': '8eee7418a7a32f7f', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 (main, Sep  1 2026, 14:18:09) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14-common/lib/python3.14/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14-common', '--junitxml=.junitxml-py3.14-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_launchdarkly_integration_threaded

File: tests.integrations.launchdarkly.test_launchdarkly
Suite: py3.14-launchdarkly-v9.17.0
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '1670c4be2c1d4e0ca5065818289d52d0', 'timestamp': '2026-09-16T20:21:47.101262Z', 'contexts': {'trace': {'trace_id': '8fd083d472d7478d9a7d7e3bb2dc28a9', 'span_id': 'beeafe4c14023ef2', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 (main, Sep 1 2026, 14:18:09) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14-launchdarkly-v9.17.0/lib/python3.14/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.14-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.14-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '15cb2f6d60654a6db09e2ee4e4c84f8c', 'timestamp': '2026-09-16T20:21:47.103837Z', 'contexts': {'trace': {'trace_id': '8fd083d472d7478d9a7d7e3bb2dc28a9', 'span_id': 'beeafe4c14023ef2', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 (main, Sep 1 2026, 14:18:09) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14-launchdarkly-v9.17.0/lib/python3.14/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.14-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.14-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/integrations/launchdarkly/test_launchdarkly.py:84: in test_launchdarkly_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '1670c4be2c1d4e0ca5065818289d52d0', 'timestamp': '2026-09-16T20:21:47.101262Z', 'contexts': {'trace': {'trace_id': '8fd083d472d7478d9a7d7e3bb2dc28a9', 'span_id': 'beeafe4c14023ef2', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 (main, Sep  1 2026, 14:18:09) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14-launchdarkly-v9.17.0/lib/python3.14/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.14-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.14-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '15cb2f6d60654a6db09e2ee4e4c84f8c', 'timestamp': '2026-09-16T20:21:47.103837Z', 'contexts': {'trace': {'trace_id': '8fd083d472d7478d9a7d7e3bb2dc28a9', 'span_id': 'beeafe4c14023ef2', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 (main, Sep  1 2026, 14:18:09) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14-launchdarkly-v9.17.0/lib/python3.14/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.14-launchdarkly-v9.17.0', '--junitxml=.junitxml-py3.14-launchdarkly-v9.17.0']}, 'modules': {'sentry-sdk': '2.69.1', 'semver': '3.0.4', 'launchdarkly-eventsource': '1.7.2', 'urllib3': '2.7.0', 'expiringdict': '1.2.2', 'pluggy': '1.6.0', 'launchdarkly-server-sdk': '9.17.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'pyrfc3339': '2.1.0', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_tags

File: tests.test_api
Suite: py3.14t-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.14t-common
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '7cc77db20a9344978c93fbae089cd153', 'timestamp': '2026-09-16T20:25:03.830572Z', 'contexts': {'trace': {'trace_id': '68ae90acc89e47daa4e27e5778b74a45', 'span_id': '9cf5a0c7cfecda06', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 free-threading build (main, Sep 1 2026, 14:17:47) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14t-common/lib/python3.14t/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14t-common', '--junitxml=.junitxml-py3.14t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '4dead831383146a0af36d468810d0f9a', 'timestamp': '2026-09-16T20:25:03.834589Z', 'contexts': {'trace': {'trace_id': '68ae90acc89e47daa4e27e5778b74a45', 'span_id': '9cf5a0c7cfecda06', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 free-threading build (main, Sep 1 2026, 14:17:47) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14t-common/lib/python3.14t/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14t-common', '--junitxml=.junitxml-py3.14t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '7cc77db20a9344978c93fbae089cd153', 'timestamp': '2026-09-16T20:25:03.830572Z', 'contexts': {'trace': {'trace_id': '68ae90acc89e47daa4e27e5778b74a45', 'span_id': '9cf5a0c7cfecda06', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 free-threading build (main, Sep  1 2026, 14:17:47) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14t-common/lib/python3.14t/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14t-common', '--junitxml=.junitxml-py3.14t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '4dead831383146a0af36d468810d0f9a', 'timestamp': '2026-09-16T20:25:03.834589Z', 'contexts': {'trace': {'trace_id': '68ae90acc89e47daa4e27e5778b74a45', 'span_id': '9cf5a0c7cfecda06', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 free-threading build (main, Sep  1 2026, 14:17:47) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14t-common/lib/python3.14t/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14t-common', '--junitxml=.junitxml-py3.14t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.14t-common
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'fbbe8c578bde4528a77c9e0a16701849', 'timestamp': '2026-09-16T20:25:25.690144Z', 'contexts': {'trace': {'trace_id': 'beabfdb05b294c789621bad995b95594', 'span_id': '91424f80012e62a8', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 free-threading build (main, Sep 1 2026, 14:17:47) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14t-common/lib/python3.14t/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14t-common', '--junitxml=.junitxml-py3.14t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'fbbe8c578bde4528a77c9e0a16701849', 'timestamp': '2026-09-16T20:25:25.690144Z', 'contexts': {'trace': {'trace_id': 'beabfdb05b294c789621bad995b95594', 'span_id': '91424f80012e62a8', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.14.7', 'build': '3.14.7 free-threading build (main, Sep  1 2026, 14:17:47) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.14t-common/lib/python3.14t/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.14t-common', '--junitxml=.junitxml-py3.14t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_set_tags

File: tests.test_api
Suite: py3.15-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.15-common
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'b54f4e6860f244a1ac7341e6333ede54', 'timestamp': '2026-09-16T20:24:45.286706Z', 'contexts': {'trace': {'trace_id': '2e1ef03c7cd24df9bbe05535f5da12f2', 'span_id': 'b2c883219ac8a5b9', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 (main, Sep 1 2026, 14:19:35) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15-common/lib/python3.15/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15-common', '--junitxml=.junitxml-py3.15-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '2448b807914946099b5ba739cb4b90ba', 'timestamp': '2026-09-16T20:24:45.292825Z', 'contexts': {'trace': {'trace_id': '2e1ef03c7cd24df9bbe05535f5da12f2', 'span_id': 'b2c883219ac8a5b9', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 (main, Sep 1 2026, 14:19:35) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15-common/lib/python3.15/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15-common', '--junitxml=.junitxml-py3.15-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'b54f4e6860f244a1ac7341e6333ede54', 'timestamp': '2026-09-16T20:24:45.286706Z', 'contexts': {'trace': {'trace_id': '2e1ef03c7cd24df9bbe05535f5da12f2', 'span_id': 'b2c883219ac8a5b9', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 (main, Sep  1 2026, 14:19:35) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15-common/lib/python3.15/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15-common', '--junitxml=.junitxml-py3.15-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '2448b807914946099b5ba739cb4b90ba', 'timestamp': '2026-09-16T20:24:45.292825Z', 'contexts': {'trace': {'trace_id': '2e1ef03c7cd24df9bbe05535f5da12f2', 'span_id': 'b2c883219ac8a5b9', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 (main, Sep  1 2026, 14:19:35) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15-common/lib/python3.15/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15-common', '--junitxml=.junitxml-py3.15-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.15-common
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'cc6ecc9c16814c4796244d7d86b41503', 'timestamp': '2026-09-16T20:25:05.883958Z', 'contexts': {'trace': {'trace_id': '47f81af546324e6c9c3a083b6f4e8649', 'span_id': 'a49da08c822ed8fe', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 (main, Sep 1 2026, 14:19:35) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15-common/lib/python3.15/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15-common', '--junitxml=.junitxml-py3.15-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': 'cc6ecc9c16814c4796244d7d86b41503', 'timestamp': '2026-09-16T20:25:05.883958Z', 'contexts': {'trace': {'trace_id': '47f81af546324e6c9c3a083b6f4e8649', 'span_id': 'a49da08c822ed8fe', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 (main, Sep  1 2026, 14:19:35) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15-common/lib/python3.15/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15-common', '--junitxml=.junitxml-py3.15-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_openfeature_integration_threaded

File: tests.integrations.openfeature.test_openfeature
Suite: py3.15-openfeature-v0.7.5
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '2806b3e9b7b34c8398aae019eec730b5', 'timestamp': '2026-09-16T20:21:51.087085Z', 'contexts': {'trace': {'trace_id': 'ccf8e506e44140839da30c4c237175e6', 'span_id': 'a6cb9824d3e96310', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 (main, Sep 1 2026, 14:19:35) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15-openfeature-v0.7.5/lib/python3.15/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/openfeature', '-o', 'junit_suite_name=py3.15-openfeature-v0.7.5', '--junitxml=.junitxml-py3.15-openfeature-v0.7.5']}, 'modules': {'sentry-sdk': '2.69.1', 'urllib3': '2.8.0', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'openfeature_sdk': '0.7.5', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'openfeature', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '86dc8cec9f414b1d85af66030db2d57b', 'timestamp': '2026-09-16T20:21:51.089465Z', 'contexts': {'trace': {'trace_id': 'ccf8e506e44140839da30c4c237175e6', 'span_id': 'a6cb9824d3e96310', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 (main, Sep 1 2026, 14:19:35) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15-openfeature-v0.7.5/lib/python3.15/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/openfeature', '-o', 'junit_suite_name=py3.15-openfeature-v0.7.5', '--junitxml=.junitxml-py3.15-openfeature-v0.7.5']}, 'modules': {'sentry-sdk': '2.69.1', 'urllib3': '2.8.0', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'openfeature_sdk': '0.7.5', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'openfeature', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/integrations/openfeature/test_openfeature.py:73: in test_openfeature_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '2806b3e9b7b34c8398aae019eec730b5', 'timestamp': '2026-09-16T20:21:51.087085Z', 'contexts': {'trace': {'trace_id': 'ccf8e506e44140839da30c4c237175e6', 'span_id': 'a6cb9824d3e96310', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 (main, Sep  1 2026, 14:19:35) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15-openfeature-v0.7.5/lib/python3.15/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/openfeature', '-o', 'junit_suite_name=py3.15-openfeature-v0.7.5', '--junitxml=.junitxml-py3.15-openfeature-v0.7.5']}, 'modules': {'sentry-sdk': '2.69.1', 'urllib3': '2.8.0', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'openfeature_sdk': '0.7.5', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'openfeature', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '86dc8cec9f414b1d85af66030db2d57b', 'timestamp': '2026-09-16T20:21:51.089465Z', 'contexts': {'trace': {'trace_id': 'ccf8e506e44140839da30c4c237175e6', 'span_id': 'a6cb9824d3e96310', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 (main, Sep  1 2026, 14:19:35) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15-openfeature-v0.7.5/lib/python3.15/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/openfeature', '-o', 'junit_suite_name=py3.15-openfeature-v0.7.5', '--junitxml=.junitxml-py3.15-openfeature-v0.7.5']}, 'modules': {'sentry-sdk': '2.69.1', 'urllib3': '2.8.0', 'pluggy': '1.6.0', 'pytest': '9.1.1', 'certifi': '2026.7.22', 'packaging': '26.3', 'pygments': '2.21.0', 'coverage': '7.16.1', 'iniconfig': '2.3.0', 'openfeature_sdk': '0.7.5', 'pytest-cov': '7.1.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'openfeature', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_tags

File: tests.test_api
Suite: py3.15t-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.15t-common
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '677e960815164c308cabef7c7b9228f8', 'timestamp': '2026-09-16T20:24:05.380838Z', 'contexts': {'trace': {'trace_id': 'eb1c5ae702f941c4bddd5a54500391d6', 'span_id': '9dbb02e0ff7352e3', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 free-threading build (main, Sep 1 2026, 14:22:07) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15t-common/lib/python3.15t/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15t-common', '--junitxml=.junitxml-py3.15t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '2329e28ca63d4968a6ef86d5ec484fa8', 'timestamp': '2026-09-16T20:24:05.386338Z', 'contexts': {'trace': {'trace_id': 'eb1c5ae702f941c4bddd5a54500391d6', 'span_id': '9dbb02e0ff7352e3', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 free-threading build (main, Sep 1 2026, 14:22:07) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15t-common/lib/python3.15t/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15t-common', '--junitxml=.junitxml-py3.15t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '677e960815164c308cabef7c7b9228f8', 'timestamp': '2026-09-16T20:24:05.380838Z', 'contexts': {'trace': {'trace_id': 'eb1c5ae702f941c4bddd5a54500391d6', 'span_id': '9dbb02e0ff7352e3', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 free-threading build (main, Sep  1 2026, 14:22:07) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15t-common/lib/python3.15t/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15t-common', '--junitxml=.junitxml-py3.15t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '2329e28ca63d4968a6ef86d5ec484fa8', 'timestamp': '2026-09-16T20:24:05.386338Z', 'contexts': {'trace': {'trace_id': 'eb1c5ae702f941c4bddd5a54500391d6', 'span_id': '9dbb02e0ff7352e3', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 free-threading build (main, Sep  1 2026, 14:22:07) [Clang 22.1.3 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15t-common/lib/python3.15t/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15t-common', '--junitxml=.junitxml-py3.15t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.15t-common
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '9f2dbf6a4d1046ce8083ec49eda2c211', 'timestamp': '2026-09-16T20:24:23.822469Z', 'contexts': {'trace': {'trace_id': 'abe7eb72c0034ade8b2c2b2b950cecc2', 'span_id': '9c48779f90ebfc36', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 free-threading build (main, Sep 1 2026, 14:22:07) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15t-common/lib/python3.15t/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15t-common', '--junitxml=.junitxml-py3.15t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '9f2dbf6a4d1046ce8083ec49eda2c211', 'timestamp': '2026-09-16T20:24:23.822469Z', 'contexts': {'trace': {'trace_id': 'abe7eb72c0034ade8b2c2b2b950cecc2', 'span_id': '9c48779f90ebfc36', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.15.0', 'build': '3.15.0rc2 free-threading build (main, Sep  1 2026, 14:22:07) [Clang 22.1.3 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.15t-common/lib/python3.15t/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.15t-common', '--junitxml=.junitxml-py3.15t-common']}, 'modules': {'sentry-sdk': '2.69.1', 'referencing': '0.37.0', 'urllib3': '2.8.0', 'h2': '4.4.1', 'socksio': '1.0.0', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'pytest-forked': '1.7.5', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest': '9.1.1', 'pytest-timeout': '2.4.0', 'idna': '3.19', 'hpack': '4.2.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'pygments': '2.21.0', 'brotli': '1.2.0', 'executing': '2.2.1', 'rpds-py': '2026.6.3', 'iniconfig': '2.3.0', 'pytest-asyncio': '1.4.0', 'jsonschema': '4.26.0', 'pytest-cov': '7.1.0', 'coverage': '7.11.0', 'anyio': '4.15.1'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_set_tags

File: tests.test_api
Suite: py3.7-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: - {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} + {'tag1': 'value1', 'tag2': 'value2'}

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     Full diff:
E     - {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     + {'tag1': 'value1', 'tag2': 'value2'}

test_set_user

File: tests.test_scope
Suite: py3.7-common
Error: AssertionError: assert 'user' not in {'breadcrumbs': {'values': []}, 'contexts': {'runtime': {'build': '3.7.17 (default, Sep 20 2023, 11:53:41) \n[GCC 12.2...'d551abcc652e41008913b1f20cdcd166'}}, 'environment': 'production', 'event_id': '9197d8558a9b4543805c290bb81d6b04', ...}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'breadcrumbs': {'values': []}, 'contexts': {'runtime': {'build': '3.7.17 (default, Sep 20 2023, 11:53:41) \n[GCC 12.2...'d551abcc652e41008913b1f20cdcd166'}}, 'environment': 'production', 'event_id': '9197d8558a9b4543805c290bb81d6b04', ...}

test_set_tags

File: tests.test_api
Suite: py3.7-gevent
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: - {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} + {'tag1': 'value1', 'tag2': 'value2'}

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     Full diff:
E     - {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     + {'tag1': 'value1', 'tag2': 'value2'}

test_set_user

File: tests.test_scope
Suite: py3.7-gevent
Error: AssertionError: assert 'user' not in {'breadcrumbs': {'values': []}, 'contexts': {'runtime': {'build': '3.7.17 (default, Sep 20 2023, 11:53:41) \n[GCC 12.2...'633d87a70691454d80ffd544c126c12a'}}, 'environment': 'production', 'event_id': '9ffb1e21126a4c27b4952e8af65d6c1c', ...}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'breadcrumbs': {'values': []}, 'contexts': {'runtime': {'build': '3.7.17 (default, Sep 20 2023, 11:53:41) \n[GCC 12.2...'633d87a70691454d80ffd544c126c12a'}}, 'environment': 'production', 'event_id': '9ffb1e21126a4c27b4952e8af65d6c1c', ...}

test_set_tags

File: tests.test_api
Suite: py3.8-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.8-common
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'ffc9d147419e49f9b4dbee33135c05d3', 'timestamp': '2026-09-16T20:23:55.868350Z', 'contexts': {'trace': {'trace_id': 'ee8a10e2d8bc427baa4dda28d22b1028', 'span_id': 'bcd14caee07ca03f', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct 2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common', '--junitxml=.junitxml-py3.8-common']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'hypothesis': '6.113.0', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'anyio': '4.5.2', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'sniffio': '1.3.1', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'sortedcontainers': '2.4.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'idna': '3.15', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'fb2290a4c97242dab7371961f8df9416', 'timestamp': '2026-09-16T20:23:55.872065Z', 'contexts': {'trace': {'trace_id': 'ee8a10e2d8bc427baa4dda28d22b1028', 'span_id': 'bcd14caee07ca03f', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct 2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common', '--junitxml=.junitxml-py3.8-common']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'hypothesis': '6.113.0', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'anyio': '4.5.2', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'sniffio': '1.3.1', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'sortedcontainers': '2.4.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'idna': '3.15', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'ffc9d147419e49f9b4dbee33135c05d3', 'timestamp': '2026-09-16T20:23:55.868350Z', 'contexts': {'trace': {'trace_id': 'ee8a10e2d8bc427baa4dda28d22b1028', 'span_id': 'bcd14caee07ca03f', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct  2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common', '--junitxml=.junitxml-py3.8-common']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'hypothesis': '6.113.0', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'anyio': '4.5.2', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'sniffio': '1.3.1', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'sortedcontainers': '2.4.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'idna': '3.15', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'fb2290a4c97242dab7371961f8df9416', 'timestamp': '2026-09-16T20:23:55.872065Z', 'contexts': {'trace': {'trace_id': 'ee8a10e2d8bc427baa4dda28d22b1028', 'span_id': 'bcd14caee07ca03f', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct  2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common', '--junitxml=.junitxml-py3.8-common']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'hypothesis': '6.113.0', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'anyio': '4.5.2', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'sniffio': '1.3.1', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'sortedcontainers': '2.4.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'idna': '3.15', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.8-common
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '853ec372a5f34238a487ddf313ce8b3c', 'timestamp': '2026-09-16T20:24:13.315600Z', 'contexts': {'trace': {'trace_id': 'c022aa82bb2c459c87c0a8a5981d1386', 'span_id': 'bb26f538f7b85e9d', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct 2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common', '--junitxml=.junitxml-py3.8-common']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'hypothesis': '6.113.0', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'anyio': '4.5.2', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'sniffio': '1.3.1', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'sortedcontainers': '2.4.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'idna': '3.15', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '853ec372a5f34238a487ddf313ce8b3c', 'timestamp': '2026-09-16T20:24:13.315600Z', 'contexts': {'trace': {'trace_id': 'c022aa82bb2c459c87c0a8a5981d1386', 'span_id': 'bb26f538f7b85e9d', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct  2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-common/lib/python3.8/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-common', '--junitxml=.junitxml-py3.8-common']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'hypothesis': '6.113.0', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'anyio': '4.5.2', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'sniffio': '1.3.1', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'sortedcontainers': '2.4.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'idna': '3.15', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_set_tags

File: tests.test_api
Suite: py3.8-gevent
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_featureflags_integration_threaded

File: tests.test_feature_flags
Suite: py3.8-gevent
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '8b02af9d5d4e4649934ed179d755603f', 'timestamp': '2026-09-16T20:23:40.231293Z', 'contexts': {'trace': {'trace_id': 'f84434d249b541028d5c9dabd7874f0f', 'span_id': 'b02e6aebf100ddc4', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct 2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent', '--junitxml=.junitxml-py3.8-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'gevent': '22.10.2', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'setuptools': '75.3.4', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'greenlet': '3.1.1', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'zope.interface': '7.2', 'zope.event': '5.0', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'fa7abe93d12d45a6b576d4412f3c591e', 'timestamp': '2026-09-16T20:23:40.234744Z', 'contexts': {'trace': {'trace_id': 'f84434d249b541028d5c9dabd7874f0f', 'span_id': 'b02e6aebf100ddc4', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct 2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent', '--junitxml=.junitxml-py3.8-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'gevent': '22.10.2', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'setuptools': '75.3.4', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'greenlet': '3.1.1', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'zope.interface': '7.2', 'zope.event': '5.0', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/test_feature_flags.py:114: in test_featureflags_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '8b02af9d5d4e4649934ed179d755603f', 'timestamp': '2026-09-16T20:23:40.231293Z', 'contexts': {'trace': {'trace_id': 'f84434d249b541028d5c9dabd7874f0f', 'span_id': 'b02e6aebf100ddc4', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}, {'flag': 'world', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct  2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent', '--junitxml=.junitxml-py3.8-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'gevent': '22.10.2', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'setuptools': '75.3.4', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'greenlet': '3.1.1', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'zope.interface': '7.2', 'zope.event': '5.0', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'fa7abe93d12d45a6b576d4412f3c591e', 'timestamp': '2026-09-16T20:23:40.234744Z', 'contexts': {'trace': {'trace_id': 'f84434d249b541028d5c9dabd7874f0f', 'span_id': 'b02e6aebf100ddc4', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': False}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct  2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent', '--junitxml=.junitxml-py3.8-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'gevent': '22.10.2', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'setuptools': '75.3.4', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'greenlet': '3.1.1', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'zope.interface': '7.2', 'zope.event': '5.0', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_user

File: tests.test_scope
Suite: py3.8-gevent
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '13d4ad881ebc40488a8058fe1d656f3d', 'timestamp': '2026-09-16T20:26:35.985644Z', 'contexts': {'trace': {'trace_id': '59f10e4e641d4a8cb579ee50b295d1bd', 'span_id': '97dba43ebdb5041d', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct 2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent', '--junitxml=.junitxml-py3.8-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'gevent': '22.10.2', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'setuptools': '75.3.4', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'greenlet': '3.1.1', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'zope.interface': '7.2', 'zope.event': '5.0', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '13d4ad881ebc40488a8058fe1d656f3d', 'timestamp': '2026-09-16T20:26:35.985644Z', 'contexts': {'trace': {'trace_id': '59f10e4e641d4a8cb579ee50b295d1bd', 'span_id': '97dba43ebdb5041d', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct  2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-gevent/lib/python3.8/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.8-gevent', '--junitxml=.junitxml-py3.8-gevent']}, 'modules': {'sentry-sdk': '2.69.1', 'markupsafe': '2.1.5', 'gevent': '22.10.2', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'hyperframe': '6.0.1', 'setuptools': '75.3.4', 'rpds-py': '0.20.1', 'referencing': '0.35.1', 'iniconfig': '2.1.0', 'greenlet': '3.1.1', 'pkgutil_resolve_name': '1.3.10', 'socksio': '1.0.0', 'pytest': '8.3.5', 'coverage': '7.6.1', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'attrs': '25.3.0', 'werkzeug': '3.0.6', 'pytest-timeout': '2.4.0', 'py': '1.11.0', 'h2': '4.1.0', 'zipp': '3.20.2', 'urllib3': '2.2.3', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'importlib_resources': '6.4.5', 'pytest-forked': '1.6.0', 'pluggy': '1.5.0', 'pytest-asyncio': '0.24.0', 'typing_extensions': '4.13.2', 'pytest-cov': '5.0.0', 'brotli': '1.2.0', 'packaging': '26.2', 'zope.interface': '7.2', 'zope.event': '5.0', 'executing': '2.2.1', 'jsonschema': '4.23.0', 'jsonschema-specifications': '2023.12.1', 'hpack': '4.0.0'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

test_launchdarkly_integration_threaded

File: tests.integrations.launchdarkly.test_launchdarkly
Suite: py3.8-launchdarkly-v9.8.1
Error: AssertionError: assert 2 == 3 + where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '1ffbcee7d738463aaa9a51bd24c7ed4e', 'timestamp': '2026-09-16T20:21:42.292307Z', 'contexts': {'trace': {'trace_id': '30177500280c465ba02e4743924caefd', 'span_id': 'b4641e7b10f62864', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct 2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-launchdarkly-v9.8.1/lib/python3.8/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.8-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.8-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'iniconfig': '2.1.0', 'pyrfc3339': '2.0.1', 'semver': '3.0.4', 'expiringdict': '1.2.2', 'pytest': '8.3.5', 'coverage': '7.6.1', 'launchdarkly-eventsource': '1.2.4', 'urllib3': '2.2.3', 'pluggy': '1.5.0', 'certifi': '2026.6.17', 'typing_extensions': '4.13.2', 'pytest-cov': '5.0.0', 'packaging': '26.2'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'ce8b0588a70c41d58c8630ff99f2f783', 'timestamp': '2026-09-16T20:21:42.293840Z', 'contexts': {'trace': {'trace_id': '30177500280c465ba02e4743924caefd', 'span_id': 'b4641e7b10f62864', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct 2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-launchdarkly-v9.8.1/lib/python3.8/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.8-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.8-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'iniconfig': '2.1.0', 'pyrfc3339': '2.0.1', 'semver': '3.0.4', 'expiringdict': '1.2.2', 'pytest': '8.3.5', 'coverage': '7.6.1', 'launchdarkly-eventsource': '1.2.4', 'urllib3': '2.2.3', 'pluggy': '1.5.0', 'certifi': '2026.6.17', 'typing_extensions': '4.13.2', 'pytest-cov': '5.0.0', 'packaging': '26.2'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

Stack Trace
tests/integrations/launchdarkly/test_launchdarkly.py:84: in test_launchdarkly_integration_threaded
    assert len(events) == 3
E   AssertionError: assert 2 == 3
E    +  where 2 = len([{'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': '1ffbcee7d738463aaa9a51bd24c7ed4e', 'timestamp': '2026-09-16T20:21:42.292307Z', 'contexts': {'trace': {'trace_id': '30177500280c465ba02e4743924caefd', 'span_id': 'b4641e7b10f62864', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}, {'flag': 'world', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct  2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': 'world'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-launchdarkly-v9.8.1/lib/python3.8/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.8-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.8-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'iniconfig': '2.1.0', 'pyrfc3339': '2.0.1', 'semver': '3.0.4', 'expiringdict': '1.2.2', 'pytest': '8.3.5', 'coverage': '7.6.1', 'launchdarkly-eventsource': '1.2.4', 'urllib3': '2.2.3', 'pluggy': '1.5.0', 'certifi': '2026.6.17', 'typing_extensions': '4.13.2', 'pytest-cov': '5.0.0', 'packaging': '26.2'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}, {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'Exception', 'value': 'something wrong!'}]}, 'event_id': 'ce8b0588a70c41d58c8630ff99f2f783', 'timestamp': '2026-09-16T20:21:42.293840Z', 'contexts': {'trace': {'trace_id': '30177500280c465ba02e4743924caefd', 'span_id': 'b4641e7b10f62864', 'parent_span_id': None}, 'flags': {'values': [{'flag': 'hello', 'result': True}]}, 'runtime': {'name': 'CPython', 'version': '3.8.20', 'build': '3.8.20 (default, Oct  2 2024, 16:34:12) \n[Clang 18.1.8 ]'}}, 'transaction_info': {}, 'tags': {'task_id': '0'}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.8-launchdarkly-v9.8.1/lib/python3.8/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests/integrations/launchdarkly', '-o', 'junit_suite_name=py3.8-launchdarkly-v9.8.1', '--junitxml=.junitxml-py3.8-launchdarkly-v9.8.1']}, 'modules': {'sentry-sdk': '2.69.1', 'launchdarkly-server-sdk': '9.8.1', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'iniconfig': '2.1.0', 'pyrfc3339': '2.0.1', 'semver': '3.0.4', 'expiringdict': '1.2.2', 'pytest': '8.3.5', 'coverage': '7.6.1', 'launchdarkly-eventsource': '1.2.4', 'urllib3': '2.2.3', 'pluggy': '1.5.0', 'certifi': '2026.6.17', 'typing_extensions': '4.13.2', 'pytest-cov': '5.0.0', 'packaging': '26.2'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'launchdarkly', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}])

test_set_tags

File: tests.test_api
Suite: py3.9-common
Error: AssertionError: Updating tags failed assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'} Common items: {'tag1': 'value1'} Differing items: {'tag2': 'value2'} != {'tag2': 'updated'} Right contains 1 more item: {'tag3': 'new'} Full diff: { 'tag1': 'value1', - 'tag2': 'updated', ? ---- ^ + 'tag2': 'value2', ? +++ ^ - 'tag3': 'new', }

Stack Trace
tests/test_api.py:188: in test_set_tags
    assert event["tags"] == {
E   AssertionError: Updating tags failed
E   assert {'tag1': 'value1', 'tag2': 'value2'} == {'tag1': 'value1', 'tag2': 'updated', 'tag3': 'new'}
E     
E     Common items:
E     {'tag1': 'value1'}
E     Differing items:
E     {'tag2': 'value2'} != {'tag2': 'updated'}
E     Right contains 1 more item:
E     {'tag3': 'new'}
E     
E     Full diff:
E       {
E           'tag1': 'value1',
E     -     'tag2': 'updated',
E     ?               ---- ^
E     +     'tag2': 'value2',
E     ?              +++  ^
E     -     'tag3': 'new',
E       }

test_set_user

File: tests.test_scope
Suite: py3.9-common
Error: AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '2049da55d7f047faa0f7b3a75dd696c7', 'timestamp': '2026-09-16T20:24:02.502865Z', 'contexts': {'trace': {'trace_id': '0599e265537b490cadc8bb0ac08e5131', 'span_id': 'bdd5250a8bc9537f', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.9.25', 'build': '3.9.25 (main, Oct 31 2025, 23:00:23) \n[Clang 21.1.4 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.9-common/lib/python3.9/site-packages/pytest/main.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.9-common', '--junitxml=.junitxml-py3.9-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'iniconfig': '2.1.0', 'socksio': '1.0.0', 'jsonschema': '4.25.1', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'rpds-py': '0.27.1', 'h2': '4.3.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest-timeout': '2.4.0', 'urllib3': '2.6.3', 'idna': '3.19', 'py': '1.11.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'pytest-forked': '1.6.0', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'referencing': '0.36.2', 'pygments': '2.21.0', 'anyio': '4.12.1', 'brotli': '1.2.0', 'pytest-asyncio': '1.2.0', 'hpack': '4.1.0', 'executing': '2.2.1', 'coverage': '7.10.7', 'pytest-cov': '7.1.0', 'pytest': '8.4.2'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

Stack Trace
tests/test_scope.py:82: in test_set_user
    assert "user" not in events[-1]
E   AssertionError: assert 'user' not in {'level': 'error', 'exception': {'values': [{'mechanism': {'type': 'generic', 'handled': True}, 'module': None, 'type': 'NameError', 'value': ''}]}, 'event_id': '2049da55d7f047faa0f7b3a75dd696c7', 'timestamp': '2026-09-16T20:24:02.502865Z', 'contexts': {'trace': {'trace_id': '0599e265537b490cadc8bb0ac08e5131', 'span_id': 'bdd5250a8bc9537f', 'parent_span_id': None}, 'runtime': {'name': 'CPython', 'version': '3.9.25', 'build': '3.9.25 (main, Oct 31 2025, 23:00:23) \n[Clang 21.1.4 ]'}}, 'user': {'id': '42', 'email': 'bob@example.com'}, 'transaction_info': {}, 'breadcrumbs': {'values': []}, 'extra': {'sys.argv': ['/home/runner/work/sentry-python/sentry-python/.tox/py3.9-common/lib/python3.9/site-packages/pytest/__main__.py', '-W', 'error::pytest.PytestUnraisableExceptionWarning', 'tests', '-o', 'junit_suite_name=py3.9-common', '--junitxml=.junitxml-py3.9-common']}, 'modules': {'sentry-sdk': '2.69.1', 'typing_extensions': '4.16.0', 'exceptiongroup': '1.3.1', 'tomli': '2.4.1', 'backports.asyncio.runner': '1.2.0', 'iniconfig': '2.1.0', 'socksio': '1.0.0', 'jsonschema': '4.25.1', 'pluggy': '1.6.0', 'markupsafe': '3.0.3', 'rpds-py': '0.27.1', 'h2': '4.3.0', 'pysocks': '1.7.1', 'httpcore': '1.0.9', 'h11': '0.16.0', 'hyperframe': '6.1.0', 'werkzeug': '3.1.8', 'pytest-timeout': '2.4.0', 'urllib3': '2.6.3', 'idna': '3.19', 'py': '1.11.0', 'pytest-localserver': '0.10.0', 'certifi': '2026.7.22', 'pytest-forked': '1.6.0', 'jsonschema-specifications': '2025.9.1', 'packaging': '26.3', 'attrs': '26.1.0', 'referencing': '0.36.2', 'pygments': '2.21.0', 'anyio': '4.12.1', 'brotli': '1.2.0', 'pytest-asyncio': '1.2.0', 'hpack': '4.1.0', 'executing': '2.2.1', 'coverage': '7.10.7', 'pytest-cov': '7.1.0', 'pytest': '8.4.2'}, 'release': '68c1c650d1ddbc89a06f8b71175c46aaf5b474bb', 'environment': 'production', 'server_name': 'runnervm7g52i', 'sdk': {'name': 'sentry.python', 'version': '2.69.1', 'packages': [{'name': 'pypi:sentry-sdk', 'version': '2.69.1'}], 'integrations': ['argv', 'atexit', 'dedupe', 'excepthook', 'modules', 'stdlib', 'threading', 'unraisablehook']}, 'platform': 'python'}

❌ Patch coverage is 69.70%. Project has 2090 uncovered lines.
❌ Project coverage is 90.03%. Comparing base (f46fbb6) to head (b32f18e).

Files with missing lines (3)
File Patch % Lines
sentry_sdk/integrations/dedupe.py 70.37% ⚠️ 8 Missing and 1 partials
sentry_sdk/integrations/aws_lambda.py 50.00% ⚠️ 1 Missing
sentry_sdk/integrations/gcp.py 50.00% ⚠️ 1 Missing
Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.17%    90.03%    -0.14%
==========================================
  Files          193       179       -14
  Lines        25773     20970     -4803
  Branches      9532      7534     -1998
==========================================
+ Hits         23241     18880     -4361
- Misses        2532      2090      -442
- Partials      1431      1182      -249

Generated by Codecov Action

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