Skip to content

chore(deps): bump fbuild 2.2.22 -> 2.2.27 - #3003

Merged
zackees merged 1 commit into
masterfrom
chore/deps-bump-fbuild-2-2-27
Jun 13, 2026
Merged

zackees merged 1 commit into
masterfrom
chore/deps-bump-fbuild-2-2-27

Conversation

@zackees

@zackees zackees commented Jun 13, 2026 •

Copy link
Copy Markdown
Member

Summary

Test plan

  • uv sync resolves and installs fbuild 2.2.27
  • uv run fbuild --version reports 2.2.27
  • CI confirms host/unit + sample platform builds remain green

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated a project dependency to the latest version with rolled-up improvements and fixes.

Rolls forward to pick up the running-process 4.2.0 broker bump,
the ArmCompiler/zccache unification across 8 generic-arm platforms
(FastLED/fbuild#526), and the LPC845-BRK/LPCXpresso804 board stubs
(FastLED/fbuild#536). Also rolls up 2.2.23-2.2.26:
  - 2.2.23 shrink module scaffold + project-local boards/*.json
    resolution and ESP32 -Wl,-Map=firmware.map at link time
  - 2.2.24 daemon build path threads project_dir into board
    resolution
  - 2.2.25 nxplpc picks up project-local
    variants/<variant>/pins_arduino.h
  - 2.2.26 ArmCompiler wires zccache once; stub running-process
    broker adoption with diagnostics

Co-Authored-By: Claude Opus 4.7 (1M context) <[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: 462f7017-3b2a-475f-ac3c-d75ca7d81a39

📥 Commits

Reviewing files that changed from the base of the PR and between ba8ee98 and 25f9d67.

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

📝 Walkthrough

Walkthrough

Updates the fbuild dependency pin in pyproject.toml from 2.2.22 to 2.2.27 and revises the accompanying inline comment block to describe the newer pinned release and included intermediate changes.

Changes

fbuild dependency update

Layer / File(s) Summary
Pin and release notes
pyproject.toml
The fbuild dependency is bumped from 2.2.22 to 2.2.27, and the adjacent explanatory comment block is updated to describe the 2.2.27 pin and rolled-up intermediate release items.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~4 minutes

Possibly related issues

Possibly related PRs

  • FastLED/FastLED#2973 — Both PRs bump the pinned fbuild version in pyproject.toml and update the adjacent explanatory comment block.
  • FastLED/FastLED#2652 — Both modify the same fbuild pin and refresh the associated inline rationale text in pyproject.toml.
  • FastLED/FastLED#2551 — Both are pyproject.toml-only fbuild version bumps paired with matching comment updates.

Poem

🐇 I found a tiny version trail,
from 2.2.22 to fresher tale.
A nibble here, a comment there,
now pyproject.toml is in repair.
Hop, hop — the pin is neat and fair.

🚥 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 fbuild from 2.2.22 to 2.2.27.
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/deps-bump-fbuild-2-2-27

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.

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 13, 2026
@zackees
zackees merged commit fcb8244 into master Jun 13, 2026
8 of 10 checks passed
@zackees
zackees deleted the chore/deps-bump-fbuild-2-2-27 branch June 13, 2026 23:12
@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]>
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