J. Nick Koston
5d864c3491
Merge branch 'app-loop-optimize-speed' into integration
2026-04-12 20:31:23 -10:00
J. Nick Koston
3e9f464a2c
Fix clang-tidy and test for optimize(O2) attribute
2026-04-12 20:21:11 -10:00
J. Nick Koston
4170f0ecb4
Merge remote-tracking branch 'origin/warn-verbose-logging' into integration
2026-03-26 09:43:45 -10:00
Jonathan Swoboda
c2456409bd
[core] Improve clean-all with no arguments ( #15184 )
2026-03-26 13:39:19 -04:00
J. Nick Koston
ff02bf8099
Merge branch 'state-publish-logv' into integration
2026-03-24 22:26:09 -10:00
Jonathan Swoboda and J. Nick Koston
4ff85e2a1e
[core] Fix clean-all to handle custom build paths ( #15146 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2026-03-24 19:48:17 -04:00
dependabot[bot] and J. Nick Koston
4d05cd3059
Bump ruff from 0.14.14 to 0.15.0 ( #13752 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-02-04 09:24:05 +00:00
J. Nick Koston
43b6e7962d
Merge branch 'dependabot/pip/ruff-0.15.0' into integration
2026-02-04 09:31:37 +01:00
J. Nick Koston
f5f5e2bdae
cleanup
2026-02-04 09:28:18 +01:00
pre-commit-ci-lite[bot]
c05f0589fc
[pre-commit.ci lite] apply automatic fixes
2026-02-04 08:22:15 +00:00
J. Nick Koston
63464a13c3
[core] Fix incremental build failures when adding components on ESP32-Arduino ( #12745 )
2025-12-29 16:57:22 -10:00
J. Nick Koston
c4d73a07b2
Merge branch 'storage_should_update_cmake_cache_arudino_fix' into integration
2025-12-29 16:49:26 -10:00
J. Nick Koston
2297d240be
cleanup
2025-12-29 16:28:14 -10:00
J. Nick Koston
1d1f2a9877
cover
2025-12-29 16:25:17 -10:00
J. Nick Koston
1472914527
cover
2025-12-29 16:24:10 -10:00
J. Nick Koston
f238f93312
[core] Move comment to PROGMEM on ESP8266 ( #12554 )
2025-12-22 21:37:51 +00:00
J. Nick Koston
b5950d41b5
Merge remote-tracking branch 'upstream/move_comment_build_info' into integration
2025-12-18 11:19:51 -10:00
J. Nick Koston
12d8e2ada2
tweaks
2025-12-18 06:56:12 -10:00
J. Nick Koston
23ee8bdcaf
[core] Move comment to PROGMEM on ESP8266
2025-12-18 06:48:23 -10:00
J. Nick Koston
cd93468225
[core] Move comment to PROGMEM on ESP8266
2025-12-18 06:41:23 -10:00
9de7df7b5b
Add build info to image ( #12425 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-18 00:06:52 +00:00
J. Nick Koston
1fb89e5223
Merge branch 'buildinfo' into integration
2025-12-17 13:27:58 -10:00
David Woodhouse
7298db0a7e
Add tests for source file removal detection in copy_src_tree
...
Add tests covering the logic that detects when source files are removed:
- test_copy_src_tree_detects_removed_source_file: Verifies that removing
a regular source file triggers sources_changed flag
- test_copy_src_tree_ignores_removed_generated_file: Verifies that removing
a generated file (like build_info_data.h) does not trigger sources_changed
2025-12-16 16:45:28 +00:00
David Woodhouse
0a63c50e1e
Add test for build_info regeneration behaviour
...
Test verifies that:
- When source files change, build_info is regenerated with new timestamp
- When no files change, build_info is preserved with same timestamp
The test runs copy_src_tree() three times in the same environment:
1. Initial run creates build_info
2. Second run with no changes preserves the timestamp
3. Third run with changed source file regenerates with new timestamp
2025-12-15 16:59:51 +00:00
David Woodhouse
87a125f303
Add test coverage for build_info.json change detection
...
Add tests to cover:
- Detection of config_hash changes in existing build_info.json
- Detection of esphome_version changes in existing build_info.json
- Handling of invalid/corrupted build_info.json files
These tests cover the exception handling and change detection logic
in copy_src_tree() that checks the existing build_info.json.
2025-12-15 16:45:15 +00:00
David Woodhouse
09e9b58eb6
Change build_time_str format to ISO 8601 with timezone
...
Use YYYY-MM-DD HH:MM:SS +ZZZZ format instead of the locale-dependent
'%b %d %Y, %H:%M:%S' format. This provides:
- Unambiguous date format (YYYY-MM-DD)
- Timezone information
- Locale-independent formatting
- Better sortability and parseability
Example: "2025-12-15 16:30:27 +0000" instead of "Dec 15 2025, 16:30:27"
Tests validate the format using strptime with '%Y-%m-%d %H:%M:%S %z'.
2025-12-15 16:38:44 +00:00
David Woodhouse
1ebfd5b4eb
Update test for new get_build_info behaviour
...
get_build_info() now always returns current time instead of preserving
the existing build_time. The timestamp preservation logic is now handled
in copy_src_tree() based on sources_changed flag.
2025-12-14 09:07:44 +09:00
J. Nick Koston
0539c5d4d2
cover
2025-12-13 10:02:54 -06:00
J. Nick Koston
cf8708b888
writer coverage
2025-12-13 09:28:52 -06:00
J. Nick Koston
a09481a352
Merge remote-tracking branch 'upstream/dev' into integration
2025-12-01 14:52:51 -06:00
2b7695ba3f
[core] Fix clean all windows ( #12217 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-12-01 12:40:56 -05:00
J. Nick Koston
e2311d70e6
Merge branch 'libretiny_no_strlen' into integration
2025-11-24 12:09:26 -06:00
Jonathan Swoboda
8607a0881d
[core] Add support for passing yaml files to clean-all ( #12039 )
2025-11-24 10:10:24 -05:00
J. Nick Koston
494ffb8c48
Merge remote-tracking branch 'upstream/dev' into integration
2025-10-13 11:41:35 -10:00
Jonathan Swoboda
3df4dbd3a6
[core] Properly clean the build dir in the HA addon ( #11208 )
2025-10-13 17:12:45 -04:00
J. Nick Koston
db6751570a
Merge remote-tracking branch 'upstream/dev' into integration
2025-09-30 10:30:58 +02:00
Jonathan Swoboda
b176d1f890
[core] Don't remove storage in clean-all ( #10921 )
2025-09-29 15:24:42 -04:00
J. Nick Koston
9a0996567d
Merge remote-tracking branch 'upstream/dev' into integration
2025-09-25 10:56:38 -05:00
Jonathan Swoboda
74f09a2b59
[core] Rename to clean-platform to clean-all ( #10876 )
2025-09-25 11:55:43 -04:00
J. Nick Koston
14463c5f5b
Merge remote-tracking branch 'upstream/dev' into integration
2025-09-23 15:05:30 -05:00
Jonathan Swoboda
3cb2a4569c
[core] Add a clean-platform option ( #10831 )
2025-09-23 12:41:25 -04:00
J. Nick Koston
8fc3ffdea9
Merge remote-tracking branch 'upstream/dev' into integration
2025-09-19 22:44:16 -06:00
9ea3643b74
[core] os.path -> Path ( #10654 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-09-19 12:59:48 +00:00
J. Nick Koston
32e6d079d3
Merge remote-tracking branch 'upstream/dev' into integration
2025-09-17 17:25:21 -05:00
J. Nick Koston
27fa18dcec
[core] Fix clean build files to properly clear PlatformIO cache ( #10754 )
2025-09-17 08:09:35 +12:00
J. Nick Koston
bc73346f1f
[core] Fix clean build files to properly clear PlatformIO cache
2025-09-16 10:49:05 -05:00
J. Nick Koston
4390fd80a3
Add additional coverage for util and writer ( #10683 )
2025-09-12 17:04:51 +12:00
J. Nick Koston and Copilot
8ea1a3ed64
[core] Trigger clean build when components are removed from configuration ( #10235 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-15 10:50:03 +12:00