The cheap check jobs as WASM, so the phone, Windows and browser runners can take them issue #96 closed: completed andymccall opened this · 0 comments
andymccall set labels feature ·
closed by change 5544c8998aa7 ·
andymccall referenced by change e4260689c506 on main ·
andymccall referenced by change 48ed8a1db369 on main ·
Make the cheap check jobs WASM, so the phone, plex, windows-1 and later browser runners can take them.
The jobs: OxygenFlow's
layout,todos,sizeandsummaryrun as shell scripts in an Alpine microVM. Each could be a small Rust program built for wasm32-wasip1 that reads/srcand writes the same output. The same goes for other repositories' light checks, such as changelog-check.What it buys:
What it doesn't: this won't dent the queue. These jobs are already cheap; the queue is Rust compiles in Linux images. The point is putting the WASM tier and those runners to real use, not throughput.
Why the phone stays WASM-only: since Android 10 an app can't run a binary it downloaded (W^X): only binaries shipped inside the APK may run. A native or host tier on the phone would mean proot, which is slow and no security boundary, or an old target SDK, which isn't a basis for a runner.