mirror of
https://github.com/esphome/esphome.git
synced 2026-10-10 05:23:07 +00:00
A compile DB that parses as valid JSON but is not a list now raises EsphomeError inside IDEDATA_BEST_EFFORT_ERRORS instead of a TypeError that fails an already-linked build. Cached idedata is validated on read against the write path's guarantees (dict shape, no launcher as compiler, include union present) so caches from older versions regenerate instead of serving degraded data, and the served copy is re-stamped with the current ELF path. Response-file shape sentinels key on the output object rather than the source file, so two objects built from one source keep both include sets. The size summary mirrors the standalone hardening PR: a blank partition size cell raises by name, and a blanket guard keeps unexpected nested shapes from raising past a build that already linked.