Repository navigation
Conversation
`unit / build` is red on master at 05d9367: `uv run pytest ci/tests` dies with `TypeError: Args.__init__() missing 1 required positional argument: 'max_power_mw'`. The power-limiter work (#5139, #5159) added `max_power_mw` to the benchmark `Args` dataclass without a default, and `_args_with_defaults` in test_autoresearch_phases.py builds `Args(**defaults)` explicitly — so every case in that file fails at construction (187 failed, 30 passed) before any assertion runs. Adding the field to the defaults dict mirrors how the other benchmark fields (`frames`, `rp_pio_*`, `test_fault_emit`) are declared there. Verified in a worktree at origin/master: 216 passed, 1 failed (`test_ble_mode_delegates`), and that one failure reproduces on unmodified master under Python 3.13 (pkgutil AttributeError), so it is an existing local-environment artifact, not part of this fix.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Match the fixture correction tracked in #5164 so full Python validation can construct Args.
|
Superseded: master already carries this fix — the |
* ci(meson): opt-in FASTLED_NATIVE_CLANG=soldr takes the native clang from soldr On Linux, FASTLED_NATIVE_CLANG=soldr resolves clang, clang++ and llvm-ar through `soldr c++ --clang --print-cc/--print-cxx/--print-ar` instead of clang-tool-chain. soldr's LLVM bundle ships its own libxml2/libz, so the native build survives runner images without libxml2.so.2 (the ubuntu-latest break). The linker stays reld; WASM, IWYU and lint keep clang-tool-chain. Off by default until a soldr release contains forge-ci/soldr#4127. * fix(ci): bound soldr discovery and preserve Meson tool paths * ci: select soldr clang in Linux native workflows * fix(ci): use soldr lld for native ThinLTO bridge * fix(ci): rediscover Meson compiler when provider changes * build: require soldr 0.9.53 for managed native clang * fix(ci): use selected soldr compiler in native codec audits * docs: name released soldr clang compiler requirement * fix(ci): select soldr clang for MP3 conformance builds * fix(ci): include max_power_mw in autoresearch test defaults Match the fixture correction tracked in FastLED#5164 so full Python validation can construct Args. * test: document the nRF51 profile without a badge workflow Record the bbcmicrobit profile added by FastLED#5154 in the explicit unbadged catalogue. Keep the exact badge coverage assertion and do not add a hardware CI workflow. * test: isolate native ABI and observe SPI delay requests * fix(ci): rediscover compilers with missing identity markers
Master is red on
unit / buildat05d9367a:The power-limiter PRs (#5139, #5159) added
max_power_mwto the benchmarkArgsdataclass with no default, while_args_with_defaultsinci/tests/test_autoresearch_phases.pyconstructsArgs(**defaults)field by field. Every case in that file therefore fails at construction: 187 failed, 30 passed, before a single assertion runs.The fix adds the field to the defaults dict, matching how
frames,rp_pio_*andtest_fault_emitare already declared there. No production code changes.Local verification on a worktree at
origin/master: 216 passed, 1 failed. The remaining failure isTestRunTestsOrSpecialMode::test_ble_mode_delegates, which reproduces on unmodified master under Python 3.13 (pkgutilAttributeError) — a pre-existing local-environment artifact, not caused by this change.Summary by CodeRabbit