Repository navigation
refactor(channels): stub and WASM legacy controllers onto SlimBridgeController (#4587) - #4608
Conversation
…troller (#4587) Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: FastLED/FastLED/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (6)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughStub and WASM clockless and SPI controllers now use ChangesSlim bridge controller adoption
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Refactor Merge Risk: ⚪ Minimal · up to The stub and WASM LED controllers now share the same transmission path used on devices, and their capture work runs in a pre-encode hook. Driver routing and trait visibility match the previous behavior, and the hook's gating is tested. No merge-blocking risk remains. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The shared path changes frame handling for host and browser controllers. The reviewed code retains driver-enabled and readiness checks, and no new security exposure was established. End-to-end browser behavior remains incompletely verified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation The diff establishes the main [
✨ Finishing Touches 💡 1📝 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 |
|
The WASM Playwright failure (no frames rendered) also happens on master at |
Closes #4587. Part of #4580.
Moves the stub and WASM legacy
addLedscontrollers (clockless_channel_stub.h,spi_channel_stub.h,clockless_channel_wasm.h,spi_channel_wasm.h) ontofl::SlimBridgeController, so host tests exercise the same controller code the devices use.Local validation:
bash lint: passes.bash test --cpp: all unit tests and examples pass.bash test slim_bridge_controllerandbash test timing_traits: pass.bash compile wasm --examples Blinkcould not finish locally, because the session'srmguard blocked the WASM archive step. It is an environment issue, not a compile error: every WASM object compiled. CI's WASM job validates the build.🤖 Generated with Claude Code
Summary by CodeRabbit