-
-
Notifications
You must be signed in to change notification settings - Fork 458
Add sentry-android-distribution module to release configuration #4791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add sentry-android-distribution module to release configuration #4791
Conversation
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Instructions and example for changelogPlease add an entry to Example: ## Unreleased
- Add sentry-android-distribution module to release configuration ([#4791](https://github.com/getsentry/sentry-java/pull/4791)) If none of the above apply, you can opt out of this check by adding |
} | ||
|
||
if (!this.name.contains("sample") && !this.name.contains("integration-tests") && this.name != "sentry-system-test-support" && this.name != "sentry-test-support" && this.name != "sentry-android-distribution") { | ||
if (!this.name.contains("sample") && !this.name.contains("integration-tests") && this.name != "sentry-system-test-support" && this.name != "sentry-test-support") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potential bug: Incomplete distribution module will crash when used
-
Description: Publishing the
sentry-android-distribution
module exposes an incomplete implementation that throws aNotImplementedError
when thecheckForUpdateBlocking
method is called, which will cause a crash for users. -
Suggested fix: Complete the implementation of the
checkForUpdateBlocking
method inDistributionIntegration.kt
to handle update checks gracefully instead of throwing aNotImplementedError
. Alternatively, if the module is not ready for public use, revert the change that publishes it to Maven Central.
severity: 3.0, confidence: 5.0
Did we get this right? 👍 / 👎 to inform future reviews.
maven:io.sentry:sentry-apache-http-client-5: | ||
maven:io.sentry:sentry-android: | ||
maven:io.sentry:sentry-android-core: | ||
maven:io.sentry:sentry-android-distribution: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think for the first time it has to be manually added as described here: https://github.com/getsentry/sentry-release-registry#adding-new-sdks
After that we can merge the PR and it will be automatically published to the registry for future releases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh. I was able to make a release already here: https://repo1.maven.org/maven2/io/sentry/sentry-android-distribution/8.24.0-alpha.1/
but I will do this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, considering we add the distribution module to the release registry manually first :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Summary
This ensures the sentry-android-distribution module follows all requirements from
.cursor/rules/new_module.mdc
and will be properly published to Maven Central.Solves EME-399
🤖 Generated with Claude Code