J. Nick Koston
3ca65ffb0d
Cover the file-like backoff tick, settle the batch worker return shape
2026-08-24 12:32:38 -05:00
J. Nick Koston
29c290166b
Apply simplify pass: flatten the batch worker, drop a dead guard, skip the unread backoff probe
2026-08-24 12:20:14 -05:00
J. Nick Koston
d348284d9e
Hoist the manifest shape gate into a helper
2026-08-24 12:17:05 -05:00
J. Nick Koston
d418472a8f
Merge remote-tracking branch 'origin/dev' into esp8266-native-library-converter
...
# Conflicts:
# esphome/platformio/library.py
# tests/unit_tests/test_platformio_library.py
2026-08-23 22:25:22 -05:00
J. Nick Koston
5f6a910e2d
[core] Harden the shared library converter ( #18685 )
2026-08-23 22:24:12 -05:00
J. Nick Koston
5479752da6
Merge branch 'esp8266-native-converter-hardening' into esp8266-native-library-converter
2026-08-23 22:02:12 -05:00
J. Nick Koston
b0e4711cc3
Merge remote-tracking branch 'origin/esp8266-native-converter-hardening' into esp8266-native-converter-hardening
2026-08-23 22:01:59 -05:00
J. Nick Koston
bc2b4bd381
Merge branch 'esp8266-native-converter-hardening' into esp8266-native-library-converter
2026-08-23 22:00:34 -05:00
J. Nick Koston
f8acaab6c1
Merge remote-tracking branch 'origin/dev' into esp8266-native-converter-hardening
...
# Conflicts:
# script/determine-jobs.py
# tests/script/test_determine_jobs.py
2026-08-23 22:00:22 -05:00
J. Nick Koston
5f2b8f7251
Type LINK_FLAGS in the gate, skip malformed transitive deps, escape quotes in zephyr CMake entries
2026-08-23 21:59:22 -05:00
J. Nick Koston
d80d2c7034
Tolerate malformed repository/description metadata instead of crashing
2026-08-23 21:59:22 -05:00
J. Nick Koston
1f5152892c
Give the fake env real membership, widen the manifest gate, route zephyr through the shared lexer
2026-08-23 21:59:22 -05:00
J. Nick Koston
89671f9e0d
Normalize captured CPPDEFINES to a CppDefine named tuple at capture time
2026-08-23 21:59:22 -05:00
J. Nick Koston
c6f9153e63
Route captured LINKFLAGS to the link line and make Prepend a real front-insert
2026-08-23 21:59:22 -05:00
J. Nick Koston
aa3268a6d8
Match SCons' remaining CPPDEFINES spellings, drop dead test scaffolding
...
A bare 2-tuple is one name=value pair (not -DFOO -D1), a dict maps
names to values, and a None value is a bare define, per processDefines.
The unused caplog_at_info helper and the progress kwarg the download
stubs declared ahead of their PR are gone.
2026-08-23 21:59:22 -05:00
J. Nick Koston
879cbf6264
Cover env access warnings and the unmodelled-subscript degrade
2026-08-23 21:59:22 -05:00
J. Nick Koston
4da8868510
Quote CPPDEFINES, warn on env access, degrade unmodelled subscripts, realify InvalidLibrary
...
CPPDEFINES joins the quoted buckets (a spaced define no longer splits
across tokens) and its tuple branch validates the pair elements. The
fake env warns on attribute access rather than call, so hasattr/
truthiness branches are diagnosable, with dunder probes excluded; an
unmodelled subscript warns and returns '' instead of a KeyError
discarding the whole capture. Malformed platforms/frameworks values
raise plain InvalidLibrary, giving the non-platform warning branches a
real producer, and their tests use real manifests instead of
monkeypatched raisers. The version-less dependency drop moves to debug:
bundled names (Wire, SPI) made it per-build noise nobody can act on.
2026-08-23 21:59:22 -05:00
J. Nick Koston
df76fc6fba
Trim comments and docstrings
2026-08-23 21:59:22 -05:00
J. Nick Koston
0d75f597b3
Harden the shared library converter
...
Split out of #18662 : the converter/manifest hardening without the
download parallelization, which stays there.
The PIO extra-script shim moves from espidf/ to platformio/ and gains
type checks for every manifest field, capture of the Append variants and
CPPPATH, warn-once diagnostics for unmodelled env reads, and uniform
shlex quoting so captured values survive the lex_build_flags round-trip.
The dependency walk normalizes every spelling PIO accepts, splits the
routine cross-platform skip (IncompatiblePlatform) from real manifest
problems, validates manifest shape once, and the shared flag lexer
warns and drops trailing or empty glued arguments.
2026-08-23 21:59:22 -05:00
J. Nick Koston
9974ad97fa
[core] Extract the shared idedata and size-summary helpers into build_helpers ( #18661 )
2026-08-23 21:59:19 -05:00
Jesse Hills
c8ebe461d1
[ci] Skip CodSpeed benchmarks on beta and release pull requests ( #18703 )
2026-08-24 14:11:35 +12:00
J. Nick Koston
5bccc41ca3
Merge branch 'esp8266-native-converter-hardening' into esp8266-native-library-converter
2026-08-23 21:10:46 -05:00
J. Nick Koston
5ba31dcccb
Merge branch 'esp8266-native-idedata-helpers' into esp8266-native-converter-hardening
2026-08-23 21:10:45 -05:00
J. Nick Koston
3fe4e255d8
Merge remote-tracking branch 'origin/dev' into esp8266-native-idedata-helpers
2026-08-23 21:10:35 -05:00
Jesse Hills and J. Nick Koston
de1361ac0e
[core] Add type annotations to component Python ( #18697 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-23 20:50:27 -05:00
J. Nick Koston
d877fb021c
[time] Remove C++ POSIX TZ string parser ( #18383 )
2026-08-24 13:24:00 +12:00
3c56b9e66e
[wifi] Share the scan list dedupe helper with improv_serial ( #18612 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Bluetooth Devices Bot <bluetooth@koston.org >
2026-08-24 01:05:35 +00:00
Bonne Eggleston
1ceaf699c2
[modbus_controller] Rename custom_command to custom_pdu; reject address 0; retire skip_updates ( #18652 )
2026-08-23 19:33:53 -05:00
J. Nick Koston
e594888176
Merge branch 'esp8266-native-converter-hardening' into esp8266-native-library-converter
...
# Conflicts:
# esphome/platformio/library.py
2026-08-23 19:30:35 -05:00
J. Nick Koston
6bdd8b1163
Type LINK_FLAGS in the gate, skip malformed transitive deps, escape quotes in zephyr CMake entries
2026-08-23 19:30:02 -05:00
J. Nick Koston
d75f85b089
[network] Add tcp_send_buffer option ( #18610 )
2026-08-23 19:23:08 -05:00
J. Nick Koston and Jesse Hills
34c1a009b6
[core] Use filter_source_files_from_defines in api, socket and ethernet ( #18674 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2026-08-24 00:20:00 +00:00
c9e91be35f
[web_server_idf] Skip multipart parser sources when OTA upload is disabled ( #18534 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-08-23 23:45:26 +00:00
J. Nick Koston
69d997521f
Guard the bar writes, narrow the cache probe, make a total prefetch failure loud
2026-08-23 18:45:02 -05:00
J. Nick Koston
31afd94a30
[noise] Declare libsodium as a direct dependency ( #18692 )
2026-08-23 23:35:45 +00:00
J. Nick Koston
6f7b9a1482
[gpio] Fix linker error when binary sensor only uses expander pins ( #18698 )
2026-08-24 11:31:48 +12:00
J. Nick Koston
6c23ad661d
[bluetooth_proxy] Warn once per transaction when the TCP buffer is congested ( #18605 )
2026-08-24 11:30:11 +12:00
J. Nick Koston
ae5e5b3011
Merge remote-tracking branch 'origin/dev' into esp8266-native-idedata-helpers
2026-08-23 18:30:06 -05:00
J. Nick Koston
3ab464c345
Merge branch 'esp8266-native-idedata-helpers' into esp8266-native-converter-hardening
2026-08-23 18:30:06 -05:00
J. Nick Koston
b74de2dfa2
Merge branch 'esp8266-native-converter-hardening' into esp8266-native-library-converter
2026-08-23 18:30:06 -05:00
J. Nick Koston
41171e61d1
[core] Keep str_contains_ignore_case needle literals in flash on ESP8266 ( #18574 )
2026-08-24 11:29:05 +12:00
J. Nick Koston
6e65634408
Merge branch 'esp8266-native-converter-hardening' into esp8266-native-library-converter
2026-08-23 18:20:45 -05:00
J. Nick Koston
6300e9b72e
Tolerate malformed repository/description metadata instead of crashing
2026-08-23 18:20:43 -05:00
J. Nick Koston
bdf8dec028
[i2s_audio] Skip SPDIF speaker sources when spdif_mode is off ( #18676 )
2026-08-24 11:16:03 +12:00
J. Nick Koston
a872626fba
[esp32_ble] Skip ble_advertising.cpp when advertising is not used ( #18679 )
2026-08-24 11:15:54 +12:00
J. Nick Koston
00bdbf8ed1
[uart] Skip uart_debugger.cpp when no debug block is configured ( #18678 )
2026-08-24 11:15:21 +12:00
J. Nick Koston
786e9ef278
Merge branch 'esp8266-native-converter-hardening' into esp8266-native-library-converter
...
# Conflicts:
# esphome/platformio/library.py
2026-08-23 18:14:53 -05:00
J. Nick Koston
25fb3983cb
[mqtt] Skip entity sources for entity types not in the config ( #18677 )
2026-08-24 11:14:40 +12:00
J. Nick Koston
4510f10491
[core] Treat a malformed build_info.json as stale instead of crashing ( #18669 )
2026-08-24 11:13:57 +12:00
J. Nick Koston
0ecc7045fa
[core] Parse the common on/off spellings in boolean env vars ( #18667 )
2026-08-24 11:13:34 +12:00