You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Binary-size guards red on master: fbuild (new default backend) doesn't emit build_info.json #2590
Every binary-size guard workflow on master fails identically:
FileNotFoundError: build_info.json not found for board '<board>'
(tried build_info_<example>.json and build_info.json in .build/pio/<board> and .build/<board>)
Commit f215b56b8 ("ci: make fbuild the default for board builds") flipped ci/compiler/argument_parser.py:
backend: BuildBackend=BuildBackend.FBUILD
ci/compiler/build_config.py::generate_build_info_json_from_existing_build calls pio project metadata --json-output — that's the only code path that produces build_info_<example>.json, and it only runs on the PlatformIO build backend (it shells out to pio).
fbuild does not yet have an equivalent metadata emitter. Tracked upstream at FastLED/fbuild#297.
So every fbuild-backed compile under the size-check workflow leaves the build dir without build_info.json, and ci/compiled_size.py::_find_build_info raises FileNotFoundError — the workflow turns red even though compilation succeeded.
Proposed fix (immediate, in this repo)
.github/workflows/build_template_binary_size.yml is the single shared template the size workflows use. Append --backend=platformio to the three ci-check-compiled-size.py invocations so the size pipeline opts back into PIO until fbuild ships the emitter.
ci-check-compiled-size.py passes unknown args through to ci.ci-compile (via parse_known_args), which understands --backend=platformio. No script changes needed.
Reverting later
Once FastLED/fbuild#297 lands and FastLED bumps the fbuild floor, the three --backend=platformio flags can be removed — a single PR with a one-line diff per call site.
Repro
bash compile uno --examples Blink (default backend) then uv run ci/ci-check-compiled-size.py uno --example Blink --no-build → FileNotFoundError.
Filed during a coordinated CI-green sweep; fix PR coming immediately.
Closing — workaround landed in 54ce09d (#2605): binary-size workflows are now pinned to --backend platformio so build_info.json is emitted. The underlying fbuild emit build_info.json work remains tracked upstream in fbuild.
Activity
zackees commentedon May 31, 2026
Closing — workaround landed in 54ce09d (#2605): binary-size workflows are now pinned to
--backend platformioso build_info.json is emitted. The underlyingfbuild emit build_info.jsonwork remains tracked upstream in fbuild.