J. Nick Koston
3ad851993f
[ci] Fix memory impact build selecting unbuildable platform
...
Memory impact analysis gathered candidate platforms from all test files
(including variant test-*.yaml) but the CI build runs
test_build_components.py with --base-only, which only compiles base
test.<platform>.yaml files. It could therefore select a platform that no
changed component has a base test for, leaving the merged build with
nothing to compile and failing memory extraction.
Detect platforms using the same base-test discovery as the runner via a
shared get_component_test_platforms helper, and keep only components that
have a base test on the selected platform, falling back to the platform
supported by the most components when a hint picks an unbuildable one.
2026-06-03 21:18:09 -05:00
J. Nick Koston
3cc875c40b
[core] Enable ruff BLE (flake8-blind-except) lint family ( #16659 )
2026-05-27 20:09:57 +12:00
Jonathan Swoboda
171ded35a5
[core] Remove cv.only_with_esp_idf and CORE.using_esp_idf ( #16681 )
2026-05-26 18:47:16 -04:00
J. Nick Koston
bac62cb7de
[core] Add cv.sensitive marker for schema-level sensitive fields ( #16673 )
2026-05-26 15:29:06 -05: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
b39b34bfe1
[core] Enable ruff C4 (flake8-comprehensions) lint family ( #16653 )
2026-05-25 20:14:26 -05:00
J. Nick Koston
f1839489dd
[core] Enable ruff ISC (flake8-implicit-str-concat) lint family ( #16646 )
2026-05-25 20:06:18 -05:00
J. Nick Koston
97267105e1
[core] Enable ruff EXE (flake8-executable) lint family ( #16648 )
2026-05-25 20:05:51 -05:00
Jonathan Swoboda
e7ab78366d
[core] Add esphome.build_flags option for IDF + PlatformIO ( #16629 )
2026-05-25 10:03:38 -04: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
Jesse Hills
76ce45c59e
[script] Preserve source order of enum options in language schema ( #16371 )
2026-05-13 06:28:39 +12:00
Jonathan Swoboda
e4d9786f00
[core] Move platformio files to subfolder ( #16347 )
2026-05-11 21:34:47 +12:00
Diorcet Yann
e9cc10fedc
[core] Native idf full support ( #14678 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: Jonathan Swoboda <swoboda1337@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2026-05-11 02:12:07 +00:00
J. Nick Koston
930d539969
[config_validation] Add a visibility UI-hint kwarg ( #16267 )
2026-05-11 12:07:15 +12:00
J. Nick Koston
6173656bf8
[schema] Surface OnlyWith / OnlyWithout default + gate components in schema generator ( #16276 )
2026-05-06 13:49:00 -04:00
Jonathan Swoboda
29db5fa4bb
[script] Make pre-commit and helpers work on Windows ( #16260 )
...
Co-authored-by: Jonathan Swoboda <swoboda1337@users.noreply.github.com >
2026-05-06 07:11:06 -05: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
Jonathan Swoboda
53b682e48f
[ci] Bump clang-tidy from 18.1.8 to 22.1.0.1 ( #16078 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-29 20:19:33 +00:00
J. Nick Koston
985dba9332
[core] Defer heavy module-scope imports in __main__, loader, and config ( #15955 )
2026-04-29 13:17:59 -05:00
J. Nick Koston
49c7a6928e
[script] Fix cpp_unit_test crash for non-MULTI_CONF platform components ( #16104 )
2026-04-29 14:32:13 +12:00
J. Nick Koston
f05243bd9d
[api] Add 48-bit MAC address varint fast path for BLE advertisements ( #15988 )
2026-04-29 13:48:35 +12:00
J. Nick Koston
0a4d9b430f
[ci] Add import-time regression check for esphome.__main__ ( #15954 )
2026-04-28 14:05:12 +00:00
Jesse Hills
876c8c4c2a
[ci-custom] Lint imports of esphome.components.const outside components ( #16068 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-28 05:59:02 -05:00
J. Nick Koston
df987a7ffb
[ci-custom] Suggest uint32_to_str/int8_to_str for integer formatting ( #15970 )
2026-04-26 07:22:34 -05:00
J. Nick Koston
4cab262ef8
[ci] Trigger CodSpeed benchmarks on host platform changes ( #15995 )
2026-04-25 17:18:21 -04:00
Keith Burzinski
70b1d9a087
[api_protobuf] Support compound ifdef conditions in proto generator ( #15930 )
2026-04-22 17:57:15 -05:00
J. Nick Koston
67576d4879
[rp2040] Tune oversized lwIP defaults for ESPHome ( #14843 )
2026-04-22 06:29:13 +02:00
J. Nick Koston
0d3a3552da
[core] Move heap-allocating helpers to alloc_helpers.h/cpp ( #15623 )
2026-04-21 04:39:49 +02:00
J. Nick Koston
b293be23b0
[ci] Honor CONFLICTS_WITH when grouping component tests ( #15834 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-04-18 08:11:38 -05:00
J. Nick Koston
e7194dce75
[core] Deduplicate entity type boilerplate with X-macro pattern ( #15618 )
2026-04-15 17:45:01 -10:00
J. Nick Koston
53ce2a2f7f
[api] Add speed_optimized to SubscribeLogsResponse ( #15698 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-04-14 06:25:05 +12:00
J. Nick Koston
5b4385a084
[api] Add speed_optimized proto option for hot encode paths ( #15691 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-04-13 07:42:31 +00:00
J. Nick Koston
c62a75ee17
[benchmark] Use -Os to match firmware optimization level ( #15688 )
2026-04-13 01:40:33 -05:00
J. Nick Koston
ec420d5792
[api] Add (inline_encode) proto option for sub-message inlining ( #15599 )
2026-04-10 15:33:56 +12:00
J. Nick Koston
b83edf6c17
[script] Resolve IncludeFile objects in component config merge ( #15575 )
2026-04-08 08:57:56 -10:00
J. Nick Koston
c7513b9262
[ci] Add lint check for test package key matching bus directory ( #15547 )
2026-04-07 16:01:18 -10:00
J. Nick Koston
10b38e1588
[api] Add max_data_length proto option and optimize entity name/object_id ( #15426 )
2026-04-07 03:31:01 +00:00
J. Nick Koston
d15fa84f4f
[api] Auto-derive max_value for enum fields in protobuf codegen ( #15469 )
2026-04-06 14:39:55 -10:00
J. Nick Koston
2b5ee69eb2
[api] Speed up protobuf encode 17-20% with register-optimized write path ( #15290 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-04-06 12:42:18 -10:00
J. Nick Koston
1de94c1a84
[api] Add max_value proto option for constant-size varint codegen ( #15424 )
2026-04-05 18:02:06 -10:00
Tomer27cz
f01762ea44
[ci] move import to function ( #15440 )
2026-04-05 19:17:52 -04:00
Clyde Stubbs
6f05e3d204
[ci] Run ci-custom.py as a pre-commit check ( #15411 )
2026-04-03 12:54:44 +11:00
Guillermo Ruffino
ef65e47bc5
[schema] generator fixes ( #15276 )
2026-03-31 13:08:50 +13:00
J. Nick Koston
8a802ca666
[benchmark] Add BLE raw advertisement proto encode benchmarks ( #15289 )
2026-03-29 11:54:07 -10:00