feat(distribution): Add installGroupsOverride parameter#5066
Merged
runningcode merged 5 commits intomainfrom Feb 9, 2026
Merged
feat(distribution): Add installGroupsOverride parameter#5066runningcode merged 5 commits intomainfrom
runningcode merged 5 commits intomainfrom
Conversation
…on options Allows filtering distribution updates by install groups. Users can now configure installGroupsOverride in SentryOptions.DistributionOptions to restrict updates to specific install groups. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Distribution
🤖 This preview updates automatically when you update the PR. |
Contributor
Instructions and example for changelogPlease add an entry to Example: ## Unreleased
### Features
- Add installGroupsOverride parameter ([#5066](https://github.com/getsentry/sentry-java/pull/5066))If none of the above apply, you can opt out of this check by adding |
Contributor
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| fcec2f2 | 357.47 ms | 447.32 ms | 89.85 ms |
| ee747ae | 374.71 ms | 455.18 ms | 80.47 ms |
| 1564554 | 323.06 ms | 336.68 ms | 13.62 ms |
| 27d7cf8 | 369.82 ms | 422.62 ms | 52.80 ms |
| fcec2f2 | 314.96 ms | 373.66 ms | 58.70 ms |
| 951caf7 | 323.66 ms | 392.82 ms | 69.16 ms |
| abf451a | 332.82 ms | 403.67 ms | 70.85 ms |
| 674d437 | 355.28 ms | 504.18 ms | 148.90 ms |
| ee747ae | 554.98 ms | 611.50 ms | 56.52 ms |
| 2387c2c | 317.04 ms | 354.60 ms | 37.56 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| fcec2f2 | 1.58 MiB | 2.12 MiB | 551.50 KiB |
| ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
| 1564554 | 1.58 MiB | 2.20 MiB | 635.33 KiB |
| 27d7cf8 | 1.58 MiB | 2.12 MiB | 549.42 KiB |
| fcec2f2 | 1.58 MiB | 2.12 MiB | 551.50 KiB |
| 951caf7 | 1.58 MiB | 2.13 MiB | 558.77 KiB |
| abf451a | 1.58 MiB | 2.20 MiB | 635.29 KiB |
| 674d437 | 1.58 MiB | 2.10 MiB | 530.94 KiB |
| ee747ae | 1.58 MiB | 2.10 MiB | 530.95 KiB |
| 2387c2c | 1.58 MiB | 2.13 MiB | 559.54 KiB |
Adds support for reading installGroupsOverride from sentry-distribution.properties file at runtime. This allows the Gradle plugin to configure install groups that will be automatically loaded when the SDK initializes. The property supports comma-separated values: io.sentry.distribution.install-groups-override=internal,beta-testers,qa Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
markushi
approved these changes
Jan 30, 2026
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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
Adds support for overriding distribution install groups via
SentryOptions.DistributionOptionsor properties file configuration. The properties file configuration allows future configuration via the Sentry Android Gradle plugin.Fixes EME-806
Usage
Programmatic Configuration
Properties File Configuration
In your
sentry-debug-meta.propertiesfile:io.sentry.distribution.install-groups-override=internal,beta-testers🤖 Generated with Claude Code