Relatório de validação em devices (8/8)
Todos os oito cenários de #13 foram executados no app de referência NativeScript-Vue 3 + Mavis + Jolt (fixtures/vue-mavis-app) contra o servidor local ota-ns serve em builds release reais de iOS e Android físico.
Ambientes testados
| Plataforma | Dispositivo e SO | Runtime NativeScript | Build | Baseline de fingerprint |
|---|---|---|---|---|
| iOS | Simulador iOS 26.2 (4A11CCBC-C29A-4838-AB47-0A691A5798C5), Xcode 27.2 | @nativescript/ios 9.1.1, @nativescript/core 9.1.4 | Release --env.production (NS_SWIFTUI_BOOT = 1) | ios-rc-16579a18516cbe4c (build-artifacts: 244 arquivos de plugin, 3 metadados, 39 registros ObjC) |
| Android | Xiaomi físico 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 | APK Release assinado com R8 minifyEnabled true | android-rc-799a7959ff9a11bf (build-artifacts: 68 arquivos de plugin Mavis + Jolt + Core, 3 .dat, 94 bindings SBG normalizados) |
Resultado dos 8 cenários (8/8 PASS em ambas as plataformas)
| # | Cenário | iOS 26.2 Release | Android 16 Físico (R8) | Evidência registrada |
|---|---|---|---|---|
| 1 | Cold boot offline no bundle embarcado | PASS | PASS | source: "embedded", v1-embedded, 16x16, lucide.ttf (970.712 B), lazy:embedded, worker:embedded |
| 2 | Download e staging assinado (ota-vue-v2) | PASS | PASS | status: "staged", releaseId: "ota-vue-v2" (11 arquivos) |
| 3 | Cold restart offline ativa ota-vue-v2 | PASS | PASS | source: "ota", releaseId: "ota-vue-v2", confirmedReleaseId: "ota-vue-v2" |
| 4 | Assets, fonte, chunk, worker e lógica na OTA | PASS | PASS | validationOk: true (v2-ota), 16x16, 970712 B, lazy:ota-v2 (#202), worker:ota-v2 |
| 5 | Rejeição de 5 falhas mantendo bundle ativo | PASS | PASS | SIGNATURE_INVALID (diretiva & manifesto), HASH_MISMATCH, RUNTIME_CONTRACT_MISMATCH, TARGET_BUILD_MISMATCH |
| 6 | Crash antes de markReady() + rollback offline | PASS | PASS | ota-vue-crash lançou exceção; reabertura offline voltou a ota-vue-v2 com failedReleaseIds: ["ota-vue-crash"] e lastRecovery |
| 7 | Queda no meio do download + retry limpo | PASS | PASS | DOWNLOAD_FAILED sem afetar ota-vue-v2; retry seguinte fez staging OK |
| 8 | Upgrade in-place de binário da loja (Build 2) | PASS | PASS | source: "embedded", binaryBuild: "2", ponteiros zerados e releases/ antigas removidas |