ReviewOS

also looking at this

craft-native/craft

fix(native): preserve workspace sources and native overlay lifecycle

#384
Merged chris wants to merge codex/windows-zig-cache-diagnostics into main
20 files +500 -227
packages/android/README.mdmodified+13-2
Changes to packages/android/README.md
@@ -90,6 +90,7 @@ const device = await createAndroidEmulator({
9090 avdmanager: '/ci/pantry/.bin/avdmanager',
9191 image: 'system-images;android-35;google_apis_playstore;x86_64',
9292 acceleration: 'software',
93 memoryMb: 4096,
9394 artifactsDirectory: '/ci/artifacts/android',
9495 acceptLicenses: true,
9596})
@@ -106,13 +107,23 @@ the Android emulator's explicit `-accel off` mode on x86_64 hosts; it provides
106107functional test evidence, with no claim about hardware performance. The public
107108helper defaults to a ten-minute boot budget, and hardware mode cannot exceed
108109it. Software callers may explicitly set `bootTimeoutMs` up to twenty minutes.
110`memoryMb` selects the requested guest RAM, defaulting to 2048 MB. It accepts
111the emulator's documented [1536–8192 MB range](https://developer.android.com/studio/run/emulator-commandline#startup-options).
112`virtualCpus` selects the guest CPU count, defaulting to 2 and accepting values
113from 1 through 8. The stock Play software verifier requests four guest CPUs:
114the four-thread Intel runners used for this acceptance profile otherwise starve
115SystemUI during TCG startup and surface a real platform ANR.
116The stock Play software verifier requests 4096 MB after retained cold boots
117showed low-memory/process-death churn and a SystemUI ANR. It keeps the same
118image, readiness checks and twenty-minute deadline.
109119The stock Play software CI verifier uses that cold-provisioning profile: the
110120API 35 image took 943,520 ms in the retained diagnostic run
111121[39113277828](https://github.com/craft-native/craft/actions/runs/39113277828).
112122This is OS provisioning before app installation; app and performance budgets
113are unchanged. Both modes require a readable event-log stream, SettingsProvider,
123are unchanged. Both modes require a complete event-history read, SettingsProvider,
114124the package manager and System UI to be ready, with HOME resolved beyond the
115automatic Android SDK setup activity. Logs record the budget, actual
125automatic Android SDK setup activity and its launcher package owning the current
126input-focus window. Logs record the budget, actual
116127boot duration, host CPU interval, selected image, acceleration
117128probe, process identity and boot result. Disposal reaps only the owned process
118129and deletes only its disposable AVD; the managed SDK and other devices remain