Repository navigation
fix(core): Report non-finite numbers and initialScope values as placeholders in SDK config - #26838
Merged
Merged
Conversation
…holders in SDK config NaN and Infinity became null in the payload, so they looked like an explicit null. initialScope values such as the user's ID were sent and hashed, which made the hash unique per user; only the shape of a plain initialScope object is reported now.
Contributor
size-limit report 📦Compared: 040c011 (PR test merge using develop at 69dbad1) Against: 69dbad1 (develop) · base run #67826 ✅ Baseline matches: this diff contains only this PR's changes.
|
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 4 not successful, 75 successful. See the run.
Successful checks
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c2454fe. Configure here.
Lms24
approved these changes
Nov 25, 2026
nicohrubec
approved these changes
Nov 25, 2026
51 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

SDK config reports turned
NaNandInfinityintonullwhich can lose information related to numeric bugs the user can supply to the SDK like to the sample rates.Additionally, the
initialScopecan make the hash unique per user as it often contains arbitrary context values like user id or timestamps. So we instead describe its shape, alternatively we can drop it.This falls under our "does this value change the behavior of the SDK?".