J. Nick Koston
e41440b16b
Tilde-expand the install prefix before the CI cache-path assertion
...
The job env carries a literal ~ that Python's expanduser and
actions/cache both resolve; the assertion compared the raw string and
failed the native toolchain job.
2026-08-22 12:23:24 -05:00
J. Nick Koston
19d8f832b9
Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain
...
# Conflicts:
# esphome/components/esp8266/__init__.py
2026-08-22 12:16:27 -05:00
J. Nick Koston
b002a37987
Fail fast on empty compile databases and unsupported analyze-memory toolchains; degrade a missing size tool
...
ninja -t compdb exits 0 with an empty list when the rule names drift, so
the compile database is now parsed and an empty result fails the build
and drops the stale file. analyze-memory refuses an unsupported
toolchain before paying for the compile. A missing size binary warns
instead of discarding an already-linked build, _parse_app_size returns
explicitly from its not-found branch, and the CI cache action asserts
the caller's install prefix matches the cached path. The esp8266
run_compile dispatch hook and copy_files early-return gain direct
tests.
2026-08-22 12:06:38 -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
dependabot[bot] and GitHub
4cfa4893ef
Bump docker/setup-buildx-action from 4.2.0 to 4.3.0 in the docker-actions group ( #18564 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-20 15:24:28 -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 and GitHub
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 and GitHub
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 and GitHub
07fa16e2e7
[ci] Stop persisting the integration test ccache ( #18504 )
2026-08-18 21:38:18 -04:00
J. Nick Koston and GitHub
7a999f9a48
[ci] Install requirements_dev.txt when the venv cache misses ( #18502 )
2026-08-18 19:06:55 -05:00
J. Nick Koston and GitHub
ae730d6357
[ci] Fail the benchmark job when the C++ benchmark build fails ( #18480 )
2026-08-18 09:03:33 -05:00
dependabot[bot] and GitHub
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
dependabot[bot] and GitHub
55726120db
Bump esphome/workflows/.github/workflows/lock.yml from 2026.7.0 to 2026.8.1 ( #18465 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-17 14:47:28 -05:00
dependabot[bot] and GitHub
346ba7e831
Bump github/codeql-action/analyze from 4.37.6 to 4.37.7 ( #18467 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-17 14:47:18 -05:00
dependabot[bot] and GitHub
4712c15c75
Bump github/codeql-action/init from 4.37.6 to 4.37.7 ( #18466 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-17 14:42:24 -05:00
dependabot[bot] and GitHub
9bc72529a6
Bump astral-sh/setup-uv from 9.0.0 to 10.0.1 in /.github/actions/restore-python ( #18462 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-17 14:42:08 -05:00
6d20943a9c
Bump esphome/workflows/.github/workflows/stale.yml from 61fd37a044cad4e9aa4303027b2a61b6a34da855 to a1c1485ab46ef41a84a6a9d8abd7fa4b7628fd70 ( #18464 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-17 15:38:06 -04:00
Clyde Stubbs and GitHub
e5224e22ae
[ci] Compare merge-branch base ref against the default branch ( #18385 )
2026-08-15 06:18:22 +10:00
Clyde Stubbs and GitHub
be66e8b99c
[ci] Disable CodSpeed benchmarks job outside esphome/esphome ( #18372 )
2026-08-15 04:33:47 +10:00
J. Nick Koston and GitHub
945c2458b3
[core] Load component aliases from a generated registry ( #18335 )
2026-08-13 13:31:19 -05:00
dependabot[bot] and GitHub
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
Jesse Hills and GitHub
989dbd7550
[ci] Name release runs after the version or dev tag they build ( #18110 )
2026-08-10 10:10:38 +12:00
dependabot[bot] and GitHub
ae26483be6
Bump github/codeql-action/init from 4.37.5 to 4.37.6 ( #18164 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-07 19:27:57 +00:00
dependabot[bot] and GitHub
5d7bd179b1
Bump github/codeql-action/analyze from 4.37.5 to 4.37.6 ( #18163 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-07 14:27:09 -05:00
27f6ced1a9
Bump github/codeql-action/analyze from 4.37.4 to 4.37.5 ( #18139 )
...
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-08-06 19:49:40 -04:00
9802c7f32f
Bump github/codeql-action/init from 4.37.4 to 4.37.5 ( #18140 )
...
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-08-06 19:49:32 -04:00
Jonathan Swoboda and GitHub
bf36a62f62
[ci] Raise runner-concurrency caps for the OHF enterprise pool ( #18125 )
2026-08-06 19:47:12 -04:00
Jesse Hills and GitHub
d4b3d37165
Update URL for ESPHome Builder issue reporting ( #16250 )
2026-08-06 08:07:30 +12:00
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
98622bd029
Bump esphome/workflows/.github/workflows/stale.yml from 203cea60ebfd18e2b966e57750750e0417a9feec to 61fd37a044cad4e9aa4303027b2a61b6a34da855 ( #18095 )
...
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:36 -04:00
Jesse Hills and GitHub
4ceae9cf85
[ci] Replace pre-commit with prek ( #18029 )
2026-08-04 16:18:46 +12:00
dependabot[bot] and GitHub
66db4fdd61
Bump github/codeql-action/analyze from 4.37.3 to 4.37.4 ( #18041 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-03 15:14:07 -05:00
dependabot[bot] and GitHub
77546b6111
Bump github/codeql-action/init from 4.37.3 to 4.37.4 ( #18040 )
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-03 15:13:39 -05:00
Jesse Hills and GitHub
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 and GitHub
40b4cd8e9b
[ci] Drop the unused Codecov upload token ( #17977 )
2026-07-31 06:32:33 -04:00
Jesse Hills and GitHub
e11a295680
[ci] Report an empty Codecov upload when pytest is skipped ( #17976 )
2026-07-31 16:27:05 +12:00
Jesse Hills and GitHub
f9cd789f7c
[ci] Tell stacked pull requests apart from hand-built chains ( #17980 )
2026-07-31 15:39:36 +12:00
Jesse Hills and GitHub
80c17fb2cd
[ci] Authenticate the stale workflow as esphome[bot] ( #17974 )
2026-07-31 13:52:01 +12:00
Jonathan Swoboda and GitHub
60662830dc
[ci] Switch stale to the shared real-activity workflow ( #17960 )
2026-07-30 15:41:10 -04:00
a99d03e172
Bump docker/login-action from 4.5.2 to 4.6.0 in the docker-actions group ( #17944 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-29 15:49:19 -04:00
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
41902d7538
Bump pypa/gh-action-pypi-publish from 1.14.1 to 1.14.2 ( #17945 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-29 15:30:49 -04:00
72f904dcfb
Bump docker/login-action from 4.5.1 to 4.5.2 in the docker-actions group ( #17912 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-28 15:41:50 -04:00
7b1d70c2c0
Bump actions/stale from 10.4.0 to 11.0.0 ( #17913 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-28 15:28:01 -04:00
Kobi Hikri and GitHub
b80fa4ae19
[ci] Bind the branch name to env before sanitising it into a docker tag ( #17910 )
2026-07-28 12:17:50 -04:00
Jesse Hills and GitHub
93eec5c961
[ci] Attribute device class sync commits to the esphome[bot] account ( #17898 )
2026-07-28 16:19:00 +12:00