Repository navigation
chore(deps): bump zccache floor to >=1.12.0 - #3001
Conversation
1.12.0 adopts the running-process v1 broker; aligning the floor keeps FastLED on the same protocol-compatible zccache daemon as fbuild/soldr. Co-Authored-By: Claude Opus 4.7 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesDependency version constraint
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
…r real-DMA semantics (FastLED#2992 follow-up) After FastLED#2992 ("feat: add ISR-backed channel poll wakeups"), `ParlioEngine` runs `beginTransmission()` in ASYNC mode: the last txDone ISR sets `mStreamComplete=true` and the *next* `poll()` tick observes that flag and clears `mTransmitting` (the gate that begins a new transmission). The old engine cleared `mTransmitting` directly in the ISR, so callers that issued back-to-back `beginTransmission()` calls without an intervening `poll()` still worked. After FastLED#2992 they no longer do. Two `parlio_driver` unit tests issue exactly that pattern and have been failing on master since 2026-06-09 (every CI run on PRs FastLED#2998, FastLED#3001, and the just-merged FastLED#3003 fails the same way): FAIL: ParlioEngine mock - transmission history clearing at tests/platforms/esp/32/drivers/parlio/parlio_driver.cpp:671 :694: count2 > 0 :695: mock.getTransmitCount() > count1 REQUIRE FAILED: parlio_driver.cpp:1029: tx_ok On real hardware the engine's own line-1845 drain pattern (`mPeripheral->waitAllDone(100)` at the top of `beginTransmission()`) gives the ISR a chance to fire and then a `poll()` tick can clear `mTransmitting`. The mock, by contrast, fires txDone callbacks synchronously inside `transmit()` and used to noop `waitAllDone()`, so no `poll()` tick ever ran — `mTransmitting` stayed stuck at true forever and the second `beginTransmission()` short-circuited with "transmission already in progress". Fix the mock, not the test (per the maintainer's "gap in the mock vs the real thing" framing): drive one `ParlioEngine::poll()` tick from the mock's `waitAllDone()` and `deinitialize()`. Those are the two real-hardware-faithful boundaries where "no active DMA" is the contract — `waitAllDone()` is the engine's own pre-transmission drain point, and `deinitialize()` is what the engine calls from its config-match re-init path at parlio_engine.cpp.hpp:1411 (the route test 1029 takes). A single `mSettlingEngine` re-entrancy flag breaks the obvious recursion (`poll()` itself calls `waitAllDone(0)`). The mock stays fully synchronous and single-threaded — no new threads, no new deferred-callback states, no churn in the existing pumpDeferredCallbacks/mFiringCallbacks machinery. Only the engine async-state contract gets one extra tick at each transmit boundary. No engine changes. No test changes. Verified: - `bash test parlio_driver` passes (both originally failing tests) - `bash test parlio_driver --debug` passes (ASAN/LSAN/UBSAN clean) - `bash lint --cpp` clean Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Summary
zccachefloor>=1.11.20->>=1.12.0.1.12.0 is the release that adopts the running-process v1 broker. Aligning every zccache consumer (FastLED, fbuild, soldr, clang-tool-chain) on this floor keeps them on one protocol-compatible daemon and removes the version-skew conflict.
Test plan
Summary by CodeRabbit