Repository navigation
Conversation
…on gate Do not merge. Keeps all of watchface, results, and Compose, so the R8 regression gate fails on the app's R8 scores and DEX size, and on both libraries' shrinking.
🛡️ R8 Optimization & Shrinking Gate (
|
| Metric | Baseline | Current | Delta | Threshold | Status |
|---|---|---|---|---|---|
| Shrinking Score | 52.49% | 33.55% | -18.94% pts |
max -2.00% pts |
❌ FAIL |
| Optimization Score | 52.15% | 33.37% | -18.78% pts |
max -2.00% pts |
❌ FAIL |
| Obfuscation Score | 52.45% | 33.52% | -18.93% pts |
max -2.00% pts |
❌ FAIL |
| Uncompressed DEX Size | 17.99 MB | 26.18 MB | +8.20 MB (+45.6%) |
max +5.0% / +500KB |
❌ FAIL |
📚 Library Shrinking Percentage (Min Threshold: 90.0%)
- Libraries Analyzed: 12 (✅ 10 passed,
⚠️ 0 with package-wide keep rules, ❌ 2 failed)
❌ Library Shrinking Regressions
- Library
results-release.aarDEX shrinking is 77.77% (required >= 90.0%) - Library
watchface-release.aarDEX shrinking is 33.15% (required >= 90.0%)
… r8-modular-regression-demo
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.
Demo for #219. Do not merge.
Adds overly broad keep rules to two modules, so the R8 regression gate fails and posts its regression comment:
watchface/proguard-rules.pro:-keep class com.android.developers.androidify.watchface.** { *; }feature/results/consumer-rules.pro(new, wired up withconsumerProguardFiles):-keep class com.android.developers.androidify.results.** { *; }-keep class androidx.compose.** { *; }Expected result, from a local run:
watchface-release.aar(33.15%) andresults-release.aar(77.77%) fall below the 90% shrinking minimum.