Skip to content

fix(core): Fix 9.x.x compile error in SentryTracer.hasAllChildrenFinished - #6595

Merged
adinauer merged 1 commit into
9.x.xfrom
fix/9.x.x-sentry-tracer-idle-span
Nov 12, 2026
Merged

adinauer merged 1 commit into
9.x.xfrom
fix/9.x.x-sentry-tracer-idle-span

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

📜 Description

Replaces span.getOptions().isIdle() with span.isIdle() in SentryTracer.hasAllChildrenFinished(). That one line is the whole change.

💡 Motivation and Context

9.x.x (fb3e477) currently doesn't compile:

SentryTracer.java:715: error: cannot find symbol
      if (span.getOptions().isIdle()) {
  symbol:   method getOptions()
  location: variable span of type Span

#6417 removed Span.getOptions() in favor of Span.isIdle() and updated this call. #6415 was merged 4 minutes later and brought the old call back. Every PR against 9.x.x now fails CI at :sentry:compileJava, for example #6594.

💚 How did you test it?

  • ./gradlew :sentry:compileJava :sentry:compileTestKotlin :sentry:spotlessJavaCheck passes locally.
  • I did not run the unit tests locally, so I'm relying on CI.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the 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.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.

🔮 Next steps

Once this is merged, re-run CI on the open PRs against 9.x.x.

#skip-changelog

via alexander.dinauer.

--

View Session [Sentry]

…shed

#6417 replaced Span.getOptions() with Span.isIdle(), but #6415 merged
right after and brought back the old span.getOptions().isIdle() call,
so 9.x.x no longer compiles.

Co-Authored-By: Alexander Dinauer <alexander.dinauer@sentry.io>
@sentry-junior
sentry-junior Bot requested review from a team and adinauer as code owners November 12, 2026 11:27
@sentry-junior
sentry-junior Bot requested review from 0xadam-brown and romtsn and removed request for a team November 12, 2026 11:27
@sentry

sentry Bot commented Nov 12, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.63.0 (1) release

⚙️ sentry-android Build Distribution Settings

@adinauer
adinauer merged commit 4066c5e into 9.x.x Nov 12, 2026
41 of 42 checks passed
@adinauer
adinauer deleted the fix/9.x.x-sentry-tracer-idle-span branch November 12, 2026 12:43
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