Skip to content

chore(android): rebuild the runtime - #2429

Merged
houko merged 1 commit into
mainfrom
bot/android-runtime
Nov 26, 2026
Merged

houko merged 1 commit into
mainfrom
bot/android-runtime

Conversation

@houko

@houko houko commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Rebuilds classes.dex and classes.jar from main's Java at 0c6816f with internal/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-runtime artifact that run built on the runner from 0c6816f.

Tests

  • release.yml compares them with a rebuild on the runner.

Screenshots: none

@houko
houko enabled auto-merge (rebase) November 26, 2026 01:48
@houko
houko merged commit b182a47 into main Nov 26, 2026
32 checks passed
@houko
houko deleted the bot/android-runtime branch November 26, 2026 02:00
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant