Repository navigation
chore(android): rebuild the runtime - #2429
Merged
Merged
Conversation
houko
enabled auto-merge (rebase)
November 26, 2026 01:48
Closed
4 tasks
houko
added a commit
that referenced
this pull request
Nov 26, 2026
`go run ./tools/changelog release X.Y.Z` now refreshes a stale classes.dex and classes.jar before cutting the changelog, so the release's pull request carries the runtime release.yml checks and nobody has to remember a bot/android-runtime pull request first (#2376, #2429). - The runtime is stale when a commit after the newest one that changed classes.dex or classes.jar touches internal/platform/android/java or build.sh, play_review.py or play-review.pro. Comparing the files needs a rebuild, and so a JDK and the Android SDK; history needs only git. release.yml's exact comparison stays as the guard. - When stale, it requires HEAD to be main's tip on GitHub, dispatches the new android-runtime.yml on main with gh, takes the first run newer than every run listed before the dispatch and built at that tip, waits for it, downloads its android-runtime artifact and replaces the files after checking both are there and are a dex and a zip. A missing gh, a failed or missing run or a HEAD behind main is an error naming the manual path; -no-runtime skips the step. - android-runtime.yml is workflow_dispatch only, on Depot, with read-only contents and a three-day artifact. It builds with .github/scripts/build-android-runtime.sh, which test.yml's android job and release.yml's check now share instead of each installing the SDK packages themselves. - quality.yml accepts the binaries from chore/release-* branches as well as bot/android-runtime, and AGENTS.md, build.sh, runtime.go, changelog.d/README.md and both contributing guides describe the flow. Fixes #2432
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.
Rebuilds
classes.dexandclasses.jarfrom main's Java at 0c6816f withinternal/platform/android/runtime/build.sh(JDK 21, platform 36), so the 0.3.4 release passes release.yml's runtime check.The Java changed since the last rebuild in #2308 (background video in embedded views), #2323 (overflow touch routing) and #2415/#2421 (zoom scroll). Release run 45736534125 stopped at "Stale Android runtime" before tagging, so v0.3.4 is still unused.
The files are the
android-runtimeartifact that run built on the runner from 0c6816f.Tests
Screenshots: none