J. Nick Koston
f30802757e
Stamp the compile-DB freshness, defer the silent-component failure past the summary, mark every undecoded address, honor all-platform fixtures
2026-08-24 17:06:59 -05:00
J. Nick Koston
4fb83364e8
Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain
2026-08-24 14:39:01 -05:00
J. Nick Koston
49fc4be861
[ci] Run C++ unit tests when a component's Python or test override changes ( #18706 )
2026-08-24 12:18:17 -05:00
J. Nick Koston
5f6a910e2d
[core] Harden the shared library converter ( #18685 )
2026-08-23 22:24:12 -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
J. Nick Koston
b893cee6ca
Apply simplify pass: shared idedata warning, platform-keyed backend table, one owner for the cache prefix and trigger files
2026-08-23 18:07:46 -05:00
J. Nick Koston
cc73c0c67e
Dispatch esptool flashing via the backend hook, share the native trigger files, gate the probe, cache the closure
2026-08-22 21:21:25 -05:00
J. Nick Koston
2af06e3b53
Use the exported consumed-options set, guard the analyze-memory ELF, trigger on the cache action
2026-08-22 19:16:50 -05:00
J. Nick Koston
3219f02e23
Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain
...
# Conflicts:
# esphome/__main__.py
2026-08-22 16:10:47 -05:00
J. Nick Koston
f2ff1cc986
Keep per-file bars when sizes are unknown; harden the prefetch probes
...
An unknown Content-Length (probe failure, non-2xx, or a CDN omitting it
on HEAD) now skips the parallel prefetch so the sequential downloads
keep their per-file bars, instead of a silent multi-MB batch; the HEAD
helper returns None for unknown, distinct from a genuine zero, and
catches only RequestException. The cache probe logs its failure at
debug. The espidf tool prefetch reads sizes with .get so a missing size
only drops the bar instead of aborting the resumable prefetch. The
idedata warning logs its traceback at debug for parser regressions, and
framework_helpers joins the ESP-IDF infra CI triggers it is imported
by.
2026-08-22 16:10:03 -05:00
J. Nick Koston
3635c05fa5
Non-destructive platform_version check, honest compdb errors, missing-binutils refusal
...
The platform_version pop defaults to the schema spec so a second
validation pass over an already-validated dict cannot warn about a key
the user never set. An unparsable compile database now fails naming the
parse error and the offending output instead of blaming renamed ninja
rules. analyze-memory validates the native objdump/readelf exist and
fails by tool name rather than silently analyzing with host binutils.
The shared smoke-test helper is renamed _toolchain_components_to_test
(it serves the esp32 PlatformIO job too), and the decode-dedup state is
cleared by an autouse fixture instead of by hand.
2026-08-22 15:36:49 -05:00
J. Nick Koston
4866ef97f0
Trim comment essays and hoist function-local test imports
2026-08-22 11:46:49 -05:00
J. Nick Koston
17f718e8c9
Simplify the native dispatch and CI cache wiring
...
A cache-arduino8266 composite action mirrors cache-esp-idf (one key
resolver, dev-writes/PR-restores) and both jobs pin
ESPHOME_ARDUINO8266_PREFIX so YAML and Python agree on the path by
construction. esp32 provides the native_toolchain_module hook, so the
shared dispatcher never names a backend and the unclaimed-native raise
loses its esp-idf carve-out; the esp8266 decode and run_compile hooks
resolve through the same seam. run_compile resolves ccache once and
threads it to the generator, env, and idedata; the compdb rule names
follow the shared kinds; the pio-options warner inlines into the driver
and derives its consumed set from the core routing constant; the
per-toolchain CI narrowing shares one body; create_components_graph is
memoized per run; the decode rate-limit drops its math sentinel.
2026-08-21 20:55:27 -05:00
J. Nick Koston
cbd5e08aa9
Adopt the shared size line printer and cover the moved modules in the native CI triggers
2026-08-20 15:30:03 -05:00
J. Nick Koston
d6a9fd5238
Adopt the shared toolchain check, dedupe the native-module dispatch, and complete the trigger set
2026-08-20 14:32:31 -05:00
J. Nick Koston
d3524db735
Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain
2026-08-20 13:35:53 -05:00
J. Nick Koston
9bd548ba92
Move the extraScript machinery into the platformio package and tidy the extraction
2026-08-20 13:35:07 -05:00
J. Nick Koston
c96360d83c
Merge branch 'esp8266-native-shared-helpers' into esp8266-arduino-toolchain
2026-08-20 12:46:43 -05:00
J. Nick Koston
f326c3f04d
Move the shared helpers into a neutral build_helpers package
2026-08-20 12:43:34 -05:00
J. Nick Koston
eaae2e543b
Reject unsupported CLI toolchains on every platform and complete the native CI triggers
2026-08-20 06:30:07 -05:00
J. Nick Koston
aa03404319
Close the native CI trigger gap and log the remaining silent library skips
2026-08-20 05:35:17 -05:00
J. Nick Koston
60b7b874f1
Address review: route versioned bare libraries to the registry, deterministic MMU order, scoped toolchain branches, diagnostics
2026-08-20 00:00:51 -05:00
J. Nick Koston
9429243d2b
Fix determine-jobs narrowing helper and add esp8266-native tests
2026-08-19 23:19:52 -05:00
J. Nick Koston
3fe9cac1fc
Apply review cleanups to the native ESP8266 toolchain
2026-08-19 23:13:30 -05:00
J. Nick Koston
373bee8aca
[esp8266] Add native toolchain that builds the Arduino core without PlatformIO
2026-08-19 22:31:46 -05:00
J. Nick Koston
a7740091ec
[ci] Run CodSpeed benchmarks when top-level esphome Python modules change ( #18114 )
2026-08-05 20:50:13 -05:00
Jesse Hills
4ceae9cf85
[ci] Replace pre-commit with prek ( #18029 )
2026-08-04 16:18:46 +12:00
Jesse Hills and Jonathan Swoboda
cdd334284e
[rp2] Rename rp2040 platform to rp2 ( #17145 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-07-07 08:20:24 +12:00
Jonathan Swoboda
187cd51867
[ci] Carry native-toolchain needs on component test batches ( #17359 )
2026-07-03 13:47:08 -04:00
Jonathan Swoboda and Jesse Hills
1753ccd811
[ci] Update component-test CI for ESP-IDF default toolchain ( #16383 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2026-06-18 08:57:59 -04:00
Jonathan Swoboda
7cb6cf2f2a
[ci] Replace clang-tidy hash with direct config-file diff check ( #17019 )
2026-06-17 21:12:39 -04:00
J. Nick Koston
3e562b9267
[ci] Fix memory impact build selecting unbuildable platform ( #16788 )
2026-06-03 22:30:36 -05:00
J. Nick Koston
3cc875c40b
[core] Enable ruff BLE (flake8-blind-except) lint family ( #16659 )
2026-05-27 20:09:57 +12:00
J. Nick Koston
ceb9d406e1
[core] Enable ruff PIE (flake8-pie) lint family ( #16658 )
2026-05-26 07:46:44 -04:00
J. Nick Koston
ae74920b81
[core] Enable ruff PTH (flake8-use-pathlib) lint family ( #16661 )
2026-05-26 05:14:42 +00:00
J. Nick Koston
ae814cff5c
[core] Enable ruff B (flake8-bugbear) lint family ( #16655 )
2026-05-26 02:28:14 +00:00
J. Nick Koston
a58b4edb6a
[ci] Gate unconditional CI jobs on a single determine-jobs output instead of a path filter ( #16580 )
2026-05-22 18:39:06 -05:00
Jonathan Swoboda
a92b607754
[ci] Add ci-run-all label to force full CI matrix ( #16421 )
2026-05-14 18:54:13 -04:00
J. Nick Koston
b866525437
[ci] Skip native ESP-IDF compile test when no relevant files changed ( #16395 )
2026-05-13 10:01:11 -05:00
Jesse Hills
cb2dbcd70d
[ci] Add validate.*.yaml for config-only component tests ( #16384 )
2026-05-13 11:37:33 +12:00
J. Nick Koston
15ab5422c7
[ci] Run downstream device-builder tests against PR Python code ( #16214 )
2026-05-03 19:45:08 -05:00
J. Nick Koston
2fbfb4c385
[ci] Split integration tests into 3 buckets when count is more than 10 ( #16152 )
2026-04-30 19:10:53 -05:00
J. Nick Koston
0a4d9b430f
[ci] Add import-time regression check for esphome.__main__ ( #15954 )
2026-04-28 14:05:12 +00:00
J. Nick Koston
4cab262ef8
[ci] Trigger CodSpeed benchmarks on host platform changes ( #15995 )
2026-04-25 17:18:21 -04:00
J. Nick Koston
151f71e033
[ci] Add libretiny and zephyr to memory impact platform filter ( #14985 )
2026-03-19 14:12:15 -10:00
0c5f055d45
[core] cpp tests: Allow customizing code generation during tests ( #14681 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-18 00:16:01 +00:00
J. Nick Koston
1670f04a87
[core] Add CodSpeed C++ benchmarks for protobuf, main loop, and helpers ( #14878 )
2026-03-17 12:29:38 -10:00
J. Nick Koston
56f7b3e61b
[ci] Only run integration tests for changed components ( #14776 )
2026-03-13 13:20:35 -10:00
J. Nick Koston
42491569c8
[analyze_memory] Add nRF52/Zephyr platform support for memory analysis ( #13249 )
2026-01-15 17:53:53 -10:00
J. Nick Koston
00cc9e44b6
[analyze_memory] Fix ELF section mapping for RTL87xx and LN882X platforms ( #13213 )
2026-01-15 10:38:24 -10:00