Repository navigation
Name the Validate and Docker Hooks, and Point the Release Skill at Section 3 - #1545
Conversation
…ction 3 Settle #1540 and #1539, statements the #1523 change wrote or left that the tree contradicts. D1.2 sends a repo whose tests take another shape to its own validate hook, which the validator runs where it exists, rather than to a replacement validator. Section 3's Build bullet names the Docker leaf's docker-prepare hook, which a docker_matrix bypasses, and the docker-build-base hook beside it, both of which the release task reaches through its build-docker job. The no-build PR stub and the release-with-smoke stub in docs/reusable-workflows.md say a tokenless coverage upload can skip silently rather than reach Codecov. The release skill's override-seam section restated section 3 and disagreed with it in four places, so it is now a pointer to section 3, which the workflow-ci-contract skill carries whole. Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
…nput The validate hook receives no secret, so D1.2 now sends a repo whose other-shape tests owe D1.6's coverage upload to a replacement validator rather than the hook, which could never pass CODECOV_TOKEN. The release skill's override-seam pointer names the inputs a caller of the hub release task sets beyond the enable_* values, docker_image and the project-path inputs, which WORKFLOW.md section 3 does not name. Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (8)
📒 Files selected for processing (7)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change updates workflow documentation for Docker build hooks and custom validation hooks. It revises coverage-token wording in workflow examples and updates canonical review metadata for the affected documentation units. ChangesWorkflow contract documentation
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The documentation and canonical review record updates introduce no identified merge-blocking risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
🟡 Changes recommended
Two updated guidance sections still overstate when the validate hook and certain release-task inputs are usable/required, which can misroute adopters into configurations that cannot run under the reusable tasks’ fixed runner/permission/secret constraints.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
This PR updates the workflow contract and related guidance so repos adopting the reusable validator and release tasks have accurate override instructions for validation hooks, Docker hooks, and Codecov coverage upload behavior, and it refreshes the canonical-review tracking for the touched canonical units.
Changes:
- Expand the “Build” layer description to explicitly name Docker’s
docker-prepareanddocker-build-basehooks and howdocker_matrixbypasses defaults. - Reword Codecov notes in the reusable-workflows doc and the
test-pull-request.ymlsnippet to match tokenless best-effort upload behavior. - Replace the release skill’s override-seam restatement with a pointer to
WORKFLOW.mdsection 3, plus update canonical review digests/stamps.
File summaries
| File | Description |
|---|---|
| WORKFLOW.md | Updates workflow contract prose for build-layer hooks and validator hook guidance. |
| reports/canonical-review.json | Refreshes canonical-unit digests, findings counts, and stamps for the reviewed units. |
| docs/reusable-workflows.md | Adjusts Codecov coverage comment wording in the reusable workflow docs. |
| catalog/snippets/workflows/test-pull-request.yml | Adjusts Codecov coverage comment wording in the canonical PR workflow snippet. |
| .agents/skills/workflow-ci-contract/references/architecture.md | Mirrors the updated “Two Layers” architecture wording in the skill source. |
| .agents/skills/workflow-ci-contract/references/d-guarantees.md | Mirrors the updated D1.2 validator guidance in the skill source. |
| .agents/skills/operational-vs-release-workflow/references/release-publish-mechanics.md | Points override-seam guidance at WORKFLOW.md section 3 (and retains a caller-input sentence). |
| .github/skills/workflow-ci-contract/references/architecture.md | Generated skill copy updated to match the skill source. |
| .github/skills/workflow-ci-contract/references/d-guarantees.md | Generated skill copy updated to match the skill source. |
| .github/skills/operational-vs-release-workflow/references/release-publish-mechanics.md | Generated skill copy updated to match the skill source. |
| .claude-plugin/fleet-skills/skills/workflow-ci-contract/references/architecture.md | Generated plugin skill copy updated to match the skill source. |
| .claude-plugin/fleet-skills/skills/workflow-ci-contract/references/d-guarantees.md | Generated plugin skill copy updated to match the skill source. |
| .claude-plugin/fleet-skills/skills/operational-vs-release-workflow/references/release-publish-mechanics.md | Generated plugin skill copy updated to match the skill source. |
| .claude-plugin/fleet-skills/.source-digests/workflow-ci-contract | Updates plugin source-digest to reflect regenerated content. |
| .claude-plugin/fleet-skills/.source-digests/operational-vs-release-workflow | Updates plugin source-digest to reflect regenerated content. |
Review details
- Files reviewed: 15/15 changed files
- Comments generated: 3
- Review effort level: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Promotes `develop` to `main`, carrying #1541 and #1545. #1541 corrects the `WORKFLOW.md` sections 3, 4 and 6 statements the tree contradicted and points the no-build pull request stub and the release skill at the corrected rules. #1545 fixes what #1541's final passes left: D1.2's route for tests in another shape, the Docker hooks in section 3, the Codecov wording in both stubs, and the release skill's override-seam section, now a pointer to section 3. What the passes found and neither change wrote is filed as #1536 and #1543, and #1545's own final findings as #1544. Closes #1523 Closes #1539 Closes #1540 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01SjJ6HmHg8u8SSdotSezKqk
Summary
Settles #1540 and #1539, the statements the #1523 change (#1541) wrote or left that the tree contradicts, so promotion #1542 does not carry them to
main..github/actions/validate/action.ymlhook, whichvalidate-task.ymlruns where it exists. The hook receives no secret, so a repo whose other-shape tests owe D1.6's coverage upload still replaces the validator.docker-preparehook, which a caller'sdocker_matrixbypasses, and thedocker-build-basehook beside it, both reached through the release task'sbuild-dockerjob, which forwardsdocker_matrixanddocker_build_base.docs/reusable-workflows.mdsay a tokenless upload can skip silently, matching D1.6, rather than that coverage reaches Codecov.WORKFLOW.mdsection 3 and disagreed with it in all four places The Release Skill's Override-Seam Section Carries Statements the Tree Contradicts, Found Settling #1523 #1539 lists, so it is now a pointer to section 3, which theworkflow-ci-contractskill carries whole. Its two remaining sentences on the hub defaults went too, being false for the Docker default and misrouting the overrides that need no hook. It keeps one sentence naming the inputs a caller sets beyondenable_*,docker_imageand the project-path inputs, which section 3 does not name.The whole-unit passes raised further statements this change did not write, filed as #1543 rather than fixed here. The final passes found three more on text this change wrote, D1.2's hook route missing the validator job's fixed runner and scope, and the skill's caller-input sentence overreaching and living only in the skill, filed as #1544 on the maintainer's call to stop editing after a final round.
Verification
scripts/build_dist.py --check,spec/validate.py,scripts/repo_gate.py --check eol,scripts/prose_lint.py, andscripts/docker_lint.pypass.local-strict-review.Refs #1540, #1539
🤖 Generated with Claude Code
https://claude.ai/code/session_01SjJ6HmHg8u8SSdotSezKqk
Summary by CodeRabbit