Repository navigation
Conversation
Implements four of the five edits #1200 was re-scoped to, all in `WORKFLOW.md` section 4 and all answered on that issue. The fifth is declined, since the tree had already settled it in the opposite direction. #1200 is not closed by this pull request, a `develop`-targeted closing reference not registering, and the promotion carries it instead. ## The four edits - **D2.2 states the category rather than the instances.** It named `dotnet-publish`, `build-nuget` and `build-pypi` as the dependents of `validate-release` carrying no status-check function. The claim was true and went stale the next time a target landed, which is the shape that produced the original defect. The item now says `validate-release` has such dependents, and the property sentence above it covers an absent `if:` the way D5.2 already does. The category is the missing status-check function rather than the `if:` spelling, since `if: ${{ inputs.enable_x == true }}` and an absent `if:` skip on a skipped need exactly as a bare input does. - **D4.1 cites D7.3 for the compared form.** D7.3 already carries the coercion rule for a job or step output, so D4.1 names the compared form and cites it rather than restating the reason. Two further claims in the same sentence were wrong and move with it. The plan reads the event, the actor and the ref alone, so it decides neither the release-path exclusion, which is the publisher's `on.push.paths`, nor the schedule's main-only bound, which is schedule config. And "every job gates on it" was false in both directions: this repository's own publisher runs `assert-dispatch-ref` with no `if:` and no `needs:` at all, while the shipped caller stubs run `publish-nuget` with `needs: [validate, publish]` and no `if:`, inheriting the skip rather than gating, which their own comment states is deliberate. Both sections now say that a job **downstream of** the plan either gates on its outputs or inherits the skip through `needs:`. - **D9.3 is scoped to a multi-line block, and so is its home.** As written the guarantee read as universal and was violated by the single-line `run:` steps in this repository's own tree, so a carrier following it literally failed its own audit. `GOVERNANCE.md` "Workflow YAML Conventions" wins on the style rules and named a `run:` block without qualifying it, which left the narrowed guarantee disagreeing with its own home. That bullet now states the single-line exclusion outright, reaches a committed bash script by shebang rather than by an `.sh` extension, and sends a one-liner that pipes or chains commands to a multi-line block, since `pipefail` and `-u` guard inside a single command rather than after it. - **D3.4 states the ordering that holds.** The unenforced MUST that develop must sort above the default release is already gone, and D3.4 said nothing about ordering at all. It now states that the develop build stays `pip install --pre`-selectable and that such a build does not always lead the stable release, and it claims no more than that. `WORKFLOW.md` section 3 carried D4.1's clause verbatim, so it moves in the same change rather than being left to contradict section 4, and `references/d-guarantees.md` and `references/architecture.md` regenerate into all three distributions. ## The declined item **D9.5 is left as written.** The answer recorded on #1200 was to state that workflow YAML is LF regardless of `.editorconfig`, with the reason that Actions and Dependabot rewrite it that way. #1388 deleted that exact rule on the maintainer's call, because the whole-unit reads showed the reason false: under the paired `* text=auto eol=crlf` git stores LF and checks out CRLF, so a Dependabot commit of LF bytes leaves nothing mixed, and Actions never writes a workflow file. Section 2, the `comment-and-doc-style` line-ending policy, and that policy's operational-repo rule all agree with the deletion, so `Line endings follow .editorconfig` is true as written. Confirmed with the maintainer before this branch was pushed. ## Three sharper drafts of D3.4 that were each false Recorded so a later round does not re-derive them. - **A commit count.** A merge-commit promotion adds to main's git height and main's own line can already be longer, so on this repository's current graph develop trails by two rather than by one. - **A bare height comparison.** PEP 440 compares the release segment first and NBGV restarts the height at a bump, so a develop-only floor bump leads on the floor while its height sits far below main's. - **A promotion clause.** A promotion is a human merge, and D4.1 says a human merge never auto-publishes, so it moves no registry version and settles nothing about which build leads. ## Verification The declared local gate set in `OPERATIONS.md` "Local Verification" passes whole, `test_install.py` included at 63/63 on a clean tree. Five local adversarial passes ran against this branch, raising 15 findings, every one fixed. The last pass is clean and its receipt is recorded. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Clarified release workflow behavior when publishing is skipped, including how downstream jobs inherit or evaluate that decision. * Added guidance for comparing release versions, including development-release ordering and pre-release installation behavior. * Refined shell scripting requirements for Bash workflows and committed scripts. * Improved CI terminology and examples for dependent jobs and conditional checks. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
|
Warning Review limit reachedNext included review available in 52 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (5)
📒 Files selected for processing (4)
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 |
|
@coderabbitai full review |
|
There was a problem hiding this comment.
🟡 Changes recommended
The edited WORKFLOW.md text still asserts that the plan job is “first”, which is contradicted by the hub’s own publish-release.yml job ordering.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Promotes the develop-proven documentation/contract updates for CI/workflow behavior into main, focusing on clarifying WORKFLOW.md section 4 guarantees and aligning GOVERNANCE.md “Workflow YAML Conventions” with those guarantees across the distributed skill/reference copies.
Changes:
- Refines
WORKFLOW.mdrelease-model and D-guarantee language around publish gating/inheritance, output truthiness, and version ordering nuances. - Updates
GOVERNANCE.mdshell guidance to scopeset -Eeuo pipefailto multi-line bashrun:blocks and bash-script shebangs, and clarifies the single-line and POSIXshexceptions. - Regenerates the distributed reference surfaces (skills + plugin copies + digest) to match the updated canonical text.
File summaries
| File | Description |
|---|---|
| WORKFLOW.md | Updates the canonical workflow behavioral contract and release model prose. |
| GOVERNANCE.md | Aligns Workflow YAML shell conventions with the narrowed D9.3 guarantee. |
| .agents/skills/workflow-ci-contract/references/d-guarantees.md | Source reference copy of D-guarantees updated to match WORKFLOW.md. |
| .agents/skills/workflow-ci-contract/references/architecture.md | Source reference copy of release-model architecture updated to match WORKFLOW.md. |
| .github/skills/workflow-ci-contract/references/d-guarantees.md | Generated distribution copy of D-guarantees updated. |
| .github/skills/workflow-ci-contract/references/architecture.md | Generated distribution copy of architecture updated. |
| .claude-plugin/fleet-skills/skills/workflow-ci-contract/references/d-guarantees.md | Generated plugin distribution copy of D-guarantees updated. |
| .claude-plugin/fleet-skills/skills/workflow-ci-contract/references/architecture.md | Generated plugin distribution copy of architecture updated. |
| .claude-plugin/fleet-skills/.source-digests/workflow-ci-contract | Updates the plugin source digest to reflect the regenerated content. |
Review details
Suppressed comments (1)
WORKFLOW.md:166
- D4.1 also describes
planas the "first" job, but the hub's ownpublish-release.ymlrunsassert-dispatch-refahead of it (soplanis not universally first). Keeping this accurate matters because this file is carried as an architecture/contract reference.
- **D4.1 Gated single-branch publish.** Output: PRs smoke-test and publish nothing. A **human merge never auto-publishes**. A first `plan` job (`publish-plan-task.yml`) decides once. A job downstream of it either gates on the plan's outputs or inherits the skip through `needs:`. A gate on an output takes the compared form D7.3 requires rather than a bare truthiness test. A publish runs on a **code-affecting bot push to `main`** (gated to the codegen App / Dependabot `github.actor`, with an Actions-only bump matching no release path and publishing nothing), a **dispatch** of `main`/`develop`, or a **main-only weekly schedule** (Docker). A source-only repo publishes on dispatch only. Each run builds one branch.
- Files reviewed: 9/9 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Promotes #1673 to
main. The delta is that one change and nothing else,develophaving held no contentmainlacked when the branch was cut.Closes #1200.
What promotes
Four of the five edits #1200 was re-scoped to, all in
WORKFLOW.mdsection 4, plus the two surfaces those edits put in disagreement if left alone.validate-releasecarrying no status-check function with an absentif:included, rather than namingdotnet-publish,build-nugetandbuild-pypiand going stale the next time a target lands.needs:, which is what the hub's publisher and the shipped caller stubs actually do.run:block, matchingGOVERNANCE.md"Workflow YAML Conventions", whose "Shells" bullet now states the single-line exclusion outright, reaches a bash script by shebang rather than by an.shextension, and sends a piped or chained one-liner to a multi-line block.pip install --pre-selectable and does not always lead the stable release, replacing an item that said nothing about ordering after its false MUST was removed.WORKFLOW.mdsection 3 carried D4.1's clause verbatim and moves with it.references/d-guarantees.mdandreferences/architecture.mdregenerate into all three distributions.Why #1200 closes on four edits rather than five
Item 5 asked D9.5 to state that workflow YAML is LF regardless of
.editorconfig, with the reason that Actions and Dependabot rewrite it that way. #1388 deleted that exact rule on the maintainer's call, because the whole-unit reads showed the reason false: under the paired* text=auto eol=crlfgit stores LF and checks out CRLF, so a Dependabot commit of LF bytes leaves nothing mixed, and Actions never writes a workflow file.WORKFLOW.mdsection 2, thecomment-and-doc-styleline-ending policy, and that policy's operational-repo rule all agree with the deletion, soLine endings follow .editorconfigis true as written and implementing item 5 would reinstate a deleted rule carrying a disproved reason. Confirmed with the maintainer before the feature branch was pushed, and recorded on #1200 and in #1673's own body.Review record
#1673 carried five local adversarial passes raising 15 findings, every one fixed, the last pass clean. Copilot reviewed the merged head with full file coverage and raised nothing. CodeRabbit raised one finding, the Husky snippet's missing
set -eu, which is real, pre-existing, outside the diff, and filed as #1674. #1675 holds the one other pre-existing defect the passes found, D4.1 and section 3 calling the plan the first job where the hub runsassert-dispatch-refahead of it.🤖 Generated with Claude Code