Device validation report (8/8)
All eight end-to-end release scenarios from #13 were executed against the reference NativeScript-Vue 3 + Mavis + Jolt app (fixtures/vue-mavis-app) talking to the local ota-ns serve fixture server on both iOS and physical Android release builds.
Test environments
| Platform | Target device & OS | NativeScript runtime | Build configuration | Fingerprint baseline |
|---|---|---|---|---|
| iOS | iOS 26.2 Simulator (4A11CCBC-C29A-4838-AB47-0A691A5798C5), Xcode 27.2 | @nativescript/ios 9.1.1, @nativescript/core 9.1.4 | Release --env.production (vuemavisapp.app), NS_SWIFTUI_BOOT = 1 | ios-rc-16579a18516cbe4c (build-artifacts: 244 plugin files, 3 metadata files, 39 ObjC registrations) |
| Android | Physical Xiaomi M2103K19PG (Redmi Note 10 5G), Android 16 (API 36) via USB adb reverse tcp:18787 | @nativescript/android 9.1.3, @nativescript/core 9.1.4 | Signed Release APK --env.production with R8 minifyEnabled true | android-rc-799a7959ff9a11bf (build-artifacts: 68 plugin files across Mavis + Jolt + Core, 3 .dat files, 94 normalized SBG bindings) |
Reference app coverage (fixtures/vue-mavis-app)
- UI & logic: Mavis UI diagnostics screen (
MCard,MText,MBadge,MButton,MRow,MColumn,MSeparator) + client-sidevalidateReleaseVoucher('OTA-V2-OK')changing fromFAIL (v1-embedded)toPASS (v2-ota)inota-vue-v2. - Assets & fonts:
~/assets/badge.png(16x16) and Mavis icon font~/fonts/lucide.ttf(970,712bytes) packed inside the 11-file OTA release (3,893,450bytes on iOS;3,769,202bytes on Android). - Dynamic chunk & worker:
import(/* webpackChunkName: "ota-vue-lazy" */ '../lazy/ota-vue-lazy')(lazy:embedded #101→lazy:ota-v2 #202) andnew Worker('./ota.worker')(worker:embedded→worker:ota-v2).
Scenario results (8/8 PASS on both platforms)
| # | Scenario | iOS 26.2 Release | Physical Android 16 (R8) | Recorded evidence |
|---|---|---|---|---|
| 1 | Offline cold boot on embedded bundle | PASS | PASS | source: "embedded", releaseId: null, validationRule: "v1-embedded", imageSize: "16x16", fontBytes: 970712, lazy:embedded, worker:embedded |
| 2 | Download & stage signed ota-vue-v2 | PASS | PASS | status: "staged", releaseId: "ota-vue-v2", stagedReleaseId: "ota-vue-v2" across 11 files |
| 3 | Offline cold restart activates ota-vue-v2 | PASS | PASS | source: "ota", releaseId: "ota-vue-v2", confirmedReleaseId: "ota-vue-v2" |
| 4 | Assets, font, chunk, worker & logic from OTA | PASS | PASS | validationOk: true (v2-ota), imageSize: "16x16", fontBytes: 970712, lazy:ota-v2 (#202), worker:ota-v2 |
| 5 | Reject bad directive sig, bad manifest sig, tampered file, wrong contract, wrong build | PASS | PASS | All 5 rejected with exact SIGNATURE_INVALID, SIGNATURE_INVALID, HASH_MISMATCH, RUNTIME_CONTRACT_MISMATCH, TARGET_BUILD_MISMATCH; active ota-vue-v2 kept untouched |
| 6 | Signed crash before markReady() + offline rollback | PASS | PASS | ota-vue-crash threw before markReady(); offline relaunch restored ota-vue-v2, recorded failedReleaseIds: ["ota-vue-crash"] and lastRecovery (attempts: 1) |
| 7 | Mid-download socket drop + clean retry | PASS | PASS | drop-mid-download failed with DOWNLOAD_FAILED keeping ota-vue-v2 active; retry succeeded with status: "staged" |
| 8 | In-place store binary upgrade (Build 2 over OTA Build 1) | PASS | PASS | Immediate source: "embedded", binaryBuild: "2", confirmedReleaseId: null, stagedReleaseId: null, obsolete releases/ cleaned up |
NativeScript 9.1 Vite 8 / Rolldown validation (fixtures/vite-app, #15, #16, #17)
The same eight release scenarios were executed on @nativescript/vite 8.0.24 (Vite 8.4.1 / Rolldown native ESM) with android.codeCache: true and content-addressed asset reuse enabled:
| Platform | Target & Build | Fingerprint baseline | #17 Reuse (ota-v2) | #16 Android V8 codeCache / Snapshot | Native ESM & Assets from OTA | Scenarios |
|---|---|---|---|---|---|---|
| iOS | iOS 26.2 Simulator Release (@nativescript/ios 9.1.1) | ios-rc-b33e2dbc087bfb5c (build-artifacts) | 5/7 files reused (2,407,282 B / 99.45% saved via APFS CoW; only 13,419 B downloaded) | N/A (v8SnapshotDetected: false) | ota-vite-lazy-C_yMXjFC.mjs, require-esm:vite-lazy:ota-v2, ns:util(format), vite-worker:ota-v2, 16x16 PNG, 970,712 B TTF | 8/8 PASS |
| Android | Physical Xiaomi M2103K19PG Android 16 / API 36, signed R8 APK (@nativescript/android 9.1.3) | android-rc-fd93f6a518dac292 (build-artifacts, android:v8CodeCache=enabled, android:v8Snapshot=disabled) | 6/8 files reused (2,319,114 B / 99.41% saved; only 13,755 B downloaded) | v8SnapshotDetected: false, isolated .cache verified (codeCacheFilesCount: 1 in both embedded/app and releases/ota-v2/app) | ota-vite-lazy-C_yMXjFC.mjs, require-esm:vite-lazy:ota-v2, ns:util(format), vite-worker:ota-v2, 16x16 PNG, 970,712 B TTF | 8/8 PASS |
Otto Console integration acceptance — December 3, 2026
This acceptance used an isolated Otto Node/SQLite server and a separate test app ID. It extends the earlier bundler matrix; it does not certify a public hosted deployment or repeat every earlier fault-injection case.
| Flow | Android physical device | iOS Simulator |
|---|---|---|
| Release binary connects and reports a persistent installation reference | Passed, signed R8 APK | Passed, Release app |
| CLI publishes signed release; SDK verifies, reuses files and stages it | Passed | Passed |
| Cold launch activates and confirms the OTA's JavaScript, asset, lazy module and worker changes | Passed | Passed |
Intentional crash before markReady() recovers the last confirmed release without the server | Passed | Passed |
| Reconnection reports the native recovery time and the same installation reference | Passed | Passed |
| New signed server rollback directive activates the embedded bundle on next launch | Passed | Passed |
Runtime versions: NativeScript Android 9.1.3, iOS 9.1.1, Core 9.1.4 and @nativescript/vite 8.0.24. Android ran on the physical Xiaomi M2103K19PG (Android 16); iOS ran in the iOS 26.2 Simulator. This is not physical iPhone acceptance.
The Console observed exactly two installation references and confirmed both good releases before rollback. Across four downloads (good and intentionally failing candidate on each platform), reports recorded 3,633,966 downloaded bytes and 5,838,632 reused bytes, with 17 reused files out of 28. Counts come from retained SDK reports, not a network billing meter. The recovery timestamps matched the native evidence even when the server was offline during recovery.
The matching service checks cover legacy migration, workspace authorization, quotas, native compatibility, out-of-order reports, observation limits, artifact protection/grace periods, stale cleanup plans, immutable purged IDs, distinct-installation protection thresholds, automatic pause and alerts-only modes, local mail queue delivery, deployment validation and online backup integrity. Browser checks covered 1440/390/320 px, Portuguese, reduced motion, recovery details and reversible storage controls. A locally built Docker container preserved its account, workspace and session after restart.
Still requires the configured hosting environment: DNS/HTTPS, real SMTP and inbox delivery, off-host backup scheduling, and production persistence/restore acceptance. The local outbox test sends no external email.
