J. Nick Koston
4e172a5774
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-23 10:48:53 -05:00
J. Nick Koston
e4a54b27ed
Merge branch 'esp8266-native-library-converter' into esp8266-native-shared-helpers
2026-08-23 10:48:53 -05:00
J. Nick Koston
7b3330d5fe
Merge branch 'esp8266-native-idedata-helpers' into esp8266-native-library-converter
2026-08-23 10:48:53 -05:00
J. Nick Koston
e681c441d9
Close the residual idedata and size-summary silent-failure findings
...
A list-of-non-dicts compile DB now raises by name inside the best-effort
tuple. The launcher rejection moved into parse_entry itself so no caller
can record ccache as the compiler, and the shape key includes the entry's
directory since relative includes resolve against it. format_bar raises
on a non-positive total so every consumer must handle the meaningless
bar; the espidf summary validates the RAM region by name (a malformed
region can no longer suppress a computable Flash line) and the blanket
backstop logs the traceback at debug. A new test pins that the CI
trigger paths exist on disk, so a rename fails loudly.
2026-08-23 10:48:39 -05:00
J. Nick Koston
8cbb83a06d
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-23 10:37:16 -05:00
J. Nick Koston
bac6530203
Merge branch 'esp8266-native-library-converter' into esp8266-native-shared-helpers
2026-08-23 10:37:14 -05:00
J. Nick Koston
355d4788b8
Assert lexed tokens, not raw flag strings
...
shlex.quote wraps backslash paths on Windows, so the raw emitted strings
are platform-varying; lexing like the consumer does pins the behavior
that matters and passes on both separators.
2026-08-23 10:37:11 -05:00
J. Nick Koston
b8dac2dc89
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-23 10:33:02 -05:00
J. Nick Koston
585d818e7a
Merge branch 'esp8266-native-library-converter' into esp8266-native-shared-helpers
2026-08-23 10:33:02 -05:00
J. Nick Koston
80b492f638
Quote emitted -I/-L paths so spaced directories survive re-lexing
...
lex_build_flags shlex-splits build.flags, so an unquoted spaced path
became two garbage tokens; shlex.quote at the emit site round-trips it
back to one.
2026-08-23 10:31:59 -05:00
J. Nick Koston
692bb2a810
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-23 10:16:07 -05:00
J. Nick Koston
4a874a374a
Merge branch 'esp8266-native-library-converter' into esp8266-native-shared-helpers
2026-08-23 10:16:06 -05:00
J. Nick Koston
54cd17591d
Type-check extraScript, capture CPPPATH, surface version-less dependency drops
...
A non-string extraScript now fails naming the library instead of an opaque
TypeError, matching the hardening on every other manifest field. CPPPATH
joins the captured keys and translates to -I flags anchored like LIBPATH,
since the pipeline already routes -I to include dirs. Version-less
dependency drops log at INFO until the arduino-backend reconciliation
lands, and the wave-deferral comment now claims only what the guard
actually saves.
2026-08-23 10:15:52 -05:00
J. Nick Koston
98b595c95d
Merge branch 'esp8266-native-idedata-helpers' into esp8266-native-library-converter
2026-08-23 10:13:22 -05:00
J. Nick Koston
e16cfded5d
Merge remote-tracking branch 'origin/dev' into esp8266-native-idedata-helpers
2026-08-23 10:12:45 -05:00
J. Nick Koston
746b294ed7
Harden idedata against non-list compile DBs and stale caches, blanket the size summary
...
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.
2026-08-23 10:12:40 -05:00
J. Nick Koston
cf31c08a5c
[core] Skip copying entity automation and filter sources when unused ( #18602 )
2026-08-23 09:05:04 -05:00
J. Nick Koston
33484108a9
[core] Replace a damaged existing file in write_file_if_changed ( #18665 )
2026-08-23 09:04:24 -05:00
J. Nick Koston
1b109518f7
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 23:21:06 -05:00
J. Nick Koston
5793a5f08a
Merge branch 'esp8266-native-library-converter' into esp8266-native-shared-helpers
2026-08-22 23:21:06 -05:00
J. Nick Koston
9d0d1b42d5
Merge branch 'esp8266-native-idedata-helpers' into esp8266-native-library-converter
2026-08-22 23:21:06 -05:00
J. Nick Koston
8230c16f12
Order the launcher strip before the empty guard, never dedupe rsp commands, harden the size summary
2026-08-22 23:21:04 -05:00
J. Nick Koston
905c806009
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 22:58:47 -05:00
J. Nick Koston
42f59f94c9
Merge branch 'esp8266-native-library-converter' into esp8266-native-shared-helpers
2026-08-22 22:58:47 -05:00
J. Nick Koston
35bb8388a2
Defer superseded wave downloads, dedupe tool dests, validate captured buckets, right-size the log levels
2026-08-22 22:58:44 -05:00
J. Nick Koston
6fda5b9a07
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 22:39:48 -05:00
J. Nick Koston
5ac6e2b3c6
Merge branch 'esp8266-native-library-converter' into esp8266-native-shared-helpers
2026-08-22 22:39:47 -05:00
J. Nick Koston
f6c6708f24
Merge branch 'esp8266-native-idedata-helpers' into esp8266-native-library-converter
2026-08-22 22:39:33 -05:00
J. Nick Koston
48c6948ae8
Guard empty compile commands, refuse a compile DB with no ESPHome TU, share the launcher rejection
2026-08-22 22:39:16 -05:00
J. Nick Koston
e9466ff738
Merge branch 'esp8266-native-library-converter' into esp8266-native-shared-helpers
2026-08-22 22:05:03 -05:00
J. Nick Koston
4d6300b400
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 22:05:03 -05:00
J. Nick Koston
030e79fa5a
Keep the empty-argument flag check next to the lexer that leaves the bare token
2026-08-22 22:04:47 -05:00
J. Nick Koston
a1e6370e8b
[core] Harden the shared library converter and download registry archives in parallel
2026-08-22 21:59:19 -05:00
J. Nick Koston
dada0f2c2b
[core] Extract the shared idedata and size-summary helpers into build_helpers
2026-08-22 21:58:41 -05:00
J. Nick Koston
a22c2a9768
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 21:41:27 -05:00
J. Nick Koston
18206967a1
Validate captured CPPDEFINES, warn on empty idedata includes, name the idedata consumers
2026-08-22 21:40:57 -05:00
J. Nick Koston
791e2b8204
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 21:27:39 -05:00
J. Nick Koston
d9e18ee982
Support subscript env reads in extra scripts; make the INFO-capture fixture real
2026-08-22 21:27:31 -05:00
J. Nick Koston
d26d3fdc33
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 21:24:06 -05:00
J. Nick Koston
227f5c67e2
Merge remote-tracking branch 'origin/dev' into esp8266-native-shared-helpers
...
# Conflicts:
# tests/unit_tests/test_main.py
2026-08-22 21:23:40 -05:00
J. Nick Koston
044d593f09
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 21:12:36 -05:00
J. Nick Koston
d6d80ee323
Consolidate the batch-download scaffold, share the idedata error set, dedupe compdb tokenizing
2026-08-22 21:12:20 -05:00
J. Nick Koston
74bdf275d2
[core] Dump the main.cpp config comment with sorted keys ( #18653 )
2026-08-22 20:58:28 -05:00
J. Nick Koston
c062d0c717
[ota] Log prepare, upload, and total OTA timing in espota2 ( #18582 )
2026-08-22 20:57:13 -05:00
J. Nick Koston
149ca8c954
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 20:01:31 -05:00
J. Nick Koston
2acba9b364
Materialize the tracker mock before the prefetch threads race its creation
2026-08-22 20:01:13 -05:00
J. Nick Koston
36b0b62a8f
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 19:55:33 -05:00
J. Nick Koston
f4bc7dda35
Fault the cache read directly so the unreadable-cache test holds on Windows
2026-08-22 19:55:16 -05:00
J. Nick Koston
cbbc0a8fa9
Merge branch 'esp8266-native-shared-helpers' into esp8266-native-build-surgery
2026-08-22 19:46:45 -05:00
J. Nick Koston
7d246893be
Surface prefetch failures, harden the idedata and build-info cache reads
2026-08-22 19:46:42 -05:00