Skip to content

test(scope): disable auto-sessions in user-owned scope test#1860

Merged
jpnurmi merged 1 commit into
masterfrom
jpnurmi/test/scope_capture_user_owned
Jul 13, 2026
Merged

test(scope): disable auto-sessions in user-owned scope test#1860
jpnurmi merged 1 commit into
masterfrom
jpnurmi/test/scope_capture_user_owned

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

The newly added user-owned scope test failed on Switch:

[ FAILED ]
  test_scope.c:1404: Check 3 == 2... failed

https://github.com/getsentry/sentry-switch/actions/runs/29241300898/job/86787742176

Try disabling automatic session tracking. It can emit an additional session envelope on platforms that provide release metadata during initialization.

Keep the transport callback count focused on the two explicit captures.
Automatic session tracking can emit an additional session envelope on
platforms that provide release metadata during initialization.

Co-Authored-By: OpenAI Codex <noreply@openai.com>
@jpnurmi

jpnurmi commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator Author

Manually triggered Switch UNIT_TEST CI run passed: https://github.com/getsentry/sentry-switch/actions/runs/29247641872/job/86808310978

@jpnurmi jpnurmi merged commit 978827a into master Jul 13, 2026
100 of 102 checks passed
@jpnurmi jpnurmi deleted the jpnurmi/test/scope_capture_user_owned branch July 13, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants