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
fix(ci): make compiled_size fail when firmware size cannot be measured #4525
ci/compiled_size.py main catches missing metadata, malformed JSON, and unexpected errors, prints a message, then returns normally. Its command-line entry point consequently exits 0 even when no size was measured. A nonexistent board is a concrete reproducer.
Proposal
Return or raise a nonzero status for measurement failures while retaining useful diagnostics.
Acceptance criteria
Add a focused RED→GREEN CLI test for a nonexistent board and malformed build-info input: both exit nonzero with an informative error.
A valid firmware-size measurement still exits 0 and reports the size.
Decisions
Priority: medium; false-green size checks can bypass a release gate.
Scope is process exit status, not changing size-source precedence.
Activity