J. Nick Koston
19bd6ab1a0
Log the not applicable fallback at info
...
Orchestrators pass the flag without seeing YAML toolchain overrides;
the expected no-op should not put a warning in every job log. The
macro drift fallback keeps its warning, since there the user asked for
something the tree could normally do.
2026-09-30 09:48:32 +02:00
J. Nick Koston
7a68afb296
Cover the absent stale dir branch in the flip cleanup
2026-09-30 09:35:28 +02:00
J. Nick Koston
0c0352738e
Reset the skip memo per checked tree
...
The guard can check several trees in one run; a leftover memoized
decision would reconfigure the next tree into the wrong mode.
2026-09-30 09:27:10 +02:00
J. Nick Koston
7140a6c6d2
Use get_port_type for the serial rejection
...
Prefix matching missed serial paths outside /dev; the shared
classifier already knows every shape.
2026-09-30 09:06:07 +02:00
J. Nick Koston
2bb0ed6479
Cover both sides of the new mode branches
2026-09-30 08:56:19 +02:00
J. Nick Koston
089b71d0c2
Memoize the skip decision, gate the serial rejection, fix a stale comment
...
The macro drift warning now prints once per run; the serial --device
rejection only applies where the flag does, so other platforms keep
their ignore and warn behavior; the added lines comment points at
idf_macro_matches instead of a removed module.
2026-09-30 08:50:29 +02:00
J. Nick Koston
f4f303a589
Warn instead of failing when --skip-bootloader does not apply
...
An orchestrator like the Device Builder cannot see a YAML toolchain
override; a full build is always a safe outcome, so the flag is
ignored with a warning rather than failing the compile.
2026-09-30 08:43:54 +02:00
J. Nick Koston
392d6a414c
Move cleanup to the mode flip, hint from the backend, drop cache leftovers
...
The stale artifact cleanup now runs where the mode changes, in
run_reconfigure, so a failed build after a flip cannot leave a skip
tree with full mode leftovers. Upload error hints come from the native
backend's missing_image_hint instead of platform checks in the CLI, and
idf_macro_matches takes the IDF path instead of importing the toolchain
back. The flag now errors on unsupported platforms and on a serial
--device before compiling, and the macro drift fallback warns instead
of logging at info. Also drops leftovers from the removed cache: the
parse_sdkconfig helper, the _idf_target wrapper and two stale comments.
2026-09-30 08:39:44 +02:00
J. Nick Koston
3216c36780
Add --skip-bootloader for OTA only builds
...
A plain OTA update never flashes the bootloader, so a caller that knows
the build will only ever go out over OTA can skip building it and the
factory image entirely. A stale factory image is removed so downloads
cannot serve one whose app is older than the OTA binary, and a serial
flash or OTA --bootloader on such a tree explains what to do instead of
failing on a missing file.
2026-09-30 08:24:31 +02:00
J. Nick Koston
062570de50
Rename the bootloader switch to ESPHOME_SKIP_BOOTLOADER
...
The define no longer selects a cache; it says this tree does not build
a bootloader at all.
2026-09-30 08:09:17 +02:00
J. Nick Koston
9e1a3a02c3
Remove the bootloader cache
...
A plain OTA update never delivers the bootloader; the device keeps the
one it has, so caching what we build for it was solving the wrong
problem. The disable machinery (the CMake macro override, its drift
tripwire and the bt idf_target fix) stays; the next commits turn it
into an explicit skip switch for builds that will only ever flash over
OTA.
2026-09-30 08:08:25 +02:00
J. Nick Koston
e9b4105c59
Merge remote-tracking branch 'origin/dev' into espidf-skip-bootloader
2026-09-30 04:49:15 +02:00
J. Nick Koston
f096b56c64
Bypass the cache when the resolved config enables secure options the snapshot cannot see
2026-09-30 04:17:41 +02:00
J. Nick Koston
daf693c3c9
Fail the parity guard when the cached path never ran, and rebuild parity from a clean sub-build
2026-09-30 04:14:16 +02:00
J. Nick Koston
19e3565c42
Trim the hooks docstring and fix the added-lines count in a comment
2026-09-30 04:05:51 +02:00
J. Nick Koston
85fc70186f
Record bootloader hooks from the configured build, make config name sets immutable, never delete an entry on a transient read error
2026-09-30 03:59:04 +02:00
cd0a0f3fca
[zigbee] Add cluster: device_class to expose ESP32 sensors via measurement clusters instead of Analog/Binary Input ( #17388 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-09-29 21:48:08 -04:00
J. Nick Koston
23afdc1d9b
[bme680] Use the sub_* helpers for optional child entities ( #19917 )
2026-09-29 21:32:45 -04:00
J. Nick Koston
ef4d06e0ea
[ld6002b] Use the sub_* helpers for optional child entities ( #19918 )
2026-09-29 21:32:13 -04:00
J. Nick Koston
83d689d944
[xiaomi_hhccjcy10] Use the sub_* helpers for optional child entities ( #19919 )
2026-09-29 21:32:02 -04:00
J. Nick Koston
203a7f70a3
[emc2101] Use the sub_* helpers for optional child entities ( #19920 )
2026-09-29 21:31:50 -04:00
J. Nick Koston
7d904b6330
[ens160_base] Use the sub_* helpers for optional child entities ( #19921 )
2026-09-29 21:31:39 -04:00
J. Nick Koston
53d67aec68
Fail safe the hook scan and size check, key env flags, bypass custom IDF sources, add missing annotations
2026-09-30 03:30:29 +02:00
J. Nick Koston
d519e1bbd8
Update stale comment: the override adds two lines now
2026-09-30 02:56:05 +02:00
Jesse Hills
ac1190094a
[ethernet] Add KSZ8851SNL SPI ethernet support ( #19883 )
2026-09-30 13:48:10 +13:00
J. Nick Koston
13b75006ea
[espidf] Keep the idf_target variable IDF's bt component reads by accident
2026-09-30 02:36:16 +02:00
J. Nick Koston
ed88002c37
[core] Extract native toolchain package archives in parallel ( #18840 )
2026-09-30 02:23:05 +02:00
J. Nick Koston
dcfa8fb675
[espidf] Recheck managed bootloader hooks after configure downloads them
2026-09-30 01:26:37 +02:00
Keith Burzinski and Claude Fable 5.1
ef0819f983
[nfc] Hold NDEF records in a fixed-size list ( #19912 )
...
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
2026-09-30 01:12:55 +02:00
J. Nick Koston
94b6d3e19c
[espidf] Bypass on managed bootloader hooks and announce a skipped parity check
2026-09-30 01:08:03 +02:00
J. Nick Koston
e08b546035
[espidf] Prove the masked-error test by exception type for Windows
2026-09-30 00:56:06 +02:00
J. Nick Koston
e7243c3dc8
[espidf] Isolate prune races and fail the parity check closed
2026-09-30 00:25:24 +02:00
J. Nick Koston
7a12b36168
[espidf] Assert the masked-error test via the exception filename for Windows
2026-09-30 00:21:23 +02:00
J. Nick Koston
7187acec04
[core] Add a line based yaml editor and use it for rename ( #19410 )
2026-09-30 11:15:14 +13:00
J. Nick Koston
7a1b393347
[espidf] Keep the name union monotonic and the original publish error
2026-09-30 00:13:58 +02:00
J. Nick Koston
25ddc94d5d
[web_server_idf] Build state documents in a stack arena so a state event does no heap allocation ( #19383 )
2026-09-30 11:10:40 +13:00
J. Nick Koston
5502f620d4
[web_server_idf] Send events straight from the caller's buffers instead of a std::string ( #19376 )
2026-09-30 11:10:40 +13:00
J. Nick Koston
429cb0c469
[espidf] Prove cached equals in-tree in CI and trim round five findings
2026-09-29 23:55:55 +02:00
J. Nick Koston
6482ce4b07
[espidf] Trace entry reuse in publish
2026-09-29 23:50:08 +02:00
J. Nick Koston
d4bc6066c9
[espidf] Trace failed best-effort deletes
2026-09-29 23:32:30 +02:00
J. Nick Koston
e77ae52d00
[espidf] Warn with the expected path when the build yields no sdkconfig
2026-09-29 23:30:31 +02:00
guillempages and J. Nick Koston
99c7f9e625
[runtime_image] Improve format logs ( #19903 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-09-29 23:28:28 +02:00
J. Nick Koston
efaaaa90ef
[espidf] Name the missing configure output when the cache is unusable
2026-09-29 23:21:19 +02:00
Clyde Stubbs
35d41adf86
[lvgl] Animation updates and debug borders option ( #19420 )
2026-09-30 07:20:13 +10:00
Keith Burzinski and Claude Fable 5.1
662c7db222
[nfc] Pass tags to triggers by reference and keep the listener list in static storage ( #19902 )
...
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
2026-09-29 15:00:23 -05:00
J. Nick Koston
e335c9abd8
[espidf] Verify a cache hit against the published bin sha
2026-09-29 21:59:39 +02:00
dependabot[bot]
6b465443bc
Bump filelock from 4.0.3 to 4.0.4 ( #19905 )
2026-09-29 21:48:38 +02:00
dependabot[bot]
fc270cb90f
Bump platformdirs from 4.11.14 to 4.12.0 ( #19904 )
2026-09-29 21:48:15 +02:00
J. Nick Koston
573aa7cbd1
[espidf] Log lasting cache fallback reasons at info
2026-09-29 21:46:41 +02:00
J. Nick Koston
46be513a39
[core] Create the PlatformIO HTTP cache dir before the first registry lookup ( #19906 )
2026-09-29 19:34:38 +00:00