Repository navigation
Backlog
Backlog
Copy link
Labels
area: ciGitHub Actions, fbuild, toolchainsarea: coreLED drivers, color math, animationsarea: driversChipset drivers (WS2812, APA102, etc)type: bugSomething is broken
Description
Prioritized 30-item tracking list synthesized from an audit of master (bc3caab1dd), open PRs, remaining channel drivers, open sanitized issues, and CI/lint health.
Ordered strictly Bug Fixes first (1–20), then Features / Performance / Infrastructure / Tech Debt (21–30).
Part 1 — Bug Fixes (1–20)
Immediate / In-Flight Bug Fixes
- 1. [BUG][P0] Rebase, undraft, and merge runtime clockless incomplete-frame rejection (fix(channels): reject incomplete clockless chipset frames #5478)
- Unblocked now that fix(spi): drop incomplete runtime frames after allocation failure #5477 landed (
bc3caab1dd). Top commit6722546ba0onfix/runtime-clockless-incomplete-frameapplies cleanly ontomasterwith zero conflicts and stops TM1812, TM1908, and UCS7604 from submitting truncated frames on OOM.
- Unblocked now that fix(spi): drop incomplete runtime frames after allocation failure #5477 landed (
- 2. [BUG][P0] Trim ESP32-S3 flash regression and merge
ChannelManagerbusy-driver replacement fix (fix(channels): keep draining driver registered on replacement timeout #5489)src/fl/channels/manager.cpp.hpp:124-139:addDriverSlow()currently ignoreswaitForReady()failure and destroys draining drivers. fix(channels): keep draining driver registered on replacement timeout #5489 isCLEAN/APPROVED, but exact-headbloat regression esp32s3(run45661289224) failed — trim S3 flash overhead and land.
- 3. [BUG][P0] Guard
ChannelManager::clearAllDrivers()andremoveDriver()against busy/draining driverssrc/fl/channels/manager.cpp.hpp:211-259:clearAllDrivers()ignoreswaitForReady()failure andremoveDriver()removes drivers without checkingpoll()/waitForReady(). Sibling fix + unit test forclearAllDrivers()is staged onfix/channel-manager-busy-clear; addremoveDriver()coverage, test, commit, and open PR.
- 4. [BUG][P0] Fix ESP32-P4 PARLIO PSRAM DMA allocation & failed-reinstall ring-buffer leak (ESP32-P4 PARLIO: per-frame TX reinstall can fail during HTTP uploads; PSRAM DMA capability check excludes PSRAM #5491)
- Live external user bug on
master:src/platforms/esp/32/drivers/parlio/parlio_engine.cpp.hpp:74&src/platforms/esp/32/drivers/parlio/parlio_peripheral_esp.cpp.hpp:429requireMALLOC_CAP_SPIRAM | MALLOC_CAP_DMA, excluding ESP32-P4 PSRAM (IDF 5.5.4 omitsMALLOC_CAP_DMAon PSRAM despite P4 PARLIO supporting cache-aligned external-memory DMA).src/platforms/esp/32/drivers/parlio/parlio_engine.cpp.hpp:1483-1494clearsmInitialized = falseon TX reinstall / callback failure without callingmRingBuffer.reset(), leaking the stale ring on retry.
- Live external user bug on
- 5. [BUG][P1] Trigger maintainer CI and land external-fork RP2040/RP2350 multi-lane PIO TX fix (fix(rp): multi-lane PIO TX output (SET drove no pins; lanes mirrored) #5429)
MERGEABLEandAPPROVED(CodeRabbit: SUCCESS), blocked solely on fork CI approval; fixes broken SET pin driving and mirrored lanes in multi-lane RP PIO output.
- 6. [BUG][P1] Clear CI/rebase blockers on external-fork FX/STL/RP bug-fix PRs (fix(fx): saturate TimeWarp steps that do not fit in int32 #5302, fix(stl): support signed difference and mixed comparisons for deque iterators #5297, fix(rp): use the real clk_sys for native PWM frequency #5290)
- fix(fx): saturate TimeWarp steps that do not fit in int32 #5302 (
APPROVED,TimeWarpint32 clamp — needs fork CI run); fix(stl): support signed difference and mixed comparisons for deque iterators #5297 (APPROVED,dequeiterator signed distance — needs rebase + fork CI); fix(rp): use the real clk_sys for native PWM frequency #5290 (rp-pwm-sys-clock— addressCHANGES_REQUESTED+ fork CI).
- fix(fx): saturate TimeWarp steps that do not fit in int32 #5302 (
Remaining Channel Driver DMA / Frame-Ownership / OOM Bugs (Same Class as #5453–#5488)
- 7. [BUG][P0] Fix ESP32 PARLIO show-timeout clobbering, mid-frame
READY, and uncheckedresize()OOBsrc/platforms/esp/32/drivers/parlio/channel_driver_parlio.cpp.hpp:show()ignoreswaitForReady()failure (L126-L137) and clobbers activemTransmittingChannels/mScratchBuffer;poll()returnsREADYmid-frame for ≥3 timing groups (L268-L282);ChannelDriverPARLIO::enqueue()/show()clobbers active state on busy re-entry (L471-L506,L610) and leaks SPIisInUseonERROR(L518-L534); uncheckedresize()beforememcpy/memset(L423,L660).
- 8. [BUG][P0] Fix ESP32-S3 LCD_CAM I2S (
ChannelEngineI2S) show timeout, unbounded waits, and OOM OOBsrc/platforms/esp/32/drivers/i2s/channel_driver_i2s.cpp.hpp:show()ignoreswaitForReady()failure (L126-L149); unbounded spin loops (L83-L85,L340-L343,L466-L469); multi-group frames leave groups 1..N withisInUse() == false(L148-L155,L457-L459);poll()can returnREADYwithout clearingmTransmittingChannels(L198); uncheckedresize()OOB (L494-L504).
- 9. [BUG][P0] Fix ESP32 UART (
ChannelEngineUART) missingsetInUse(), unguardedshow(), and mid-frameREADYsrc/platforms/esp/32/drivers/uart/channel_driver_uart.cpp.hpp: never callssetInUse(true/false)anywhere;show()never waits for active UART DMA (L85-L171) and candeinitialize()mid-transfer (L280);poll()returnsREADYmid-frame for ≥3 channels (L189-L196); unbounded destructor loop (L43-L45); uncheckedresize()OOB (L343-L346).
- 10. [BUG][P0] Fix Teensy 4.x FlexIO & LPUART force-clear on timeout, empty-show corruption, and silent truncation
src/platforms/arm/teensy/teensy4_common/drivers/flexio/channel_engine_flexio.cpp.hpp:107-131&src/platforms/arm/teensy/teensy4_common/drivers/lpuart/channel_engine_lpuart.cpp.hpp:76-88,132-157: both force-clearisInUseandmTransmittingChannelson 100 ms timeout before checkingmEnqueuedChannels.empty(), leakisInUsewhen!mPeripheral, have unbounded#elsespin loops, and LPUART silently truncates frames whendst_size < encoded_bytes.
- 11. [BUG][P0] Fix RP2040/RP2350 PIO, SPI & UART destructor DMA use-after-free and orphaned pending frames
src/platforms/arm/rp/rpcommon/channel_engine_rp_pio.cpp.hpp:40-50,74,236-262,307,340-354,channel_engine_rp_spi.cpp.hpp:20-26,64,106-109,channel_engine_rp_uart.cpp.hpp:19-25,115,192-195: all 3 destructors callreleaseInFlight()beforeperipheral->abort()(exact fix(i2s): stop DMA before freeing clockless frame #5484 UAF class);show()while active orphansmPendingChannels; RP PIO has uncheckedwords.resize()OOB and unchecked SPI/XTRA0 truncation.
- 12. [BUG][P0] Fix
SpiChannelEngineAdapterbusy overwrite, streamingDRAININGlivelock, and destructor spinsrc/fl/channels/adapters/spi_channel_adapter.cpp.hpp: non-streamingshow()overwritesmTransmittingChannelswithout checkingpoll()/waitForReady()(L237-L250); streaming mode livelocks returningDRAININGforever whenshow()arrives mid-frame (L238-L241,L309-L311,L353-L356); channels 1..N lacksetInUse(true)(L249-L256,L334-L351,L442); unbounded destructor loop (L79-L82).
- 13. [BUG][P1] Fix
Channel::applyAddressing()XYMap OOM OOB write andwidth == 0division by zerosrc/fl/channels/channel.cpp.hpp:85-93:buffer.resize(numLeds)is unchecked beforebuffer[physicalIdx]writes, andphysicalIdx % width// widthdivides by zero ifwidth == 0.
- 14. [BUG][P1] Fix Teensy 4.x
FlexibleInlineBlockClocklessControllermissingisInUse()check and OOM partial framessrc/platforms/arm/teensy/teensy4_common/block_clockless_arm_mxrt1062.h:83-117: fails to re-checkmData[i]->isInUse()afterwaitForReady()(fix(channels): preserve buffers still owned by an earlier frame #5473/fix(channels): preserve runtime buffers still owned by a driver #5476 class) and omits expected encoded-size check afterwriteWS2812()(fix(channels): drop incomplete runtime WS2812 frames #5475 class).
- 15. [BUG][P1] Fix ESP32 RMT4
mPendingChannelsmissingsetInUse(true)and unconditionalsetInUse(false)src/platforms/esp/32/drivers/rmt/rmt_4/channel_driver_rmt4.cpp.hpp:272-275,521,617-645: pending channels sit unprotected untilstartTransmission(), andclearPendingChannels()/ push failures clearisInUsewithout verifying the sameChannelDataPtris not active inmChannels.
- 16. [BUG][P1] Fix LPC845 UART DMA & SCT DMA missing destructor DMA abort and
setInUse/ orphan gapssrc/platforms/arm/lpc/drivers/uart_dma/channel_engine_lpc_uart_dma.cpp.hpp:148-179,227&src/platforms/arm/lpc/drivers/sct_dma/channel_engine_lpc_sct_dma.cpp.hpp:47: defaulted destructors never abort DMA before destroying encoded buffers; UART DMA orphansmEnqueuedChannelswhile active and leaves channels 1..N unprotected.
- 17. [BUG][P1] Fix remaining ESP32/ESP8266/nRF52 destructor teardown, OOM, and spin-loop bugs
src/platforms/esp/32/drivers/lcd_cam/channel_driver_lcd_rgb.cpp.hpp:59-74,174,212-224,305-307,334-344(free-before-deinit, unbounded dtor loop, uncheckedresize()OOB);src/platforms/esp/32/drivers/spi/channel_driver_spi.cpp.hpp:173-206(freesstagingA/stagingBbefore polling in-flight transactions);src/platforms/esp/32/drivers/lcd_spi/channel_driver_lcd_spi.cpp.hpp:64-76&src/platforms/esp/32/drivers/i2s_spi/channel_driver_i2s_spi.cpp.hpp:50-57(free DMA buffers on timeout withoutdeinitialize());src/platforms/esp/8266/i2s_channel_driver.cpp.hpp:100-116(uncheckedresize()truncation + unbounded waits);src/platforms/arm/nrf52/clockless_arm_nrf52.h:186,275-281(unbounded spin + 0-length PWM playback).
CI, Security & Configuration Bugs
- 18. [BUG][P0] Wire Python lint/format & lockdown scripts into CI, fix
masterruff drift, and covercheck_attiny85.yml- Format
ci/ci_labels.pyandci/tests/test_ci_labels.py(regressed in ci: use on-demand Dell capacity for board builds #5434); wirebash lint --py,ci/lint/check_size_thresholds.py,ci/lint/blink_lockdown.py, andci/lint/root_project_ini_lockdown.pyinto.github/workflows/template_unit_test.yml; include.github/workflows/check_attiny85.yml:38-39incheck_size_thresholds.py+.coderabbit.yamland update staledocs/SIZE_THRESHOLD_HISTORY.md.
- Format
- 19. [BUG][P0] Gate
.github/workflows/claude.ymlon the Jevsanitizedlabel and fix.coderabbit.yamlschema error- Add a consumer-side
sanitizedgate in.github/workflows/claude.yml:28-40(documented open security limit indocs/issue-sanitizer.md:247-269) and remove the invalidenabled: truekey underreviews.pre_merge_checksin.coderabbit.yaml:3-4that emits a validation warning on every PR.
- Add a consumer-side
- 20. [BUG][P1] Fix Linux CI
apt-getMicrosoft-repo 403 flakes,esp32c5symbol-analysis timeouts, andproject-automationGraphQL 500 retries- Strip
/etc/apt/sources.list.d/microsoft*.listacross the 7 Linux workflows calling baresudo apt-get update(brokenightly examples linux3 consecutive nights); fixci/symbol_analysis_runner.pyhitting the 5-min step timeout despite--skip-on-failure(failingesp32c5); add retry/backoff inci/github_project_sync.pyon transient GraphQL 500s and remove the obsoletesync-always-fails note inagents/docs/workflow.md:97.
- Strip
Part 2 — Features, Performance & Infrastructure (21–30)
- 21. [PERF][P1] Land perf(encode): resolve colour order once per strip (experiment; punt if it adds complexity) (#5375) #5378 (
perf/5378-channel-order-once) and close perf(show): cut legacy show() overhead inside the layered pipeline (meta, #5356) #5375 / perf(esp32): measure and cut instruction-cache stalls on the show() hot path (IPC ~0.41 on C6) (#5375) #5422 ESP32show()latency epic- Validate and PR
src/fl/chipsets/encoders/pixel_iterator.h:478-489(~4.8% C6 channel-APIshow()win), close perf(esp32): measure and cut instruction-cache stalls on the show() hot path (IPC ~0.41 on C6) (#5375) #5422 (cache-stall hypothesis refuted by test(autoresearch): cold-vs-warm flash-cache show() mode in timingDriftTest (#5422) #5426), lowertests/data/show_latency_budget.txtfrom280µs toward measured ~118–136 µs, and close meta perf(show): cut legacy show() overhead inside the layered pipeline (meta, #5356) #5375.
- Validate and PR
- 22. [FEATURE][P1] Generalize AutoResearch
show()latency regression gate across all drivers and verify ESP32-S3 (perf(esp32): FastLED.show() still ~5x slower than 3.10.3 on ESP32-S3 RMT5 after #5350 (follow-up to #2994) #5356)- Extend
tests/data/show_latency_budget.txtandexamples/AutoResearchbeyondesp32c6 RMTto--parlio,--spi,--i2s,--lcd, and run final ESP32-S3 hardware benchmark vs 3.10.3 to close perf(esp32): FastLED.show() still ~5x slower than 3.10.3 on ESP32-S3 RMT5 after #5350 (follow-up to #2994) #5356.
- Extend
- 23. [FEATURE][P1] Finish review feedback and merge ESP32-S31 support (Activate support for new Espressif ESP32-S31 #5490)
- Checks are green on
feat/esp32-s31; address remainingCHANGES_REQUESTEDreview comments and land.
- Checks are green on
- 24. [FEATURE][P2] Rebase, fix builds, and merge
FL_CHANNEL_DEFAULT_DRIVERS=0opt-out (feat(channels): FL_CHANNEL_DEFAULT_DRIVERS=0 drops the platform default drivers; enable<AUTO> compiles where no DefaultBus exists #5225)- Rebase dirty
feat/channel-default-drivers-offontomaster, resolve the 2 failingtest / buildjobs, and land minimal-build default-driver elision.
- Rebase dirty
- 25. [FEATURE][P2] Implement multi-lane
SpiHw2/4/8/16initialization inSpiChannelEngineAdapter- Complete the 2 TODOs in
src/fl/channels/adapters/spi_channel_adapter.cpp.hpp:189so multi-lane hardware SPI engines initialize through the unified channel adapter.
- Complete the 2 TODOs in
- 26. [FEATURE][P2] Advance Profiled Color Pipeline epic (feat(color): design a profiled high-precision color-accurate output pipeline #4032) and port FluidSim to
src/fl/fx/2d(FluidSim: library Fx2d + fixed-point tier (needs ESP32-S3 fps) #5418)- Reconcile remaining sub-issues P1–P10 (Color pipeline P1: datasheet characterization and profile artifact schema #4035–Color pipeline P10: hardware measurement gate and program closure #4044) under feat(color): design a profiled high-precision color-accurate output pipeline #4032, and move
examples/FluidSimintosrc/fl/fx/2d(Fx2d) with fixed-point tier targeting ≥20 fps @ 48×32 on ESP32-S3 (FluidSim: library Fx2d + fixed-point tier (needs ESP32-S3 fps) #5418).
- Reconcile remaining sub-issues P1–P10 (Color pipeline P1: datasheet characterization and profile artifact schema #4035–Color pipeline P10: hardware measurement gate and program closure #4044) under feat(color): design a profiled high-precision color-accurate output pipeline #4032, and move
- 27. [CI/INFRA][P2] Migrate 124 workflows off deprecated Node.js 20 actions & resolve stalled CI PRs (ci(push): add ./push, a GATE-014 delegate to prooft --push (shadow mode) #5420, feat(ci): add declaration-driven emulator gate runner #5218, ci(qemu): stop running emulator builds on every pull request #5223, chore: stop tracking .claude/settings.local.json, which .gitignore already lists #5315)
- Upgrade
actions/checkout@v4,setup-python@v5,setup-uv@v6,upload-artifact@v4,download-artifact@v4, andcache@v4across.github/workflows/; make maintainer go/no-go calls on./push(./push: prove lint + host unit tests on the pushed head (prooft), push, open PR #5372 / ci(push): add ./push, a GATE-014 delegate to prooft --push (shadow mode) #5420), emulator gate (feat(ci): add declaration-driven emulator gate runner #5218 / ci(qemu): stop running emulator builds on every pull request #5223), and untracking.claude/settings.local.json(chore: stop tracking .claude/settings.local.json, which .gitignore already lists #5315).
- Upgrade
- 28. [TECH DEBT][P2] Burn down
examples/AutoResearch/platform-neutrality debt (AutoResearch: move existing platform-specific code behind core APIs #4720)- Move unexempted platform code across 32 files (143 platform
#ifs, 58 vendor#includes, 136 SDK calls — starting withAutoResearchNet.cpp,AutoResearchOta.cpp,AutoResearchRemoteSystemMethods.cpp,AutoResearchPlatform.h) behind platform-neutralsrc/fl/APIs.
- Move unexempted platform code across 32 files (143 platform
- 29. [TECH DEBT][P2] Shrink AVR stack frames exceeding 2 KB SRAM and tighten
avr_stack_ledger.jsonslack- Run
--avr-stack-updateto lock in observed slack (wave8Transpose_16x4_pipe4562→532 B,ScreenMap::ParseJson470→460 B, etc.) and gate/shrink the 4 frames inci/codec_memory/avr_stack_ledger.jsonlarger than ATmega328P's total 2048 B SRAM (SoftwareMpeg1Decoder::initializeDecoder8263 B,SoftwareGifDecoder::loadMoreData4192 B,stb_vorbis::vorbis_decode_packet_rest2570 B,ParallelDevice::begin2119 B).
- Run
- 30. [TECH DEBT][P2] Repo & backlog hygiene sweep: prune dead branches/stashes, land docs(readme): fix dead Wave Simulation library link #5263, and retire obsolete files
- Prune merged/closed remote and local branches and superseded stashes; decide on parked experiments (
feat/flexio-singleton-elision,wip/grind-4761); approve CI and merge docs(readme): fix dead Wave Simulation library link #5263 (dead README link); remove pending-deletionsrc/platforms/esp/32/drivers/rmt/rmt_5/rmt5_controller_lowlevel.cpp.hpp; reconcile stale checkboxes inagents/tasks/todo.md.
- Prune merged/closed remote and local branches and superseded stashes; decide on parked experiments (
Metadata
Metadata
Assignees
Labels
area: ciGitHub Actions, fbuild, toolchainsarea: coreLED drivers, color math, animationsarea: driversChipset drivers (WS2812, APA102, etc)type: bugSomething is broken
Type
Projects
- StatusShow more project fieldsTriage
Activity
zackees commentedon Dec 3, 2026
Batch Completion Summary (30 PRs Merged to
master)All Part 1 Bug Fixes (Items 1–20) and 7 of 10 Part 2 items (21, 22, 24, 25, 27, 29, 30) have landed on
masterthrough the merge queue, with phase 1 / triage completed on the remaining 3 items (23, 26, 28):Part 1 — Bug Fixes (1–20: 100% Merged)
ChannelManagerbusy replacement + S3 flash trim)clearAllDrivers()/removeDriver()busy guards)SpiChannelEngineAdapter), fix(channels): guard Channel::applyAddressing against zero-width XYMap and OOM #5496 (Channel::applyAddressing), fix(teensy4): re-check isInUse after wait and verify encoded byte count in block clockless controller #5503 (Teensy FIBCC), fix(esp32/rmt4): mark pending channels in-use and preserve active hardware channel flags #5504 (ESP32 RMT4), fix(lpc845): abort DMA in UART/SCT destructors, drop busy-show pending, protect channels 1..N #5505 (LPC845 UART/SCT DMA), fix(drivers): fix teardown DMA UAF, OOM resize checks, and unbounded waits across 6 drivers #5506 (LCD-RGB/SPI/LCD-SPI/I2S-SPI/ESP8266/nRF52)c++filtbatching ~1000× faster,claude.ymlrestricted to plainsanitizedissues + live race check, Microsoft APT strip, GraphQL retries,check_attiny85.ymlsize lock)Part 2 — Features, Performance, Caching & Hygiene (21–30)
pixel_iterator.hwire-slot load), perf(esp32): measure and cut instruction-cache stalls on the show() hot path (IPC ~0.41 on C6) (#5375) #5422 closed (refuted), perf(autoresearch): tighten esp32c6 RMT show() latency budget to 175 us and add PARLIO budget #5510 (tightened C6 RMT budget to 175 µs after measuring 125.3 µs / 8,352 instr on real ESP32-C6; added PARLIO budget at 296.8 µs). ESP32-S3 HIL check remains pending S3 hardware.FL_CHANNEL_DEFAULT_DRIVERS=0rebased, fixed, and merged).SpiChannelEngineAdaptermulti-laneSpiHw2/4/8/16init & transposition).fl::FluidSim(src/fl/fx/2d/fluid_sim.{h,cpp.hpp}) with unit tests & refactoredexamples/FluidSim. (feat(color): design a profiled high-precision color-accurate output pipeline #4032 remains unsanitized; FluidSim: library Fx2d + fixed-point tier (needs ESP32-S3 fps) #5418 S3 fixed-point bench pending S3 hardware.)ci/lint_cpp/rust_binary_cache.pyfrom mtime toblake2bcontent hashing; ci(qemu): stop running emulator builds on every pull request #5223 & chore: stop tracking .claude/settings.local.json, which .gitignore already lists #5315 closed as superseded (ci(push): add ./push, a GATE-014 delegate to prooft --push (shadow mode) #5420 / feat(ci): add declaration-driven emulator gate runner #5218 left for maintainer call).fl::platformName()(src/fl/system/platform_info.h) andfl::serial_set_buffer_sizes()/fl::serial_set_tx_timeout_ms()(src/fl/system/serial_config.h) out ofexamples/AutoResearch/.rmt5_controller_lowlevel.{h,cpp.hpp}, untracked.claude/settings.local.json, reconciledagents/tasks/todo.md).Dell (
edell/forge-ci) Runner Canaryubuntu-latestwhenslots_online == 0).fastledcanary PR opened atforge-ci/gh-runner#614(policy.py validate,policy.py render,pytest tests/lanes_test.py7/7 pass). Live rollout viascripts/deploy.sh dell-fsx3mn2was deferred while the fleet deploy lock remained held externally by an autonomous switch ondell-jw22zc3.