J. Nick Koston
f1b2258661
Stop the false build_src_flags warning, share the idedata error tuple, make the no-tests guard per platform
2026-08-23 16:48:36 -05:00
J. Nick Koston
24ea73a626
Gate the zero-test guard behind a flag, keep the upload path import-free, verify all artifacts, regenerate a stale compile DB
2026-08-22 21:47:03 -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
daea0cc9f3
Warn on missing decode tools on both toolchains, fail the CI key resolver loudly
...
The PlatformIO branch of _decode_pc now routes through the same
rate-limited warning as the native one; raw undecoded crash addresses
with no stated reason were undiagnosable at default log level. The CI
cache key uses the assignment form so errexit catches a resolver
failure instead of echo swallowing it into a degenerate key, with a
non-empty check, and the cache comments stop claiming a ccache store
the seed job never populates (it saves before any compile runs).
2026-08-21 17:26:11 -05:00
J. Nick Koston
aae5538fd5
Gate uploads on a built firmware, refuse unclaimed native builds, seed the CI toolchain cache from dev
...
The upload path now checks CORE.firmware_bin exists before invoking
esptool and names the fix (compile first) instead of failing inside
esptool. compile_program raises when a native toolchain resolved but no
platform backend claimed the build rather than falling through to a
mis-configured PlatformIO project. The addr2line failure warning now
includes the exception so the cause is visible without debug logging.
CI: the native toolchain cache is restore-only on PRs and seeded by a
new dev-push job, mirroring seed-apt-cache; the key resolves the pinned
core and toolchain versions from code instead of hashing framework.py.
determine-jobs main() output tests now pin the esp8266_native pair.
2026-08-21 00:05:23 -05:00
J. Nick Koston
1ab13c4291
Cache the native toolchain install and ccache store in CI
2026-08-20 20:45:02 -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
0b1065feee
[ci] Stop jobs hanging on apt by restoring the cached apt action and bounding raw apt calls ( #18518 )
2026-08-20 09:30:34 +12:00
J. Nick Koston
f90b776071
[ci] Key PlatformIO cache on the Python version so a runner image bump does not serve a broken LibreTiny venv ( #18512 )
2026-08-19 16:39:01 +00:00
Jonathan Swoboda
07fa16e2e7
[ci] Stop persisting the integration test ccache ( #18504 )
2026-08-18 21:38:18 -04:00
J. Nick Koston
ae730d6357
[ci] Fail the benchmark job when the C++ benchmark build fails ( #18480 )
2026-08-18 09:03:33 -05:00
dependabot[bot]
199e368fe2
Bump astral-sh/setup-uv from 9.0.0 to 10.0.1 ( #18463 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-17 14:57:50 -05:00
Clyde Stubbs
be66e8b99c
[ci] Disable CodSpeed benchmarks job outside esphome/esphome ( #18372 )
2026-08-15 04:33:47 +10:00
J. Nick Koston
945c2458b3
[core] Load component aliases from a generated registry ( #18335 )
2026-08-13 13:31:19 -05:00
dependabot[bot]
b5a78c6c46
Bump CodSpeedHQ/action from 5.0.2 to 5.0.3 ( #18246 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-10 19:36:22 +00:00
Jonathan Swoboda
bf36a62f62
[ci] Raise runner-concurrency caps for the OHF enterprise pool ( #18125 )
2026-08-06 19:47:12 -04:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
17f3c9d780
Bump CodSpeedHQ/action from 5.0.1 to 5.0.2 ( #18094 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-05 15:50:57 -04:00
Jesse Hills
4ceae9cf85
[ci] Replace pre-commit with prek ( #18029 )
2026-08-04 16:18:46 +12:00
Jesse Hills
7ad662781d
[ci] Order jobs to follow the CI flow and close ci-status gaps ( #17979 )
2026-07-31 07:53:59 -04:00
Jesse Hills
40b4cd8e9b
[ci] Drop the unused Codecov upload token ( #17977 )
2026-07-31 06:32:33 -04:00
Jesse Hills
e11a295680
[ci] Report an empty Codecov upload when pytest is skipped ( #17976 )
2026-07-31 16:27:05 +12:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
be7748ccb6
Bump CodSpeedHQ/action from 4.19.1 to 5.0.1 ( #17946 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-29 15:35:07 -04:00
J. Nick Koston and copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
7c89e81449
[ci] Persist the integration test ccache across runs ( #17735 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-07-27 11:26:49 -10:00
J. Nick Koston and copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
fa8c7e60da
[host] Speed up builds with ccache when available ( #17728 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-07-27 20:47:12 +00:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
580b3a1a69
Bump CodSpeedHQ/action from 4.18.5 to 4.19.1 ( #17890 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-27 15:35:53 -04:00
Jonathan Swoboda
8a7d2d0ca0
[ci] Enforce list form for platform domains in test fixtures ( #17869 )
2026-07-26 19:01:15 -04:00
dependabot[bot]
1f8fea5379
Bump actions/checkout from 7.0.0 to 7.0.1 ( #17733 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-21 12:58:29 -10:00
dependabot[bot]
4afb619672
Bump actions/setup-python from 6.3.0 to 7.0.0 ( #17731 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-21 12:32:31 -10:00
dependabot[bot]
52c6a50b6d
Bump astral-sh/setup-uv from 8.3.2 to 9.0.0 ( #17760 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-21 11:45:27 -10:00
Jonathan Swoboda
ebaf32c82a
[ci] Add LibreTiny clang-tidy environments ( #17491 )
2026-07-17 21:38:55 -04:00
Jonathan Swoboda
90e838d327
[ci] Extend variant clang-tidy scans to USB logger, tsens and LP peripheral code ( #17580 )
2026-07-15 23:07:34 -04:00
Jonathan Swoboda
5a3c2f4d11
[ci] Add rp2 clang-tidy environment ( #17486 )
2026-07-15 21:17:21 -04:00
dependabot[bot]
4b19de0c1a
Bump CodSpeedHQ/action from 4.18.4 to 4.18.5 ( #17489 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-09 19:35:16 +00:00
Jonathan Swoboda
435dde67d0
[ci] Stop per-PR cache copies from crowding the 10GB Actions cache quota ( #17463 )
2026-07-08 23:29:23 -04:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
99ec2cc00a
Bump CodSpeedHQ/action from 4.18.2 to 4.18.4 ( #17455 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-08 15:42:38 -04:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
99ff7e198a
Bump astral-sh/setup-uv from 8.3.1 to 8.3.2 ( #17454 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-08 15:42:18 -04:00
dependabot[bot]
35c7496cd7
Bump CodSpeedHQ/action from 4.18.1 to 4.18.2 ( #17445 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-07 16:02:38 -05:00
dependabot[bot]
71b746b6fa
Bump astral-sh/setup-uv from 8.3.0 to 8.3.1 ( #17444 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-07 16:02:26 -05: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
dependabot[bot]
27d4b63a8a
Bump astral-sh/setup-uv from 8.2.0 to 8.3.0 ( #17428 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-06 14:41:55 -05:00
Jonathan Swoboda
fcfaa43e1e
[ci] Name the sdk-nrf cache steps after the nRF Connect SDK ( #17392 )
2026-07-04 12:46:16 -04:00
Jonathan Swoboda
5738c60206
[nrf52] Run clang-tidy against the native sdk-nrf toolchain ( #17364 )
2026-07-03 18:09:01 -04:00
Jonathan Swoboda
187cd51867
[ci] Carry native-toolchain needs on component test batches ( #17359 )
2026-07-03 13:47:08 -04:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4c9ed129cf
Bump awalsh128/cache-apt-pkgs-action from 1.6.0 to 1.6.3 ( #17310 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-30 18:28:04 -04:00
Jonathan Swoboda
b36e20d60b
Revert "Bump awalsh128/cache-apt-pkgs-action from 1.6.0 to 1.6.2 ( #17286 )" ( #17289 )
2026-06-29 18:25:16 -04:00
8780c7e0ac
Bump awalsh128/cache-apt-pkgs-action from 1.6.0 to 1.6.2 ( #17286 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-06-29 16:01:41 -04:00
Jonathan Swoboda
b8690c8e31
[core] Drop Python 3.11 support ( #17280 )
2026-06-29 12:32:28 -04:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
436938b931
Bump actions/cache/restore from 6.0.0 to 6.1.0 ( #17231 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-27 10:33:13 -04:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
063c4371de
Bump actions/cache from 6.0.0 to 6.1.0 ( #17230 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-27 10:33:01 -04:00