Skip to content

fix(slack): Cast user id to string in set_user call#112534

Merged
DominikB2014 merged 1 commit intomasterfrom
dominikbuszowiecki/fix-slack-set-user-id-type
Apr 8, 2026
Merged

fix(slack): Cast user id to string in set_user call#112534
DominikB2014 merged 1 commit intomasterfrom
dominikbuszowiecki/fix-slack-set-user-id-type

Conversation

@DominikB2014
Copy link
Copy Markdown
Contributor

Follow-up to #112530. sentry_sdk.set_user expects a string for the id field. The previous PR passed identity_user.id as an int, which can prevent user.id from being indexed correctly in EAP spans.

sentry_sdk.set_user expects a string for the id field. Passing an int
could prevent user.id from being indexed correctly in EAP spans.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@DominikB2014 DominikB2014 requested review from a team as code owners April 8, 2026 21:15
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 8, 2026
@DominikB2014 DominikB2014 requested a review from a team April 8, 2026 21:15
@DominikB2014 DominikB2014 enabled auto-merge (squash) April 8, 2026 21:21
@DominikB2014 DominikB2014 merged commit 45198ea into master Apr 8, 2026
57 checks passed
@DominikB2014 DominikB2014 deleted the dominikbuszowiecki/fix-slack-set-user-id-type branch April 8, 2026 21:24
george-sentry pushed a commit that referenced this pull request Apr 9, 2026
Follow-up to #112530. `sentry_sdk.set_user` expects a string for the
`id` field. The previous PR passed `identity_user.id` as an int, which
can prevent `user.id` from being indexed correctly in EAP spans.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants