Skip to content

Name the Build Jobs That Do Not Opt Out of the Smoke Skip in D2.2 - #1533

Merged
ptr727 merged 1 commit into
developfrom
feature/1522-d2-2-opt-out-jobs
Sep 11, 2026
Merged

ptr727 merged 1 commit into
developfrom
feature/1522-d2-2-opt-out-jobs

Conversation

@ptr727

@ptr727 ptr727 commented Sep 11, 2026 •

Copy link
Copy Markdown
Owner

Settles the last open item of #1522, and item 1 of #1200 and item 28 of tracker #1369, which report the same defect.

What changes

WORKFLOW.md D2.2 explains why validate-release exits inside its step on a smoke build rather than skipping at job level. It named github-release as a dependent that does not opt out of a skipped needs: entry. github-release's if: carries !failure() && !cancelled(), so a skipped validate-release would not skip it. The dependents that do not opt out are dotnet-publish, build-nuget, and build-pypi, whose if: carries no status-check function, so a job-level skip would skip their smoke builds.

Whole-unit review of the first wording found that the sentence before it named if: always() as the only opt-out, which D7.4 in the same section contradicts and build-docker's own guard disproves. Each "skips unless" wording that followed drew the same finding, since an explicit success() carries a status-check function and replaces the implicit one, yet still skips on a skipped need. With the maintainer's go-ahead past the two-round budget, D2.2 now states only the direction that holds: a dependent whose if: carries no status-check function gets the implicit success() and skips with it.

The workflow-ci-contract Skill's generated include of section 4 carries the same text.

Left open deliberately

Whole-unit review of section 4 also raised statements this change did not write. Most were already filed, and the three that were not are now recorded:

Verification

  • Four whole-unit review rounds over WORKFLOW.md section 4 and its Skill include, the last finding nothing in D2.2, recorded in reports/canonical-review.json, and a local strict-review pass over the whole diff.
  • Prose gate, repo gate (eol, eol-coverage), spec validation, generated-skill check, and the Docker linters are green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QNQoguANRoFqeCJL7Kczc8

Summary by CodeRabbit

  • Documentation
    • Clarified how job-level skips propagate to dependent jobs when no status-check condition is specified.
    • Updated examples to identify the affected smoke-build jobs and explain when they are skipped.
    • Refreshed recorded workflow review metadata, including digests, finding counts, commit references, and timestamps.

WORKFLOW.md D2.2 said github-release carries validate-release in needs:
and does not opt out, but its if: carries !failure() && !cancelled(),
so a skipped validate-release would not skip it. The jobs that do not opt
out are dotnet-publish, build-nuget, and build-pypi, whose if: carries no
status-check function, so a job-level skip would skip their smoke builds.
That is the real reason the check exits inside the step. The sentence
before it also named if: always() as the only opt-out, which D7.4 in the
same section contradicts and build-docker's own guard disproves. It now
states only the direction that holds: a dependent whose if: carries no
status-check function gets the implicit success() and skips with it. The generated
workflow-ci-contract include carries the same text.

Settles the last open item of #1522, and item 1 of #1200.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 11, 2026 15:40
@coderabbitai

coderabbitai Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 538e1492-edc4-4cef-8c18-2d591c0947f4

📥 Commits

Reviewing files that changed from the base of the PR and between 3bb13ce and 43e91fc.

⛔ Files ignored due to path filters (3)
  • .claude-plugin/fleet-skills/.source-digests/workflow-ci-contract is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/workflow-ci-contract/references/d-guarantees.md is excluded by !.claude-plugin/fleet-skills/**
  • .github/skills/workflow-ci-contract/references/d-guarantees.md is excluded by !.github/skills/**
📒 Files selected for processing (3)
  • .agents/skills/workflow-ci-contract/references/d-guarantees.md
  • WORKFLOW.md
  • reports/canonical-review.json

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


📝 Walkthrough

Walkthrough

The D2.2 documentation now describes implicit success() behavior for dependent jobs when validate-release is skipped. The canonical review metadata records the corresponding updates.

Changes

Workflow contract documentation

Layer / File(s) Summary
D2.2 contract documentation and review metadata
.agents/skills/workflow-ci-contract/references/d-guarantees.md, WORKFLOW.md, reports/canonical-review.json
The documentation names dotnet-publish, build-nuget, and build-pypi as dependents affected by a job-level skip. The review metadata updates the related digests, finding counts, hub commits, and timestamps.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 43e91

The workflow documentation and metadata accurately describe the affected smoke-build jobs and their skip behavior.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main documentation change: identifying build jobs that do not opt out of the D2.2 smoke skip.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/1522-d2-2-opt-out-jobs

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

Comment @coderabbitai help to get the list of available commands.

@ptr727

ptr727 commented Sep 11, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Sep 11, 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.

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.

🟢 Approval recommended

The documentation change is consistent with the workflow implementation and the distributed skill/reference copies are updated accordingly.

Pull request overview

Updates the workflow behavioral contract documentation to correctly name which release-task build jobs would be implicitly skipped if validate-release were skipped at the job level during smoke builds, aligning the contract text with the actual job if: conditions used in the release workflow.

Changes:

  • Rewords WORKFLOW.md D2.2 to describe the “implicit success()” behavior and name the impacted dependent jobs (dotnet-publish, build-nuget, build-pypi).
  • Propagates the same D2.2 wording into the carried workflow-ci-contract references (authored source + generated distributions).
  • Updates canonical-review tracking artifacts (unit digests / stamps) to reflect the new reviewed content.
File summaries
File Description
WORKFLOW.md Updates D2.2 wording to name the dependent jobs that would skip when a needs: entry is skipped and the dependent has no status-check function in if:.
reports/canonical-review.json Refreshes canonical-review digests/stamps for the affected units.
.agents/skills/workflow-ci-contract/references/d-guarantees.md Updates the authored skill reference copy of the D-guarantees include content.
.github/skills/workflow-ci-contract/references/d-guarantees.md Regenerated GitHub Copilot skill distribution copy reflecting the updated D2.2 text.
.claude-plugin/fleet-skills/skills/workflow-ci-contract/references/d-guarantees.md Regenerated Claude plugin skill distribution copy reflecting the updated D2.2 text.
.claude-plugin/fleet-skills/.source-digests/workflow-ci-contract Updates the distribution digest for the workflow-ci-contract skill bundle.
Review details
  • Files reviewed: 6/6 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ptr727
ptr727 merged commit c4ecc46 into develop Sep 11, 2026
9 checks passed
@ptr727
ptr727 deleted the feature/1522-d2-2-opt-out-jobs branch September 11, 2026 16:22
ptr727 added a commit that referenced this pull request Sep 11, 2026
)

Promotes `develop` to `main`, carrying one merged pull request.

Closes #1522

## What this promotes

- [#1533](#1533) corrects
`WORKFLOW.md` D2.2's explanation of why `validate-release` exits inside
its step on a smoke build rather than skipping at job level. It named
`github-release` as a dependent that does not opt out of a skipped
`needs:` entry, where `github-release`'s `if:` carries `!failure() &&
!cancelled()` and so runs past a skipped gate. D2.2 now names
`dotnet-publish`, `build-nuget`, and `build-pypi`, whose `if:` carries
no status-check function, so the implicit `success()` would skip their
smoke builds. It also drops the sentence naming `if: always()` as the
only opt-out, which D7.4 and `build-docker`'s own guard contradict, and
states only the direction that holds. The `workflow-ci-contract` Skill's
generated include carries the same text. It settles the last open item
of #1522, item 1 of #1200, and item 28 of tracker #1369.

## Adopter impact

Documentation only. No workflow, action, or script changes, so no fleet
repository's build or publish behavior moves.

## Left open deliberately

- [#1200](#1200): only
its first item is settled here.
- Whole-unit review of section 4 raised further statements this change
did not write, each filed rather than fixed: #1523, #1524, #1527, #1531,
and #1369 item 55 for section 4, and #1360 for
`docs/reusable-workflows.md` "Permissions".

## Verification

- Four whole-unit review rounds over `WORKFLOW.md` section 4 and its
Skill include, recorded in `reports/canonical-review.json`, the last
finding nothing in D2.2, and a local strict-review pass over the whole
diff. The wording went past the two-round budget with the maintainer's
explicit go-ahead, since each "skips unless" form drew the same finding.
- Copilot reviewed #1533 at full coverage, 6 of 6 files, with no
findings.
- Prose gate, repo gate, spec validation, generated-skill check, and the
Docker linters are green.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01QNQoguANRoFqeCJL7Kczc8
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