Repository navigation
ci(android): Run the Android lanes on API 36 - #25669
Conversation
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 241194 found UI Test snapshots differences: Details
|
|
|
f08a8d4 to
156f1df
Compare
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 241416 found UI Test snapshots differences: Details
|
156f1df to
257cb7d
Compare
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 241478 found UI Test snapshots differences: Details
|
|
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 241671 found UI Test snapshots differences: Details
|
|
|
Revision 5 of the API 36 emulator image shipped a guest Vulkan driver that faults on writes once more than ~16 MB of host-visible memory is allocated (unoplatform#25655); revision 7, now the published one for both the google_apis and google_apis_playstore images, fixes it. The lane takes its API level as a parameter and runs on 36; sdkmanager --install upgrades an older revision already on the agent, and the run logs the revision it installed. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A gradient fill takes its edges from the bitmap's bounds clip, so it showed the same soft edge as a clipped shape at a scaled render; on a 2.75 Android display Border_LinearGradient failed on it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
257cb7d to
aa11d85
Compare
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 242235 found UI Test snapshots differences: Details
|
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
Xiaoy312
left a comment
There was a problem hiding this comment.
Approving: the API 36 lane and the gradient-edge test both look good.
Validation from build 242235 (merge sha cab89f3e46):
- The new test passed on all 13 Uno lanes, including Android WebGPU on API 36 and the Windows/macOS/Linux/WASM/iOS WebGPU lanes. It's Inconclusive on WinUI (inline note).
- The CI log shows
Pkg.Revision=7for the API 36 image. - The API 36 WebGPU shards needed 1–3 attempts, while master's API 34 lane needed 2–4 per shard over its last 6 builds. So API 36 is no flakier.
One thing to fix before merging: the title and description still describe the two changes that landed with #25664. Since we merge with merge commits, the title ends up in master's history. Something like ci(android): Run the WebGPU lane on API 36 would match the diff. In the description, these parts are out of date: the fix bullet under "WebGPU at fractional scale", the "Gated WebGPU lanes never ran on pull requests" section, "Merge after #25714 and #25664" (both are merged), and the "Bugfix" PR type.
|
The build 242315 found UI Test snapshots differences: Details
|
Both Android lanes now run the same API level, so a failure on only one of them points at the renderer. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
An older image's Vulkan driver crashes the app partway through the run (unoplatform#25655); failing at setup says why. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Its RenderTargetBitmap guard named the Uno.UI assembly, so it was false on WinUI and the test never checked parity there. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Thanks @Xiaoy312. Title and description now match the diff: |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 242337 found UI Test snapshots differences: Details
|
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
GitHub Issue: relates to #25655
This doesn't close the issue: the crash comes from the Android 16 emulator image itself, not from Uno or wgpu (see the issue for the standalone repro).
PR Type:
🏗️ Build or CI related changes
What changed? 🚀
The Android runtime-test lanes ran on an API 34 emulator. Both now run on API 36, the current Android release.
.azure-devops-tests-android.ymltakes anapiLevelparameter, defaulting to 36. The Skia and WebGPU lanes use the default, so they differ only by renderer, and a failure on one of them points at the renderer.android-run-skia-runtime-tests.shlogs the installed system image's revision and fails the setup step when the API 36 image is older than revision 7, instead of crashing partway through the run.Given_Border.When_Gradient_Rendered_At_Twice_The_Scale_Then_Edges_Stay_Opaquecovers a gradient's edges rendered at 2x. It was written for the WebGPU clip-edge fix that landed with ci(ios): Add an iOS WebGPU runtime test lane #25664. ItsRenderTargetBitmapguard named theUno.UIassembly, so it was false on WinUI and the test was Inconclusive there; the guard is removed, since every target supportsRenderTargetBitmap.The NativeAOT Android lane (
.azure-devops-tests-android-nativeaot.yml) is unchanged and stays on API 34.#25655 and image revisions: revision 5 of the API 36 image shipped a guest Vulkan driver that faults when the app writes to mapped memory once more than about 16 MB of host-visible memory is allocated. wgpu crosses that within seconds and crashes in
wgpuQueueWriteBuffer; Skia crashes the same way.google_apisandgoogle_apis_playstore(the one CI installs), fixes it.sdkmanager --installupgrades an already-installed older revision to 7, so an agent with revision 5 cached still gets the fix, and the new check fails the setup step if one ever doesn't.Validation
Pkg.Revision=7. The API 36 WebGPU shards needed 1–3 attempts, against 2–4 for master's API 34 lane over its last 6 builds.source.propertiesfail with the error, and other API levels aren't checked.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code