Repository navigation
Require a Codecov Token for HolidayLights Ahead of Its Python Tests - #4646
Conversation
HolidayLights#84 adds a lint-only Python root with a tests/ suite and a Codecov upload, so the registry entry gains the python type, pythonDirectories ["."] to match the caller's python-directories input, and CODECOV_TOKEN in requiredSecrets so configure.sh apply provisions it in both stores. The drift note now says FPP/ holds the pulled controller configuration rather than local backups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HolidayLights main and develop hold no Python yet, since #84 is still open, so declaring the type now would make an audit report its files missing. Keep CODECOV_TOKEN in requiredSecrets, which provisions the token on its own, and record the type as planned, as EspDinIoT does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
A recorded local strict-review pass covers head |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, and the metadata updates are limited to the required Codecov secret and planned Python coverage context.
No open issues 🎉
What changed in this PR
Updates HolidayLights registry metadata to provision its Codecov token ahead of planned Python test integration.
Changes:
- Adds
CODECOV_TOKENas a required secret. - Records planned Python support as drift-note context without declaring it prematurely.
| File | Description |
|---|---|
| registry/repos.json | Updates HolidayLights' required secrets and planned Python coverage drift notes. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4646 +/- ##
========================================
Coverage 78.47% 78.47%
========================================
Files 58 58
Lines 17873 17873
========================================
Hits 14026 14026
Misses 3847 3847
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
|
/review |
Action performed
|
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 #4646), and drops #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](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## 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. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…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)
Summary
HolidayLights is getting a lint-only Python root, with a
tests/suite and a Codecov upload, in ptr727/HolidayLights#84. That pull request passesCODECOV_TOKENto the hub validator, but the registry entry required no secrets, soconfigure.sh applynever provisioned the token.requiredSecretsnow listsCODECOV_TOKEN, so the resolver owes it in both the actions and dependabot stores, read from the repository-scoped~/.secrets/file.pythontype andpythonDirectories ["."]are recorded as a planned drift note rather than declared. HolidayLightsmainanddevelophold no Python until Fix pre-release badges (#83) and develop ruleset auto-merge stall (#82) #84 lands, so declaring them now would make an audit report the type's files missing. This follows the EspDinIoT entry's precedent.Verification
spec/validate.pypasses.spec/resolve_secrets.py namesfor HolidayLights resolvesCODECOV_TOKEN,CODEGEN_APP_CLIENT_ID, andCODEGEN_APP_PRIVATE_KEYin both stores.repo-config/configure.sh apply ptr727/HolidayLights operationalran from this branch, whose repo-config tooling is identical tomain's. It set all three secrets in both stores, andconfigure.sh checkexits 0 with every secrets lineok.🤖 Generated with Claude Code
Summary by CodeRabbit