fix: move Otel testing library out production runtime#446
Merged
abelonogov-ld merged 5 commits intomainfrom Mar 28, 2026
Merged
fix: move Otel testing library out production runtime#446abelonogov-ld merged 5 commits intomainfrom
abelonogov-ld merged 5 commits intomainfrom
Conversation
Vadman97
approved these changes
Mar 28, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Merged
Vadman97
pushed a commit
that referenced
this pull request
Mar 28, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>launchdarkly-observability-android: 0.34.1</summary> ## [0.34.1](launchdarkly-observability-android-0.34.0...launchdarkly-observability-android-0.34.1) (2026-03-28) ### Bug Fixes * move Otel testing library out production runtime ([#446](#446)) ([8a8ef34](8a8ef34)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: this is a release-version bump plus changelog/manifest updates, with no functional code changes in this PR diff. > > **Overview** > Bumps `sdk/@launchdarkly/observability-android` from `0.34.0` to `0.34.1` in the release manifest and Gradle properties. > > Updates the Android package changelog for `0.34.1`, noting the bug fix to move an OpenTelemetry testing library out of the production runtime. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit bbd27cf. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
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.

Summary
How did you test this change?
Are there any deployment considerations?
Note
Medium Risk
Medium risk because it changes the SDK’s public testing/inspection surface (replaces
ObservabilityClient.getTelemetryInspector()with anObservabilityOptions.telemetryInspectorinjection) and refactors core initialization to useObservabilityService, which could affect downstream integrations if any relied on the old classes or runtime testing dependency.Overview
Moves OpenTelemetry in-memory “telemetry inspection” support out of production runtime by making
opentelemetry-sdk-testingatestImplementation/testFixturesdependency and introducingtesting.InMemoryTelemetryInspector(test fixtures) for assertions.Refactors telemetry inspection wiring:
TelemetryInspectorbecomes an interface, a newObservabilityOptions.telemetryInspectoris added, andObservabilityServicecomposes the provided exporters into the debug composite exporters. The oldObservabilityClient/getTelemetryInspector()path is removed, and E2E tests are updated to inject and read the in-memory inspector viaTestApplication.Written by Cursor Bugbot for commit 2941a91. This will update automatically on new commits. Configure here.