Repository navigation
fix(core): Remove native scope tags set to an empty value - #7087
Merged
Merged
Conversation
The TurboModuleContext integration clears its tags with an empty-string sentinel. Scope sync forwarded it to the native scopes, so events created natively (MetricKit diagnostics, native crashes, app hangs) carried empty `turbo_module.*` tags that ingestion discards with a processing error. Native `setTag` now removes the tag for empty or nil values on iOS and Android. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
🤖 This preview updates automatically when you update the PR. |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 2ae3bf0. Configure here.
antonis
marked this pull request as ready for review
November 23, 2026 12:33
📲 Install BuildsAndroid
|
alwx
approved these changes
Nov 23, 2026
This was referenced Nov 24, 2026
antonis
added a commit
that referenced
this pull request
Nov 24, 2026
Scenarios were one-off per PR and nothing runs them, so a shared folder would grow and rot. Move the #7087 flow to flows/examples/ as the worked example and regression check, write each run's flow next to its report, and promote to flows/steps/ only when a second run needs it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 of 11 tasks
antonis
added a commit
that referenced
this pull request
Nov 26, 2026
) * chore(tooling): Add verify-pr skill for on-device PR verification Adds a local skill that verifies a PR end to end on an Android emulator: build the sample without and with the change, drive it with Maestro, find both runs' events in sentry-sdks through the Sentry MCP, and write a draft before/after report. The sample tags events with verify.pr, verify.commit and verify.run_id when launched with matching launch arguments, and does nothing otherwise. It also enables logs in sentry.options.json, so native Android matches the JS enableLogs setting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(tooling): Write verify-pr scenarios per run, not into the skill Scenarios were one-off per PR and nothing runs them, so a shared folder would grow and rot. Move the #7087 flow to flows/examples/ as the worked example and regression check, write each run's flow next to its report, and promote to flows/steps/ only when a second run needs it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
antonis
added a commit
that referenced
this pull request
Nov 26, 2026
* chore(tooling): Add verify-pr skill for on-device PR verification Adds a local skill that verifies a PR end to end on an Android emulator: build the sample without and with the change, drive it with Maestro, find both runs' events in sentry-sdks through the Sentry MCP, and write a draft before/after report. The sample tags events with verify.pr, verify.commit and verify.run_id when launched with matching launch arguments, and does nothing otherwise. It also enables logs in sentry.options.json, so native Android matches the JS enableLogs setting. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(tooling): Write verify-pr scenarios per run, not into the skill Scenarios were one-off per PR and nothing runs them, so a shared folder would grow and rot. Move the #7087 flow to flows/examples/ as the worked example and regression check, write each run's flow next to its report, and promote to flows/steps/ only when a second run needs it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(tooling): Add iOS simulator support to the verify-pr skill From verifying #7087 and #6974 on the iOS simulator: Pods setup and the files pod install rewrites, the iOS init path, Maestro differences (no `back`, tab icons and the Playground tab need ids), reading screenshot attachments back from Sentry, and a two-color probe for masking checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(tooling): Fold iOS acceptance-run findings into verify-pr Save the revert as a patch file, compare dist/ against packages/core/src, define verify.commit for both sides, reinstall Pods every iOS run, shut down booted devices, and keep attachment URLs out of reports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(sample): Add a screenshot masking probe to the Playground tab A two-color view inside the existing <Sentry.Mask> demo, plus a button that captures an exception with the demo on screen. The view is neither text nor an image, so only <Sentry.Mask> can hide it in the event's screenshot; a masked probe is one flat color. Used to verify #6974. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(tooling): Add a pre-build gate and open-PR handling to verify-pr From running the skill on open PRs (#7042, #7030): a "Not verifiable this way" verdict decided before any build (build-only claims, triggers a simulator can't produce, native APIs missing from the pinned SDK, low disk), guidance for feature PRs and open PRs, checks for node_modules, run tagging and spec codegen, release builds by default, and evidence for replay recording content and JS-thread blocks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
3 tasks done
This was referenced Nov 26, 2026
This was referenced Nov 27, 2026
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.
📢 Type of change
📜 Description
Native
setTagnow removes the tag from the native scope when the value is empty or nil, instead of storing an empty string.💡 Motivation and Context
While testing I've noticed the following processing error
Follow-up to #6502 / #6506.
💚 How did you test it?
turbo_module.*tags, flagged as an ingestion processing error: https://sentry-sdks.sentry.io/issues/7856874355/events/f5a6476b32d74483bf79e56617b17ff2/?project=5428561turbo_module.*tags and no processing error: https://sentry-sdks.sentry.io/issues/7856874355/events/c4e53bb0ccd24f40a8c68c7f00ed01a1/?project=5428561📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps