You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prevent os-pilot user/release-keys OS OTAs from applying onto Nov 18 userdebug/test-keys pilot phones #2391
While checking OTA readiness on a Nov 18 pilot Pixel 10a (alpha_canonical_20261118_home, userdebug/test-keys) ahead of #2384 landing on main, we caught a cross-key OS OTA hazard worth flagging before the first green release-pixel.yml run publishes:
What happens today
Nov 18 userdebug/test-keys pilot phones ship with ai.eliza.systemupdater (v37) enabled (bool/os_update_enabled=true), polling os-pilot/alpha-os-update.json every 6 hours and trusting OTA signing certificate 66046a07... (already inside /system/etc/security/otacerts.zip).
PackageVerifier.verify() checks ota-type=AB, pre-device=stallion, post-build product=alpha_stallion_phone, post-timestamp > installed, post-security-patch-level >= current, and no ota-wipe/ota-downgrade, but it does not reject a user/release-keys OTA on a userdebug/test-keys handset.
.github/workflows/pixel-compute.yml:154 dispatches release-os-ota-publish.yml, which publishes the signed user/release-keys OS OTA to that same os-pilot/alpha-os-update.json manifest signed with the same OTA key (66046a07...).
Per docs/development.md:928-929, apps/app/aosp/pilot-system-update-enrollment.json (rotatePlatformOrAVBKeys: false, wipeData: false), and spec/release/os.md (rotate: false, wipe: false, downgrade: false), moving from userdebug/test-keys platform/APEX/AVB keys (c8a2e9bc...) to production user/release-keys keys (e76e132c...) requires a one-time cable flash onto the release-key baseline; applying a user/release-keys OTA over existing test-keys/data risks a cross-key /data signature mismatch or bootloop.
Suggested options (let us know which you want and we can open the PR)
Separate production OS OTA tag/channel (safest): Keep os-pilot strictly for preserving test-keys OTAs and publish user/release-keys OS OTAs from release-pixel.yml to a dedicated channel tag (for example os-stable / os-prod) that only production-flashed handsets poll.
Channel guard in release-os-ota-publish.yml + PackageVerifier: Reject publishing a release-keys payload to os-pilot unless explicitly intended for a separate channel, and add a release-keys vs test-keys build-tag compatibility check in PackageVerifier.verify() for future OS images.
Short-term operator note for existing Nov 18 pilot units: Disable ai.eliza.systemupdater (pm disable-user --user 0 ai.eliza.systemupdater) on any active userdebug/test-keys pilot phone until ready to cable-flash the production user/release-keys image (wireless launcher OTA via ai.alphacompute.alphaphone stays fully active).
Activity