Skip to content

Conversation

@runningcode
Copy link
Contributor

@runningcode runningcode commented Jan 30, 2026

Summary

Adds support for overriding distribution install groups via SentryOptions.DistributionOptions or properties file configuration. The properties file configuration allows future configuration via the Sentry Android Gradle plugin.

Fixes EME-806

Usage

Programmatic Configuration

SentryAndroid.init(this) { options ->
    options.distribution.apply {
        orgSlug = "my-org"
        projectSlug = "my-project"
        orgAuthToken = "token"
        buildConfiguration = "release"
        installGroupsOverride = listOf("internal", "beta-testers")
    }
}

Properties File Configuration

In your sentry-debug-meta.properties file:

io.sentry.distribution.install-groups-override=internal,beta-testers

🤖 Generated with Claude Code

…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>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Distribution

  • Add installGroupsOverride parameter by runningcode in #5066
  • Add install_groups support by runningcode in #5062

Other

  • (spotlight) Extract SpotlightIntegration to separate module by romtsn in #5064

Bug Fixes 🐛

  • Establish native exception mechanisms by supervacuus in #5052

Internal Changes 🔧

Deps

  • Bump urllib3 from 2.6.0 to 2.6.3 in the pip group across 1 directory by dependabot in #5003
  • Update Native SDK to v0.12.4 by github-actions in #5061
  • Bump getsentry/github-workflows/.github/workflows/updater.yml from 2 to 3 by dependabot in #4884
  • Bump actions/cache from 4 to 5 by dependabot in #4997
  • Bump github/codeql-action from 4.31.10 to 4.31.11 by dependabot in #5057
  • Bump getsentry/craft from 2.19.0 to 2.20.0 by dependabot in #5058

Other

  • (android) Update targetSdk to API 36 (Android 16) by markushi in #5016
  • (ci) Write permission for statuses in changelog preview by supervacuus in #5053
  • (samples) Convert main screen to Jetpack Compose by markushi in #5017

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

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

Generated by 🚫 dangerJS against e997d5a

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 338.37 ms 402.92 ms 64.54 ms
Size 1.58 MiB 2.19 MiB 619.41 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
27d7cf8 309.43 ms 364.27 ms 54.85 ms
f064536 335.52 ms 408.79 ms 73.27 ms
fc5ccaf 256.80 ms 322.36 ms 65.56 ms
e59e22a 368.02 ms 432.00 ms 63.98 ms
b750b96 408.98 ms 480.32 ms 71.34 ms
fcec2f2 328.91 ms 387.75 ms 58.84 ms
9139b91 351.35 ms 355.63 ms 4.28 ms
951caf7 323.66 ms 392.82 ms 69.16 ms
18c0bc2 306.73 ms 349.77 ms 43.03 ms
dba088c 365.46 ms 366.31 ms 0.85 ms

App size

Revision Plain With Sentry Diff
27d7cf8 1.58 MiB 2.12 MiB 549.42 KiB
f064536 1.58 MiB 2.20 MiB 633.90 KiB
fc5ccaf 1.58 MiB 2.13 MiB 557.54 KiB
e59e22a 1.58 MiB 2.20 MiB 635.34 KiB
b750b96 1.58 MiB 2.10 MiB 533.19 KiB
fcec2f2 1.58 MiB 2.12 MiB 551.50 KiB
9139b91 1.58 MiB 2.13 MiB 559.52 KiB
951caf7 1.58 MiB 2.13 MiB 558.77 KiB
18c0bc2 1.58 MiB 2.13 MiB 557.33 KiB
dba088c 1.58 MiB 2.13 MiB 558.99 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>
@linear
Copy link

linear bot commented Jan 30, 2026

Split the combined changelog entry to properly attribute the
installGroupsOverride parameter to this PR (#5066) and separate
it from the installGroups property added in PR #5062.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

3 participants