Skip to content

Declare Python for HolidayLights - #4654

Merged
ptr727 merged 5 commits into
developfrom
registry/holidaylights-python-20261206
Dec 6, 2026
Merged

ptr727 merged 5 commits into
developfrom
registry/holidaylights-python-20261206

Conversation

@ptr727

@ptr727 ptr727 commented Dec 6, 2026 •

Copy link
Copy Markdown
Owner

Declares HolidayLights as python in the registry now that its main carries the lint-only Python tool, its tests, and the Codecov upload (ptr727/HolidayLights#84, #86, promoted in #87).

  • registry/repos.json: adds the python type and pythonDirectories: ["."], keeps CODECOV_TOKEN (from Require a Codecov Token for HolidayLights Ahead of Its Python Tests #4646), and drops Require a Codecov Token for HolidayLights Ahead of Its Python Tests #4646's "Planned" drift note now that this change does what it planned. Rewrites the show-folder note so FPP/ is the committed provisioning config the Python tool pulls and diffs, with apply planned (ptr727/HolidayLights#79). Rewrites the line-ending note, since ptr727/HolidayLights@e031f34 dropped the CRLF pin.
  • docs/eol-lf-rollout.md: records the dropped pin on the HolidayLights row.
  • docs/pre-commit-hooks-rollout.md: lists HolidayLights as python, owed the pre-commit framework plus doc gates.

Earlier Local-Pass Findings, Cleared Outside This Branch

An earlier local pass, over the same content before the rebase onto #4646, raised two findings. Both were cleared outside this branch:

  • The registry's ground truth is HolidayLights main, which did not yet carry the Python tool. Cleared by ptr727/HolidayLights#87, which promoted it to main.
  • HolidayLights' release workflow called the validator without python-directories. Cleared by ptr727/HolidayLights#86.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Updated the HolidayLights setup notes to reflect its Python tooling and pre-commit checks.
    • Clarified that its effects preset file uses LF line endings, with no CRLF exception.
    • Updated repository registry details for the Python directory and tracked provisioning configuration.

ptr727 and others added 3 commits December 6, 2026 12:51
HolidayLights gains a lint-only Python tool at its root, scripts/ and
tests/ beside a tool-config-only pyproject.toml, to pull, diff, and apply
FPP controller configuration (ptr727/HolidayLights#79). Declare the
python type, the root as its Python directory, and CODECOV_TOKEN for the
coverage upload its tests owe.

Also correct two stale drift notes: FPP/ now holds committed provisioning
config rather than local backups, and the effect-presets CRLF pin was
dropped once xLights 2026.21 wrote that file LF.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Repair the drift note's backups list, say where the credential-carrying
FPP exports live now that FPP/ is committed config, cite the commit that
dropped the effect-presets CRLF pin, and update the two rollout docs that
still described HolidayLights as CRLF-pinned and language-free.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings December 6, 2026 20:53
@coderabbitai

coderabbitai Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

Explain Change →

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The HolidayLights registry entry now declares Python and the repository root. Its drift notes and rollout checklist entries now describe the provisioning configuration, Python tooling, and LF line-ending state.

Changes: HolidayLights records

Layer / File(s) Summary
Registry and rollout records
registry/repos.json, docs/pre-commit-hooks-rollout.md, docs/eol-lf-rollout.md
The registry declares Python and the repository root, and updates provisioning and line-ending notes. The rollout checklists record the Python/pre-commit setup and the LF line-ending state.

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

Possibly related issues

  • Issue 3942 describes a shared registry rule for declaring Python repositories. This PR also updates the HolidayLights Python registry entry, though the issue concerns other repositories.

Possibly related PRs

  • ptr727/ProjectTemplate#4055: It edits the same HolidayLights registry entry and rollout checklist row, so the overlapping record changes may need reconciliation.
Merge Risk: Minimal · previous review b595f

This updates the HolidayLights registry entry and rollout docs to record it as a Python repository with accurate provisioning and line-ending notes. It changes no runtime behavior. Downstream caller configuration in HolidayLights could not be checked from here, but any mismatch would appear as a fleet-audit finding and is easy to correct.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Declare Python for HolidayLights" matches the main change. The registry entry for HolidayLights now declares the python type and pythonDirectories ["."], and the rollout docs now list Holid…
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.
Full details: Title check

Explanation

The title "Declare Python for HolidayLights" matches the main change. The registry entry for HolidayLights now declares the python type and pythonDirectories ["."], and the rollout docs now list HolidayLights as python. The title is short, specific, and describes the primary change without a file list.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b512351 and b595fa5.

Files selected for processing: 3

  • docs/eol-lf-rollout.md
  • docs/pre-commit-hooks-rollout.md
  • registry/repos.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@ptr727

ptr727 commented Dec 6, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head b595fa54ad05959589121680d2d23b2ba4bb371f, the content this pull request carries at that commit against develop, and it recorded 0 findings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The rollout document still presents the former CRLF exception as current, contradicting the registry’s new LF state and requiring a wording correction.

1 open issue
What changed in this PR

Declares HolidayLights as a lint-only Python repository and updates rollout documentation to match its current configuration.

Changes:

  • Adds the python type and root directory declaration.
  • Updates repository notes, pre-commit tracking, and line-ending rollout records.
File Description
registry/​repos.json Declares HolidayLights' Python tooling, root directory, secret requirement, and updated repository notes.
docs/​pre-commit-hooks-rollout.md Lists HolidayLights' Python pre-commit coverage and documentation requirements.
docs/​eol-lf-rollout.md Records HolidayLights' line-ending rollout status and removed CRLF exception.

Review effort: Lite

Comment thread docs/eol-lf-rollout.md Resolved
@codecov

codecov Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.47%. Comparing base (b38e084) to head (569092c).
⚠️ Report is 434 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4654      +/-   ##
===========================================
- Coverage    81.60%   78.47%   -3.14%     
===========================================
  Files           26       58      +32     
  Lines         9070    17873    +8803     
===========================================
+ Hits          7402    14026    +6624     
- Misses        1668     3847    +2179     
Flag Coverage Δ
python-3.13 78.47% <ø> (-3.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727

ptr727 commented Dec 6, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@ptr727

ptr727 commented Dec 6, 2026

Copy link
Copy Markdown
Owner Author

/review

@coderabbitai

coderabbitai Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

ptr727 and others added 2 commits December 6, 2026 13:13
The rollout row read as if xlights_effectpresets.json were still pinned
CRLF, contradicting the registry's lineEndings: lf with no exception.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The fleet default's *.bat and *.cmd pin is still a CRLF exception
HolidayLights carries, so the unqualified claim read as false against
the rollout doc's own definition.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ptr727

ptr727 commented Dec 6, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 569092cbf15a2a56a58f7561f8357c12ca6c90c1, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@ptr727
ptr727 merged commit 23478c5 into develop Dec 6, 2026
17 checks passed
@ptr727
ptr727 deleted the registry/holidaylights-python-20261206 branch December 6, 2026 21:40
ptr727 added a commit that referenced this pull request Dec 6, 2026
…4657)

## Promoted pull requests

- #4656: Set up uv in `run-codegen-pull-request-task.yml` before its
format step, so a caller's carried pre-commit hook can run the prose
gate through uv when the pull request step commits. Every codegen run in
a repository carrying the current hook failed with `uv: not found` and
opened no pull request.
- #4646: Require `CODECOV_TOKEN` for HolidayLights in
`registry/repos.json` ahead of its Python tests, and record its planned
`python` type as a drift note.
- #4654: Declare HolidayLights as `python` with `pythonDirectories:
["."]` now that its `main` carries the Python tool and tests, drop
#4646's planned-drift note, and record its dropped CRLF pin in
`docs/eol-lf-rollout.md`.

Closes #4641

## Promotion review findings

- Local strict review against `main` on 23478c5,
`run-codegen-pull-request-task.yml:66`: once uv is installed, the
caller's pre-commit prose gate runs over the bot commit, so a generator
emitting an added or edited comment line would abort it. Declined: the
gate reads only lines the commit adds or edits. LanguageTags' generated
C# carries a fixed set of 7 `///` summary lines in two of its four
`*DataGen.cs` files, and a data refresh edits none of them. NxWitness
generates only `Make/Version.json` and `Make/Matrix.json`. A generator
template change arrives by a human pull request, whose own commit runs
the same hook. The bot-commit hook was kept on deliberately, the first
fix #4641 offers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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