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
9bd548ba92
Move the extraScript machinery into the platformio package and tidy the extraction
2026-08-20 13:35:07 -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 and GitHub
a7740091ec
[ci] Run CodSpeed benchmarks when top-level esphome Python modules change ( #18114 )
2026-08-05 20:50:13 -05:00
Jesse Hills and GitHub
4ceae9cf85
[ci] Replace pre-commit with prek ( #18029 )
2026-08-04 16:18:46 +12:00
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 and GitHub
187cd51867
[ci] Carry native-toolchain needs on component test batches ( #17359 )
2026-07-03 13:47:08 -04:00
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 and GitHub
7cb6cf2f2a
[ci] Replace clang-tidy hash with direct config-file diff check ( #17019 )
2026-06-17 21:12:39 -04:00
J. Nick Koston and GitHub
3e562b9267
[ci] Fix memory impact build selecting unbuildable platform ( #16788 )
2026-06-03 22:30:36 -05:00
J. Nick Koston and GitHub
3cc875c40b
[core] Enable ruff BLE (flake8-blind-except) lint family ( #16659 )
2026-05-27 20:09:57 +12:00
J. Nick Koston and GitHub
ceb9d406e1
[core] Enable ruff PIE (flake8-pie) lint family ( #16658 )
2026-05-26 07:46:44 -04:00
J. Nick Koston and GitHub
ae74920b81
[core] Enable ruff PTH (flake8-use-pathlib) lint family ( #16661 )
2026-05-26 05:14:42 +00:00
J. Nick Koston and GitHub
ae814cff5c
[core] Enable ruff B (flake8-bugbear) lint family ( #16655 )
2026-05-26 02:28:14 +00:00
J. Nick Koston and GitHub
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 and GitHub
a92b607754
[ci] Add ci-run-all label to force full CI matrix ( #16421 )
2026-05-14 18:54:13 -04:00
J. Nick Koston and GitHub
b866525437
[ci] Skip native ESP-IDF compile test when no relevant files changed ( #16395 )
2026-05-13 10:01:11 -05:00
Jesse Hills and GitHub
cb2dbcd70d
[ci] Add validate.*.yaml for config-only component tests ( #16384 )
2026-05-13 11:37:33 +12:00
J. Nick Koston and GitHub
15ab5422c7
[ci] Run downstream device-builder tests against PR Python code ( #16214 )
2026-05-03 19:45:08 -05:00
J. Nick Koston and GitHub
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 and GitHub
0a4d9b430f
[ci] Add import-time regression check for esphome.__main__ ( #15954 )
2026-04-28 14:05:12 +00:00
J. Nick Koston and GitHub
4cab262ef8
[ci] Trigger CodSpeed benchmarks on host platform changes ( #15995 )
2026-04-25 17:18:21 -04:00
J. Nick Koston and GitHub
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 and GitHub
1670f04a87
[core] Add CodSpeed C++ benchmarks for protobuf, main loop, and helpers ( #14878 )
2026-03-17 12:29:38 -10:00
J. Nick Koston and GitHub
56f7b3e61b
[ci] Only run integration tests for changed components ( #14776 )
2026-03-13 13:20:35 -10:00
J. Nick Koston and GitHub
42491569c8
[analyze_memory] Add nRF52/Zephyr platform support for memory analysis ( #13249 )
2026-01-15 17:53:53 -10:00
J. Nick Koston and GitHub
00cc9e44b6
[analyze_memory] Fix ELF section mapping for RTL87xx and LN882X platforms ( #13213 )
2026-01-15 10:38:24 -10:00
J. Nick Koston and GitHub
45c0796e40
[ci] Add RP2040 to memory impact analysis ( #13134 )
2026-01-11 17:19:00 -10:00
6aaaae5d0e
[ci] Add LibreTiny (BK72XX) to memory impact analysis ( #12983 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-05 07:40:49 -10:00
J. Nick Koston and GitHub
a5bf55b6ac
[ci] Fix component batching for beta/release branches (3-4 → 40 per batch) ( #11759 )
2025-11-07 20:19:45 +13:00
J. Nick Koston and GitHub
bdfd88441a
[ci] Skip memory impact analysis when more than 40 components changed ( #11741 )
2025-11-05 19:31:23 -06:00
J. Nick Koston and GitHub
ce5e608863
[ci] Skip memory impact analysis for release and beta branches ( #11740 )
2025-11-05 14:32:45 -06:00
J. Nick Koston and GitHub
6220084fe6
[ci] Fix memory impact analysis to filter incompatible platform components ( #11706 )
2025-11-04 12:23:04 +11:00
J. Nick Koston and GitHub
08aae39ea4
[ci] Consolidate component splitting into determine-jobs ( #11614 )
2025-10-30 14:27:28 +13:00
J. Nick Koston and GitHub
0119e17f04
[ci] Remove base bus components exclusion from memory impact analysis ( #11572 )
2025-10-29 08:08:13 +13:00
J. Nick Koston and GitHub
6edbb94529
[ci] Fix test detection for components with only variant tests ( #11474 )
2025-10-22 00:06:14 -10:00
J. Nick Koston and GitHub
5b15827009
[CI] Fix component detection when core files change in determine-jobs ( #11461 )
2025-10-22 16:58:40 +13:00
ae50a09b4e
C++ components unit test framework ( #9284 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-10-21 22:21:22 +00:00
J. Nick Koston and GitHub
0ae9009e41
[ci] Fix clang-tidy split mode for core file changes ( #11434 )
2025-10-20 20:39:50 -10:00
J. Nick Koston and GitHub
3b6ff615e8
[ci] Fix clang-tidy split decision to account for component dependencies ( #11430 )
2025-10-21 15:39:15 +13:00
J. Nick Koston and GitHub
6a239f4d1c
[ci] Prefer platform-specific tests for memory impact analysis ( #11398 )
2025-10-21 10:25:33 +13:00
ffb0e854b6
[ci] Optimize clang-tidy for small PRs by avoiding unnecessary job spitting ( #11402 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-21 10:24:46 +13:00
J. Nick Koston and GitHub
255b5a3abd
[ci] Skip memory analysis when only Python/config files change in core ( #11397 )
2025-10-20 16:13:08 +13:00
a0922bc8b0
[ci] Add automated memory impact analysis for pull requests ( #11242 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-10-20 07:43:38 +13:00
J. Nick Koston and GitHub
1b0ca3360e
[ci] Group all PR builds, isolate direct changes for full validation on dev ( #11193 )
2025-10-14 19:49:14 -10:00
J. Nick Koston and GitHub
3afa73b449
[ci] Filter out components without tests from CI test jobs ( #11134 followup) ( #11178 )
2025-10-11 18:27:18 -05:00
J. Nick Koston and GitHub
89b9bddf1b
[CI] Fix clang-tidy not running when platformio.ini changes ( #9678 )
2025-07-19 20:55:21 +12:00
J. Nick Koston and GitHub
8953e53a04
CI: Centralize test determination logic to reduce unnecessary job runners ( #9432 )
2025-07-11 21:54:57 +12:00