Skip to content

Chore/test version check#5405

Closed
kieranskelly wants to merge 20 commits intowled:mainfrom
GridLights:chore/test-version-check
Closed

Chore/test version check#5405
kieranskelly wants to merge 20 commits intowled:mainfrom
GridLights:chore/test-version-check

Conversation

@kieranskelly
Copy link

@kieranskelly kieranskelly commented Mar 5, 2026

Summary by CodeRabbit

  • New Features
    • Added 62 new LED animation modes including custom shapes, spirals, waves, diamonds, and black hole effects
    • Increased animation frame rate to 100 FPS for smoother visual playback
    • Added version tracking in system information

Michael Griffin and others added 20 commits November 26, 2024 02:44
- Add gridlights-build.yml GitHub Actions workflow that builds esp32dev
  on every push and pull request, with pip/platformio/.pio caching
- Add platformio_override.ini with GridLights hardware defaults:
  LED pin 4, 37x SK6812 RGBW, relay pin 5 (active low)
- Remove platformio_override.ini from .gitignore so board config is shared

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaced by gridlights-build.yml which uses non-deprecated action versions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Allows manual runs from the GitHub Actions tab.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The .bin lives at .pio/build/<env>/firmware.bin, not build_output/.
Also set if-no-files-found to error so a missing binary fails the build.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…bah, aHourglass, AlmostNuke, aNuke)

- Added 35 new effects in 7 families, each at 3/6/9/12/20 Hz variants
- Mode IDs 214-248, MODE_COUNT updated to 249
- Fixed Frame struct initializers from {data,60,N} to {data,37,1,60,N,255}
- Added missing aSidewaysMerkabah3 implementation
- Fixed duplicate aSidewaysMerkabah6 addEffect registration

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds GRIDLIGHTS_VERSION build flag (2.2.1) to platformio_override.ini and
exposes it as gl_ver in the serializeInfo() response, distinct from the base
WLED ver field.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fails any pull request targeting main where GRIDLIGHTS_VERSION in
platformio_override.ini has not been incremented relative to main.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 5, 2026

Caution

Review failed

Pull request was closed or merged during review

Walkthrough

Introduces the GridLights project infrastructure with automated build and version-check GitHub Actions workflows, adds 62 new FX effect modes with a frame-based rendering framework to FX.cpp, increases frame rate from 42 to 100 FPS, and adds GridLights-specific configuration via platformio_override.ini while removing DNS captive portal functionality.

Changes

Cohort / File(s) Summary
CI/Build Infrastructure
.github/workflows/gridlights-build.yml, .github/workflows/version-check.yml, .github/workflows/wled-ci.yml
Added GridLights automated build workflow with matrix builds for ESP32, caching, and firmware artifact upload; added version-check workflow to enforce version bumping; removed legacy wled-ci.yml workflow.
Project Configuration
platformio.ini, platformio_override.ini, .gitignore
Created platformio_override.ini with GridLights ESP32 environment and preprocessor definitions; narrowed default_envs to esp32dev; removed platformio_override.ini from .gitignore to track it.
Effect System Expansion
wled00/FX.h, wled00/FX.cpp
Increased WLED_FPS from 42 to 100; expanded MODE_COUNT from 187 to 249; introduced Frame struct and 62 new FX modes including custom shapes, Hz-controlled patterns, black holes, and 2D matrix variants with frame-based multi-frame rendering framework.
Core System Refinements
wled00/FX_fcn.cpp, wled00/json.cpp, wled00/wled.cpp
Removed IRAM_ATTR_YN annotation from Segment::setPixelColor; removed early-return in allocateData for zero-length requests; added "gl_ver" field to JSON serialization; disabled captive portal DNS handling (processNextRequest, setErrorReplyCode, start, stop operations).

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Suggested reviewers

  • softhack007
  • willmmiles
🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 21.62% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The PR title is too vague and generic. While it mentions 'version check', the scope of changes is far broader, including new CI workflows, FX effects framework, GPIO changes, and configuration updates. Revise the title to more accurately reflect the primary changes, such as 'Add GridLights CI/CD workflows and custom FX effects framework' or specify the main objective if this is intentionally a test PR.
✅ Passed checks (1 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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.

@kieranskelly kieranskelly reopened this Mar 5, 2026
@kieranskelly kieranskelly deleted the chore/test-version-check branch March 5, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants