Repository navigation
Conversation
…4646) ## Summary HolidayLights is getting a lint-only Python root, with a `tests/` suite and a Codecov upload, in ptr727/HolidayLights#84. That pull request passes `CODECOV_TOKEN` to the hub validator, but the registry entry required no secrets, so `configure.sh apply` never provisioned the token. - `requiredSecrets` now lists `CODECOV_TOKEN`, so the resolver owes it in both the actions and dependabot stores, read from the repository-scoped `~/.secrets/` file. - The `python` type and `pythonDirectories ["."]` are recorded as a planned drift note rather than declared. HolidayLights `main` and `develop` hold no Python until #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.py` passes. - `spec/resolve_secrets.py names` for HolidayLights resolves `CODECOV_TOKEN`, `CODEGEN_APP_CLIENT_ID`, and `CODEGEN_APP_PRIVATE_KEY` in both stores. - With the maintainer's go-ahead, `repo-config/configure.sh apply ptr727/HolidayLights operational` ran from this branch, whose repo-config tooling is identical to `main`'s. It set all three secrets in both stores, and `configure.sh check` exits 0 with every secrets line `ok`. - Two local strict review passes ran. The first found the premature type declaration, which the second commit fixes, and the second found nothing. 🤖 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 registry entry to require a Codecov token and reflect planned project updates. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
## Summary Fixes the codegen task failure in #4641. `run-codegen-pull-request-task.yml` runs `dotnet husky install` in its format step, so the caller's carried `.husky/pre-commit` runs when `peter-evans/create-pull-request` commits. That hook runs the prose gate, and `hub_fetch_run.py`, through uv. The task never installed uv, so every codegen run failed with `uv: not found` and opened no pull request. - Adds the pinned `astral-sh/setup-uv` step (the same SHA `validate-task.yml` uses) before the format step, at Python 3.13, the floor `prose_lint.py` declares. `ignore-nothing-to-cache: true` covers a run where codegen changes nothing, the hook never runs, and the cache stays empty. - Updates the task's description in `docs/reusable-workflows.md`. Refs #4641. The closing keyword goes on the develop -> main promotion. ## Verification - Prose gate (diff-scoped, comments allowed), actionlint, and the eol check pass. - `tests/test_release_guards`, `tests/test_repo_gate`, `tests/test_audit_helpers`: 490 tests pass. - Local strict review at the `frontier` tier: no findings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 15 minutes. View limit details
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. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are identified in the documented uv setup and Codecov secret provisioning changes.
No open issues 🎉
What changed in this PR
Promotes codegen uv setup and HolidayLights Codecov secret provisioning to main.
Changes:
- Installs uv before codegen formatting and pull request commits.
- Documents the uv dependency.
- Adds HolidayLights' Codecov token requirement and planned Python drift note.
| File | Description |
|---|---|
| registry/repos.json | Adds HolidayLights' required Codecov token and records its planned Python type as a drift note. |
| docs/reusable-workflows.md | Documents the uv dependency for codegen workflow hook execution. |
| .github/workflows/run-codegen-pull-request-task.yml | Adds pinned uv setup before code formatting and pull request creation. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4657 +/- ##
=======================================
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:
|
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>
|
@coderabbitai review |
|
/review |
Action not completed
|
|
A recorded local strict-review pass covers head |
Promoted pull requests
run-codegen-pull-request-task.ymlbefore 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 withuv: not foundand opened no pull request.CODECOV_TOKENfor HolidayLights inregistry/repos.jsonahead of its Python tests, and record its plannedpythontype as a drift note.pythonwithpythonDirectories: ["."]now that itsmaincarries the Python tool and tests, drop Require a Codecov Token for HolidayLights Ahead of Its Python Tests #4646's planned-drift note, and record its dropped CRLF pin indocs/eol-lf-rollout.md.Closes #4641
Promotion review findings
mainon 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.csfiles, and a data refresh edits none of them. NxWitness generates onlyMake/Version.jsonandMake/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 The Codegen Task Fails When the Carried Pre-Commit Hook Needs uv #4641 offers.🤖 Generated with Claude Code