Skip to content

Default the M-1 to WLED 16.0.1 - #25

Merged
bharvey88 merged 1 commit into
mainfrom
feat/m1-default-16-0-1
Jul 27, 2026
Merged

Default the M-1 to WLED 16.0.1#25
bharvey88 merged 1 commit into
mainfrom
feat/m1-default-16-0-1

Conversation

@bharvey88

@bharvey88 bharvey88 commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

The M-1 page opened on WLED-MM 14.5.1 (Rev6). Make WLED 16.0.1 (Rev6 only)
the default by moving it to the first key of firmware.stable, which is what
device.js picks on load.

Rev4 hardware is not covered by 16.0.1, so Rev4 owners now have to switch to
the "WLED-MM 14.5.1 (Rev4)" variant instead of landing on a working default.

Side effect of the reorder, both already-built behavior, no code change: the
page now loads with the "Classic installer" link hidden (WLED-M1 has no
installer page, installers.stable maps that variant to null) and the header
GitHub link pointing at WLED-M1. Both come back on a 14.5.1 variant.

Two tests guarded themselves with test.skip(... 'override is on the default
variant') and would have gone silently dormant once the override became the
default. Rewrote both to compare the default variant against the first variant
that differs, so they assert the toggle in either direction.

Verified: scripts/validate_registry.py OK, 35 python tests, 26 playwright
tests, 0 skipped.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • The M-1 installer now lists WLED 16.0.1 (Rev6) as the default firmware option.
    • WLED-MM 14.5.1 remains available as an alternative for Rev6 and Rev4 hardware.
    • Installer links and GitHub destinations now update correctly when switching firmware variants.
  • Documentation

    • Updated M-1 firmware guidance to clarify default installation behavior, full erase requirements, and Rev4 compatibility.
    • Clarified classic installer availability for each firmware variant.

The M-1 page opened on WLED-MM 14.5.1 (Rev6). Make WLED 16.0.1 (Rev6 only)
the default by moving it to the first key of firmware.stable, which is what
device.js picks on load.

Rev4 hardware is not covered by 16.0.1, so Rev4 owners now have to switch to
the "WLED-MM 14.5.1 (Rev4)" variant instead of landing on a working default.

Side effect of the reorder, both already-built behavior, no code change: the
page now loads with the "Classic installer" link hidden (WLED-M1 has no
installer page, installers.stable maps that variant to null) and the header
GitHub link pointing at WLED-M1. Both come back on a 14.5.1 variant.

Two tests guarded themselves with test.skip(... 'override is on the default
variant') and would have gone silently dormant once the override became the
default. Rewrote both to compare the default variant against the first variant
that differs, so they assert the toggle in either direction.

Verified: scripts/validate_registry.py OK, 35 python tests, 26 playwright
tests, 0 skipped.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d2da1dca-23c0-416b-861e-3fbb628c22a8

📥 Commits

Reviewing files that changed from the base of the PR and between ac7453e and 1813ef4.

📒 Files selected for processing (3)
  • devices.json
  • docs/m1-wled-migration.md
  • tests/installer.spec.js

Walkthrough

The M-1 firmware registry and migration documentation now present WLED 16.0.1 as the default option, while installer tests resolve release-note repositories and classic-installer visibility from the selected variant.

Changes

M-1 firmware variants

Layer / File(s) Summary
M-1 firmware options
devices.json, docs/m1-wled-migration.md
Places WLED 16.0.1 first, documents WLED-MM 14.5.1 alternatives, and describes variant-specific installer links and erase behavior.
Variant-aware installer assertions
tests/installer.spec.js
Makes release-note, GitHub-link, and classic-installer assertions depend on each selected variant rather than fixed ordering or defaults.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: bunton33

Poem

I’m a rabbit with firmware to spare,
WLED leads with a hop in the air.
Variants now choose links just right,
Tests chase each repo in sight.
M-1’s installer path is bright!

🚥 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 clearly summarizes the main change: making WLED 16.0.1 the default firmware for M-1.
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.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/m1-default-16-0-1

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.

@bharvey88
bharvey88 merged commit f3eb93b into main Jul 27, 2026
3 checks passed
@bharvey88
bharvey88 deleted the feat/m1-default-16-0-1 branch July 27, 2026 17:53
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.

1 participant