Skip to content

chore(deps): bump zccache floor to >=1.12.0 - #3001

Merged
zackees merged 1 commit into
masterfrom
chore/zccache-1.12.0
Jun 13, 2026
Merged

zackees merged 1 commit into
masterfrom
chore/zccache-1.12.0

Conversation

@zackees

@zackees zackees commented Jun 13, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Bump the zccache floor >=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

  • CI green (installs zccache 1.12.0 from PyPI)

Summary by CodeRabbit

  • Chores
    • Updated zccache dependency to version 1.12.0 or higher.

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]>
@coderabbitai

coderabbitai Bot commented Jun 13, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 937c65d9-5b51-4840-87db-12e2c9eab8a6

📥 Commits

Reviewing files that changed from the base of the PR and between 43f010a and b36b468.

📒 Files selected for processing (1)
  • pyproject.toml

📝 Walkthrough

Walkthrough

The pyproject.toml dependency constraint for zccache is bumped from >=1.11.20 to >=1.12.0, signaling that the project now requires a newer minimum version of that dependency.

Changes

Dependency version constraint

Layer / File(s) Summary
zccache version constraint update
pyproject.toml
Minimum zccache version requirement increased from >=1.11.20 to >=1.12.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🐰 A whisker-twitch and one small bump,
The zccache now stands tall and plump,
From 1.11.20 to 1.12 so bright,
Dependencies dance in the pale moonlight! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the main change: bumping the zccache dependency floor from >=1.11.20 to >=1.12.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/zccache-1.12.0

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@zackees
zackees merged commit ba8ee98 into master Jun 13, 2026
8 of 9 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jun 13, 2026
pull Bot pushed a commit to manmuqingshan/FastLED that referenced this pull request Jun 14, 2026
…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]>
@zackees
zackees deleted the chore/zccache-1.12.0 branch August 21, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant