Skip to content

Conversation

@runningcode
Copy link
Contributor

@runningcode runningcode commented Oct 8, 2025

Summary

  • Add README.md to sentry-android-distribution module
  • Add module to main README.md packages table
  • Add module to .craft.yml sdks section
  • Remove module from publishing exclusion list in build.gradle.kts

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

#skip-changelog

🤖 Generated with Claude Code

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against cea8556

}

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") {
Copy link

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 a NotImplementedError when the checkForUpdateBlocking method is called, which will cause a crash for users.

  • Suggested fix: Complete the implementation of the checkForUpdateBlocking method in DistributionIntegration.kt to handle update checks gracefully instead of throwing a NotImplementedError. 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:
Copy link
Member

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

Copy link
Contributor Author

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!

Copy link
Member

@romtsn romtsn left a 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 :)

Copy link
Contributor

@chromy chromy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@runningcode runningcode enabled auto-merge (squash) October 13, 2025 13:30
@runningcode runningcode force-pushed the no/add-sentry-android-distribution-to-release-config branch from 0f7e4fd to cea8556 Compare October 13, 2025 13:31
@runningcode runningcode merged commit 3c4324c into main Oct 13, 2025
59 checks passed
@runningcode runningcode deleted the no/add-sentry-android-distribution-to-release-config branch October 13, 2025 13:38
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.

4 participants