From c19da51aff667e9dd529df1ae2b9ceea6e06e8a0 Mon Sep 17 00:00:00 2001 From: jtrzupek Date: Sun, 31 May 2026 10:59:07 +0200 Subject: [PATCH] fix(ota): publish under runtimeVersion 0.1.9 to match installed APK MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ROOT CAUSE wszystkich "znikajacych" OTA (2026-05-29..30, ~6 publishow w prozni): zainstalowany APK ma EXPO_RUNTIME_VERSION=0.1.9 (AndroidManifest), ale app.json mialo runtimeVersion "1.0" i publish_update.py defaultowal --runtime 1.0. Updaty ladowaly w /expo-updates/1.0/, a app z headerem expo-runtime-version:0.1.9 dostawal HTTP 204 (no update) i nigdy nic nie aplikowal mimo "OK live". Fix: - app.json runtimeVersion "1.0" -> "0.1.9" (== APK) - publish_update.py RUNTIME_DEFAULT "1.0" -> "0.1.9" - Republished caly skumulowany bundle pod 0.1.9 (ce275235) — zweryfikowane: manifest dla expo-runtime-version:0.1.9 zwraca 200 + runtimeVersion:0.1.9 + bundle 4.76MB serwuje 200. Stary /expo-updates/1.0/ (~40 nieaplikowanych updateow) do usuniecia osobno. Co-Authored-By: Claude Opus 4.8 (1M context) --- mobile/app.json | 2 +- scripts/publish_update.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/app.json b/mobile/app.json index ccc0189..79815a4 100644 --- a/mobile/app.json +++ b/mobile/app.json @@ -6,7 +6,7 @@ "orientation": "portrait", "userInterfaceStyle": "automatic", "newArchEnabled": false, - "runtimeVersion": "1.0", + "runtimeVersion": "0.1.9", "updates": { "enabled": true, "url": "https://api.goon-foss.org/expo-updates/manifest", diff --git a/scripts/publish_update.py b/scripts/publish_update.py index 8e47048..d371406 100644 --- a/scripts/publish_update.py +++ b/scripts/publish_update.py @@ -29,7 +29,7 @@ from pathlib import Path ROOT = Path(__file__).resolve().parent.parent MOBILE = ROOT / "mobile" DIST = MOBILE / "dist" -RUNTIME_DEFAULT = "1.0" +RUNTIME_DEFAULT = "0.1.9" # MUSI == EXPO_RUNTIME_VERSION w APK (AndroidManifest). Zweryfikowane 2026-05-31. # Operator config — set in your shell / .env.local before running this script. # Defaults are placeholders intended to fail loudly if you forgot to configure. VPS = os.environ.get("GOON_VPS_SSH", "root@your-vps.example.com")