Skip to content

chore: Clean up non-actionable TODOs - #6843

Merged
antonis merged 2 commits into
mainfrom
chore/cleanup-nonactionable-todos
Oct 6, 2026
Merged

antonis merged 2 commits into
mainfrom
chore/cleanup-nonactionable-todos

Conversation

@antonis

@antonis antonis commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Cleans up TODOs that aren't actionable as code changes. Each either documents real behavior/a limitation (reframed to a plain note so the "why" is kept) or was self-explanatory (removed). Comment-only — no behavior change.

File TODO Resolution
packages/core/ios/RNSentryStart.m "For auto init from JS dev server / spotlight URL is resolved automatically; for options-file init it has to be set manually" (×2) Reframed to behavior notes — these URLs are resolved by the JS layer on auto-init; for options-file init they come from the options.
dev-packages/e2e-tests/maestro/utils/sentryApi.js "reach out to Maestro & GraalJS via GitHub issues" Reframed to an explanation of the busy-wait — Maestro's GraalJS runtime has no setTimeout/Promise (also fixed a GrallJS typo).
samples/expo/app/(tabs)/index.tsx "No working in Expo Go App" Reframed to a plain "not captured when running in Expo Go" note.
samples/react-native/e2e/utils/parseEnvelope.ts "Parse when needed for the tests" Removed — the binary handling for replay_video is self-explanatory.
samples/react-native/e2e/tests/captureAppStartCrash/captureAppStartCrash.test.ios.manual.ts "Why are these not included?" (#6845) Reframed to a note — app-start crashes are flushed synchronously by sentry-cocoa mid-init (inside SentryCrashIntegration), so sdk.integrations only reflects integrations ordered before the crash integration (SessionReplay). Expected cocoa behavior. Closes #6845.

💡 Motivation and Context

TODO cleanup pass

💚 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

Resolve TODOs that aren't actionable as code changes — reframe the ones that
document real behavior/limitations into plain notes, and drop the one that's
self-explanatory. Comment-only; no behavior change.

- RNSentryStart.m: the two "resolve dev-server / spotlight URL automatically for
  options-file init" TODOs become behavior notes (these URLs are resolved by the
  JS layer on auto-init; for options-file init they come from the options). The
  auto-resolution is a possible future enhancement, tracked separately.
- sentryApi.js (maestro): the "reach out to Maestro & GraalJS" TODO becomes an
  explanation of why we busy-wait (the GraalJS runtime has no setTimeout/Promise).
- expo sample: "TODO: No working in Expo Go App" becomes a plain note.
- parseEnvelope.ts (e2e): drop the "parse when needed" TODO; the binary handling
  is self-explanatory.

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

github-actions Bot commented Oct 6, 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: Clean up non-actionable TODOs by antonis in #6843
  • chore(deps): update JavaScript SDK to v10.76.0 by antonis in #6831
  • chore(expo): bump sample to Expo 57.0.26 by antonis in #6838
  • chore(deps): Bump basic-ftp to 6.2.2 by alwx in #6837
  • fix(core): Mark package as side-effect free by devclaimjuimperai in #6829
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.31.0 to 2.33.1 by dependabot in #6833
  • chore(deps): bump gradle/actions/setup-gradle from 6.3.0 to 6.4.0 by dependabot in #6834
  • chore(deps): bump getsentry/craft from 2.31.2 to 2.33.1 by dependabot in #6835
  • chore(deps): bump getsentry/github-workflows/validate-pr from 4013fc6e1aeb1be1f9d3b4d232624f0ec1afa613 to 36c729264d2edc29ebae61950c50e1e9f043ad7e by dependabot in #6832
  • fix(android): Settle initNativeReactNavigationNewFrameTracking promise by antonis in #6823
  • fix(spotlight): Forward image attachments to Spotlight by antonis in #6818
  • fix(ios): Prevent crash when initialized with an invalid DSN by antonis in #6825
  • 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 6, 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 03085ec

@antonis
antonis marked this pull request as ready for review October 6, 2026 07:59
Reframe the FIXME in captureAppStartCrash.test.ios.manual.ts into a note
explaining the expected sentry-cocoa behavior: app-start crashes are flushed
synchronously mid-init so sdk.integrations only reflects integrations ordered
before the crash integration.

Closes #6845

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@antonis
antonis enabled auto-merge (squash) October 6, 2026 08:43
@antonis
antonis merged commit 0f36cfd into main Oct 6, 2026
58 of 74 checks passed
@antonis
antonis deleted the chore/cleanup-nonactionable-todos branch October 6, 2026 08:45
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.

Investigate: app-start crash event's SDK metadata lists only SessionReplay in integrations

2 participants