Skip to content

chore(core): Resolve non-actionable TODOs - #6826

Merged
antonis merged 1 commit into
mainfrom
chore/resolve-nonactionable-todos
Oct 2, 2026
Merged

antonis merged 1 commit into
mainfrom
chore/resolve-nonactionable-todos

Conversation

@antonis

@antonis antonis commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

File TODO Resolution
tools/sentryMetroSerializer.ts deprecate this and afterwards rename to createSentryDebugIdSerializer Removed. Cosmetic rename of a public (@sentry/react-native/metro) export now used internally by withSentryConfig. Would need a full deprecation/breaking cycle for no functional gain.
transports/native.ts We currently can't retrieve the response information from native Reframed as a limitation note. The native SDK owns the transport; captureEnvelope returns only a boolean, so there's no HTTP response to surface.
ios/RNSentryNativeLogsForwarder.m Ideally we should save the previous output block … instead of hardcoding NSLog Reframed as a limitation note. cocoa exposes no public getter for the current SentrySDKLog output, so the previous block can't be restored.

💡 Motivation and Context

TODO cleanup pass. Verified rather than assumed:

💚 How did you test it?

N/A

📝 Checklist

  • I added tests to verify changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.
  • No breaking changes.

🔮 Next steps

Three TODOs that describe work that won't happen as written, verified and
resolved:

- sentryMetroSerializer.ts: drop the "deprecate then rename to
  createSentryDebugIdSerializer" TODO. It's a cosmetic rename of a public
  (`@sentry/react-native/metro`) export that is now used internally by
  `withSentryConfig`; the rename would need a full deprecation/breaking cycle
  for no functional gain.
- transports/native.ts: reframe the TODO as a limitation note. The native SDK
  owns the transport and `captureEnvelope` returns only a boolean, so there is
  no HTTP response to surface to JS.
- RNSentryNativeLogsForwarder.m: reframe the TODO as a limitation note. cocoa
  exposes no public getter for the current SentrySDKLog output (the only getter
  is test-only, `#if SENTRY_TEST`), so the previous block can't be restored;
  resetting to the default NSLog behavior is the only option.

Comment-only; no behavior change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

⚪ None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • chore(core): Resolve non-actionable TODOs by antonis in #6826
  • chore(core): resolve stale TODO comments by antonis in #6819
  • fix(profiling): Populate Hermes runtime version on JS profiles by antonis in #6817

🤖 This preview updates automatically when you update the PR.

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against bc33828

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

✅ 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 bc33828. Configure here.

@antonis
antonis marked this pull request as ready for review October 2, 2026 10:38

@alwx alwx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@antonis
antonis merged commit 6f7b21a into main Oct 2, 2026
71 of 78 checks passed
@antonis
antonis deleted the chore/resolve-nonactionable-todos branch October 2, 2026 11:37
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