Repository navigation
chore(deps): bump fbuild 2.2.9 -> 2.2.11 + re-normalize meson private includes per compile - #2617
Conversation
…de paths per compile ## fbuild pin: 2.2.9 -> 2.2.11 2.2.11 republishes 2.2.10's content with the full wheel set (win_amd64 + manylinux_x86_64 were missing from 2.2.10's PyPI upload — that release was effectively unusable on Windows and Linux x64). Content otherwise identical to 2.2.10. Brings in: - SAMD51 cores/arduino fallback + include-path injection (FastLED/fbuild#319/#320). Build SAMD51J was 100% red. - nRF52 nRF52DK -> pca10056 variant alias for the Adafruit framework (FastLED/fbuild#321/#322). Build nRF52840 DK was 100% red. - Board JSON tinyuf2 partition rename (18 Adafruit boards) + 4d_systems esp_sr_16.csv -> default_16MB.csv + cmsis_dsp_lib validator whitelist (FastLED/fbuild#318). Validate Boards drift drops 39 -> 14. - daemon.rs Command::new subprocess-spawn lint annotations (FastLED/fbuild#317). Unblocked every PR's Lint subprocess spawns check. ## ci/meson/compile.py: re-normalize strict-path includes before each build zccache strict-paths rejects relative + backslash include flags. The build_config helper normalizes once at setup, but ninja silently regenerates build.ninja when build files change, which re-introduces the relative form (e.g. -Ici/.../fastled.dll.p with a backslash). The next compile then dies with zccache --strict-paths violation. Fix: call normalize_meson_private_include_paths(build_dir) at the top of compile_meson, right after the stale-PCH check. Costs ~5-20 ms and is idempotent when nothing changed. KBI001-compliant (KeyboardInterrupt handler calls handle_keyboard_interrupt(ki) before re-raise; module already imports it at line 25).
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adds resilient include path normalization to the Meson compilation step and updates the fbuild build-tool dependency to version 2.2.11. The normalization is now applied before invoking Meson, with failures logged as warnings rather than blocking the build. ChangesMeson Compilation Hardening
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Bumps
fbuildpin from 2.2.9 → 2.2.11 and re-normalizes meson private-include paths before each compile (defense against ninja silent regen of build.ninja).fbuild 2.2.9 → 2.2.11
2.2.11 republishes 2.2.10's content with the full wheel set. 2.2.10's PyPI upload was missing
win_amd64andmanylinux_x86_64— effectively unusable on Windows and Linux x64. Content otherwise identical. Brings in:cores/arduinofallback + include-path injection (Build SAMD51J fails: get_core_dir(adafruit) points at nonexistent cores subdir fbuild#319 + Arduino Micro & WS2812B #320).Build SAMD51Jwas 100% red.nRF52DK → pca10056variant alias for the Adafruit framework (Build nRF52840 DK fails: variant nRF52DK absent in installed Adafruit framework fbuild#321 + Simplex noise is discontinuous #322).Build nRF52840 DKwas 100% red.esp_sr_16.csv → default_16MB.csv+cmsis_dsp_libvalidator whitelist (fix(boards): catch up tinyuf2 partition rename + whitelist cmsis_dsp_lib (clears 27/39 drift) fbuild#318).Validate Boardsdrift drops 39 → 14 (remainder is configuration-choice drift, separate maintainer review).Command::newsubprocess-spawn lint annotations (fix(lint): annotate Python daemon Command::new sites fbuild#317). Unblocked every PR'sLint subprocess spawnscheck.ci/meson/compile.py: re-normalize strict-path includes before each build
zccache's
--strict-paths=absoluterejects relative + backslash include flags.normalize_meson_private_include_pathsis already called once at meson setup, but ninja silently regeneratesbuild.ninjawhen build files change between compiles — that regeneration re-introduces the relative form (e.g.-Ici/meson/native\fastled.dll.p), and the next compile dies with:The Stop hook has surfaced this 3-4 times this session.
Fix: call the normalizer at the top of
compile_meson, right after_invalidate_stale_pchs. Costs ~5-20 ms and is idempotent when nothing changed. KBI001-compliant — theKeyboardInterrupthandler callshandle_keyboard_interrupt(ki)before re-raising; module already imports it at line 25.Test plan
uv syncresolvesfbuild==2.2.11cleanly on Windows.bash lint— clean.Build SAMD51J,Build nRF52840 DK,check_teensy41_size,linux_native, the size workflows (now via--backend platformioper ci(size): pin binary-size checks to --backend platformio (unblock master) #2605 +build_info.jsonper Typos #297).Validate Boards(in fbuild repo CI) should drop from 39 → 14 drift items, confirming the board JSON cleanup landed.Refs FastLED/fbuild#297, #298, #300, #303, #304, #305, #317, #318, #319, #320, #321, #322; FastLED #2378 (zccache strict-paths origin).
🤖 Generated with Claude Code
Summary by CodeRabbit
Bug Fixes
Chores