Repository navigation
Conversation
Move third-party-derived implementations into io.sentry.vendor namespaces and update internal call sites, tests, attribution, ProGuard rules, and ABI dumps. This keeps vendored origins explicit for Java SDK 9.
Contributor
🚨 Detected changes in high risk code 🚨High-risk code has higher potential to break the SDK and may be hard to test. To prevent severe bugs, apply the rollout process for releasing such changes and be extra careful when changing and reviewing these files:
|
Contributor
PR risk: highFor commit Main concerns: public contract, dependencies customers inherit, reach. Rules that block low also fired:
This label is a hint for reviewers, not an approval. |
📲 Install BuildsAndroid
|
adinauer
marked this pull request as ready for review
November 27, 2026 11:29
adinauer
requested review from
markushi and
runningcode
and removed request for
a team
November 27, 2026 11:29
romtsn
reviewed
Nov 27, 2026
romtsn
reviewed
Nov 27, 2026
romtsn
reviewed
Nov 27, 2026
romtsn
approved these changes
Nov 27, 2026
romtsn
left a comment
Contributor
There was a problem hiding this comment.
I'd address the comments, pre-approving.
One more thing - we should probably create an issue for dotnet to update their bindings after the bump (there's no compile-time error I think)
Rename the Seismic-derived shake detector to match its vendored package and exclude vendored implementation packages from generated ABI dumps. Co-Authored-By: Claude <[email protected]>
Keep the SDK-owned ANR exception in its established core package while leaving the adapted watchdog implementation under io.sentry.vendor. Construct the exception at the integration boundary so the vendored detector does not depend on core implementation details. Co-Authored-By: Claude <[email protected]>
6 of 9 tasks
13 tasks
This branch has not been deployed
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.
PR Stack (Vendored Packages)
📜 Description
Consolidates third-party-derived implementations into upstream-oriented
io.sentry.vendor.*namespaces across the core SDK, Android Core, Android Replay, OpenTelemetry bootstrap, and build logic.This also:
THIRD_PARTY_NOTICES.mdscopesThe old package names are removed without forwarding shims because this targets the Java SDK 9 major release. Consumers that directly imported these implementation types must update their imports.
ApplicationNotRespondingremains in its establishedio.sentry.android.corepackage; the adapted watchdog implementation moves toio.sentry.vendor.anrwatchdog.💡 Motivation and Context
Vendored implementations currently live across Sentry-owned namespaces, which obscures their upstream ownership and makes attribution, maintenance, and package-level tooling harder to reason about. Grouping them under
io.sentry.vendormakes the boundary explicit while retaining the existing top-level vendor namespace used by Gson and other adapted utilities.The package moves are intentionally grouped by upstream project, such as Tape, Seismic, ANR-WatchDog, Apache Commons Collections, AndroidX, OpenTelemetry, and flutter_screen_recorder.
💚 How did you test it?
make format api./gradlew check📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
Coordinate rebases for #6779, #6785, and #6666 because they touch files moved by this PR.