Skip to content
THE OTA MANUALOperations & release
Verifiedv0.1.0 ↗

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 ​

PlatformTarget device & OSNativeScript runtimeBuild configurationFingerprint baseline
iOSiOS 26.2 Simulator (4A11CCBC-C29A-4838-AB47-0A691A5798C5), Xcode 27.2@nativescript/ios 9.1.1, @nativescript/core 9.1.4Release --env.production (vuemavisapp.app), NS_SWIFTUI_BOOT = 1ios-rc-16579a18516cbe4c (build-artifacts: 244 plugin files, 3 metadata files, 39 ObjC registrations)
AndroidPhysical 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.4Signed Release APK --env.production with R8 minifyEnabled trueandroid-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-side validateReleaseVoucher('OTA-V2-OK') changing from FAIL (v1-embedded) to PASS (v2-ota) in ota-vue-v2.
  • Assets & fonts: ~/assets/badge.png (16x16) and Mavis icon font ~/fonts/lucide.ttf (970,712 bytes) packed inside the 11-file OTA release (3,893,450 bytes on iOS; 3,769,202 bytes on Android).
  • Dynamic chunk & worker: import(/* webpackChunkName: "ota-vue-lazy" */ '../lazy/ota-vue-lazy') (lazy:embedded #101 → lazy:ota-v2 #202) and new Worker('./ota.worker') (worker:embedded → worker:ota-v2).

Scenario results (8/8 PASS on both platforms) ​

#ScenarioiOS 26.2 ReleasePhysical Android 16 (R8)Recorded evidence
1Offline cold boot on embedded bundlePASSPASSsource: "embedded", releaseId: null, validationRule: "v1-embedded", imageSize: "16x16", fontBytes: 970712, lazy:embedded, worker:embedded
2Download & stage signed ota-vue-v2PASSPASSstatus: "staged", releaseId: "ota-vue-v2", stagedReleaseId: "ota-vue-v2" across 11 files
3Offline cold restart activates ota-vue-v2PASSPASSsource: "ota", releaseId: "ota-vue-v2", confirmedReleaseId: "ota-vue-v2"
4Assets, font, chunk, worker & logic from OTAPASSPASSvalidationOk: true (v2-ota), imageSize: "16x16", fontBytes: 970712, lazy:ota-v2 (#202), worker:ota-v2
5Reject bad directive sig, bad manifest sig, tampered file, wrong contract, wrong buildPASSPASSAll 5 rejected with exact SIGNATURE_INVALID, SIGNATURE_INVALID, HASH_MISMATCH, RUNTIME_CONTRACT_MISMATCH, TARGET_BUILD_MISMATCH; active ota-vue-v2 kept untouched
6Signed crash before markReady() + offline rollbackPASSPASSota-vue-crash threw before markReady(); offline relaunch restored ota-vue-v2, recorded failedReleaseIds: ["ota-vue-crash"] and lastRecovery (attempts: 1)
7Mid-download socket drop + clean retryPASSPASSdrop-mid-download failed with DOWNLOAD_FAILED keeping ota-vue-v2 active; retry succeeded with status: "staged"
8In-place store binary upgrade (Build 2 over OTA Build 1)PASSPASSImmediate 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:

PlatformTarget & BuildFingerprint baseline#17 Reuse (ota-v2)#16 Android V8 codeCache / SnapshotNative ESM & Assets from OTAScenarios
iOSiOS 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 TTF8/8 PASS
AndroidPhysical 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 TTF8/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.

FlowAndroid physical deviceiOS Simulator
Release binary connects and reports a persistent installation referencePassed, signed R8 APKPassed, Release app
CLI publishes signed release; SDK verifies, reuses files and stages itPassedPassed
Cold launch activates and confirms the OTA's JavaScript, asset, lazy module and worker changesPassedPassed
Intentional crash before markReady() recovers the last confirmed release without the serverPassedPassed
Reconnection reports the native recovery time and the same installation referencePassedPassed
New signed server rollback directive activates the embedded bundle on next launchPassedPassed

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.