Universal Tuya docsHomeSupported devicesRequest a deviceFAQChangelogArchitectureKnowledge baseCreditsSourcesContributing

Peter forum #2259 — diag c05db40d (OOM / app.json)

Post: community 140352/#2259 (2026-10-06) — “the app crashes again”, code [id removed]. Gmail fetch: empty body (hitCount: 0); classification from code archaeology + prior tip-lag notes.

Root cause (already fixed on Universal ≥ 9.0.1330)

Runtime must never require('app.json') — the manifest is multi‑MB and stays in the Node require cache → heap OOM / app crash (Peter Homey Pro).

GuardWhere
Head-read version (4 KB + regex)lib/utils/AppVersion.js
Prefer homey.manifest.versionlib/wifi/WifiFixIt.js
CI locktest/no-runtime-app-json-require.test.js

User action

Update Homey Test to tip ≥ 9.0.1433, then restart the app. No Athom mail. If a new crash appears, send a fresh diagnostic after the update.

← Knowledge base index · source