J. Nick Koston
5c30acfe5b
Merge branch 'esp8266-native-toolchain-plumbing' into esp8266-native-build-infra
2026-08-22 21:12:39 -05:00
J. Nick Koston
d6d80ee323
Consolidate the batch-download scaffold, share the idedata error set, dedupe compdb tokenizing
2026-08-22 21:12:20 -05:00
J. Nick Koston
35f3087fcc
Merge branch 'esp8266-native-toolchain-plumbing' into esp8266-native-build-infra
2026-08-22 19:55:33 -05:00
J. Nick Koston
f4bc7dda35
Fault the cache read directly so the unreadable-cache test holds on Windows
2026-08-22 19:55:16 -05:00
J. Nick Koston
d72e2f1c60
Merge branch 'esp8266-native-toolchain-plumbing' into esp8266-native-build-infra
2026-08-22 19:46:46 -05:00
J. Nick Koston
7d246893be
Surface prefetch failures, harden the idedata and build-info cache reads
2026-08-22 19:46:42 -05:00
J. Nick Koston
e52703617e
Name the env boolean spelling tables like device-builder does
...
parse_enable_env's inline tuples become TRUTHY_ENV_STRINGS and
FALSY_ENV_STRINGS frozensets mirroring cv.boolean's spellings (enable
and disable included) plus the 1/0 env convention, matching
device-builder's TRUTHY_BOOL_STRINGS pattern.
2026-08-22 12:47:05 -05:00
J. Nick Koston
90b29e231d
Trim comment essays and hoist function-local test imports
2026-08-22 11:38:46 -05:00
J. Nick Koston
315abf21f8
Merge branch 'esp8266-native-toolchain-plumbing' into esp8266-native-build-infra
2026-08-22 11:37:21 -05:00
J. Nick Koston
e99e0cc8b8
Trim comment essays and hoist function-local test imports
2026-08-22 11:34:32 -05:00
J. Nick Koston
db0e52a36b
Cover shell_token's Windows branch on the coverage-uploading runner
2026-08-21 21:01:37 -05:00
J. Nick Koston
0f7cd3fada
Single-quote POSIX shell tokens, share the tool probe, harden registry checks
...
shell_token now picks the quoting style per platform: single quotes on
POSIX (sh expands nothing inside them, so backslash runs, $VAR, and
backticks reach the compiler exactly as lexed, matching SCons's
no-shell spawn) and the CreateProcess argv rule on Windows. A test
round-trips every case through a real /bin/sh.
The ninja and ccache runnability probes collapse into one
tool_version_runs helper in framework_helpers. The registry names a
non-dict top-level payload like the inner guards, and the expect layout
check also runs on marker hits so a marked install that later lost
files fails by name. The ESP-IDF ccache gate defers to
resolve_ccache_path so ESPHOME_CCACHE_ENABLE=0 disables ccache there
too, with IDF_CCACHE_ENABLE still taking precedence.
2026-08-21 12:25:03 -05:00
J. Nick Koston
0fa081cd80
Name malformed registry elements, parse ESPHOME_CCACHE_ENABLE strictly, require a package layout check
...
Registry version and file entries that are not dicts now raise the same
Unexpected-response error as the other shape guards instead of an
AttributeError traceback. install_package rejects an empty expect so
every install is layout-validated before the marker is written.
ESPHOME_CCACHE_ENABLE values outside 1/true/yes/on and 0/false/no/off
warn and are treated as unset instead of bool(str) flipping them to
enabled. The strip_win_long_path_prefix test moved next to the function
in test_framework_helpers, and a stale comment naming its old module is
fixed.
2026-08-21 09:58:16 -05:00
J. Nick Koston
18a2aa2097
Probe the PATH ninja, chain import errors, harden registry payload checks, honest ccache docstring
2026-08-20 23:53:40 -05:00
J. Nick Koston
ec8437fea2
Quote empty tokens, honest docstrings, strict registry payloads, required layout checks, honest patch targets
2026-08-20 20:38:09 -05:00
J. Nick Koston
a5a1a017d0
Merge branch 'esp8266-native-toolchain-plumbing' into esp8266-native-build-infra
...
# Conflicts:
# esphome/platformio/toolchain.py
2026-08-20 17:53:57 -05:00
J. Nick Koston
9b12934307
Reject a launcher compile DB by name before the probe, discard partial script captures, log dropped env keys
2026-08-20 17:52:54 -05:00
J. Nick Koston
60896b3533
Merge branch 'esp8266-native-toolchain-plumbing' into esp8266-native-build-infra
2026-08-20 17:30:00 -05:00
J. Nick Koston
d33a097152
Name every skipped size line, best-effort script compile, unusable idedata returns None
2026-08-20 17:29:47 -05:00
J. Nick Koston
9c543c9776
Merge branch 'esp8266-native-toolchain-plumbing' into esp8266-native-build-infra
2026-08-20 16:54:39 -05:00
J. Nick Koston
4ab2a7ba98
Join flag args per entry like ParseFlags, pin the launcher strip log, record the asm merge decision
2026-08-20 16:54:28 -05:00
J. Nick Koston
89df2787f2
Merge branch 'esp8266-native-toolchain-plumbing' into esp8266-native-build-infra
2026-08-20 16:24:32 -05:00
J. Nick Koston
1483b7c10b
Detect launchers by a closed denylist instead of guessing compiler names
2026-08-20 16:24:21 -05:00
J. Nick Koston
5b19c139cb
Force-quote shell metacharacters outside the safe token set
2026-08-20 16:09:09 -05:00
J. Nick Koston
79b8bf2657
Carry the ninja escaping and quoting helpers with tests
2026-08-20 16:06:30 -05:00
J. Nick Koston
d4861d89b0
Add the shared registry, ninja, ccache, and tools-cache infrastructure for native toolchains
2026-08-20 16:03:38 -05:00
J. Nick Koston
12c1b15578
Reject malformed build.flags by name and pin the idedata cache-hit path
2026-08-20 15:59:03 -05:00
J. Nick Koston
7a3f700206
Act on bad-compiler detection, atomic logged idedata cache, memoized entry parsing, callable board_mcu
2026-08-20 15:41:39 -05:00
J. Nick Koston
5a4337c240
Share the size line format, derive source extensions from a kind map, close_fds on the ccache probe
2026-08-20 15:21:31 -05:00
J. Nick Koston
2564ad0deb
Warn once per non-compiler path, accept versioned compiler names, and pin the trigger table
2026-08-20 13:57:30 -05:00
J. Nick Koston
e82453e80e
Complete the unit-test package chain so test modules import fully qualified
2026-08-20 13:42:15 -05:00
J. Nick Koston
3eec5085da
Give the format_bar tests a unique basename
2026-08-20 13:39:46 -05:00
J. Nick Koston
57c8648210
Drop the test package init that collides with script/build_helpers.py on the CI path
2026-08-20 13:38:54 -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