Skip to content

perf: reuse native AAR and Gradle outputs across release APKs - #55

Merged
andre487 merged 1 commit into
mainfrom
perf/release-apk-reuse
Oct 2, 2026
Merged

andre487 merged 1 commit into
mainfrom
perf/release-apk-reuse

Conversation

@andre487

@andre487 andre487 commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Release assembly rebuilt the gomobile AAR for each ABI and again for universal, and cleaned Gradle outputs before every APK. Build the all-ABI AAR once and reuse it with the existing ABI filters, retaining intermediate Gradle outputs between variants. Version offsets, APK_VARIANT, binding flags and signing remain unchanged.

Local complete signed-release lane: 214.47 s → 177.11 s (17.4% shorter), one sequential pair with existing caches on macOS arm64; not a CI timing guarantee. All five APKs are byte-identical to baseline, including signatures; size change is zero. Verified ABI inventories, version codes, minSdk, ZIP entries and SHA-256. Both runs passed native tests and Android tests/lint/build; candidate JVM report has 169 passing tests. Bash syntax and diff checks pass.

Exact byte sizes, hashes, method and limitations are recorded in docs/reviews/release-build-2026-10-03.md. No APK was published or installed, and official F-Droid reproducibility was not rerun.

@andre487
andre487 enabled auto-merge (squash) October 2, 2026 22:04
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

APK artifacts

Built from commit 86a2c8d4 by CI run #190.
Artifacts expire after 14 days. Neither APK uses the MegaProxy release key.

@andre487
andre487 merged commit 5c23996 into main Oct 2, 2026
4 checks passed
@andre487
andre487 deleted the perf/release-apk-reuse branch October 2, 2026 22:11
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.

1 participant