Repository navigation
Document the Dispatch Guard for a Schedule That Never Publishes - #2890
Conversation
The publish plan reports every schedule as a publish, so a dispatch-only publisher keeping a schedule only to retest has to gate its release jobs on a dispatch event. D4.1 now names that shape, matching what the audit accepts for the D7.1 schedule run-id suffix, and the catalog snippet, the reusable-workflows guide, and the plan task's header each point at it. Fixes #2849
The audit reads only a single-line job if:, so D4.1 says so. The snippet note also names the per-run concurrency group a retest-only schedule needs, since keeping the push suffix lets a scheduled retest replace a pending dispatch.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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.
🔵 Needs a closer look
Unresolved moderate findings require aligning the documented guard and updating the workflow examples.
0 open findings
What changed in this PR
This documentation-only PR clarifies dispatch-only publishers with schedules that retest without publishing and regenerates workflow skill copies.
Changes:
- Documents dispatch guards and schedule concurrency behavior.
- Clarifies schedule
publish=truebehavior. - Regenerates distributed skill references and digests.
| File | Summary |
|---|---|
WORKFLOW.md |
Adds D4.1/D7.1 guidance; guard syntax must align with audit acceptance. |
docs/reusable-workflows.md |
Documents adopter configuration; sample guard and concurrency expression need updates. |
catalog/snippets/workflows/publish-release.yml |
Adds notes; sample guard and concurrency expression need updates. |
.github/workflows/publish-plan-task.yml |
Clarifies schedule output behavior. |
.github/skills/workflow-ci-contract/references/d-guarantees.md |
Regenerated contract copy. |
.claude-plugin/fleet-skills/skills/workflow-ci-contract/references/d-guarantees.md |
Regenerated contract copy. |
.claude-plugin/fleet-skills/.source-digests/workflow-ci-contract |
Updates generated-content digest. |
.agents/skills/workflow-ci-contract/references/d-guarantees.md |
Updates canonical contract reference. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2890 +/- ##
========================================
Coverage 59.62% 59.62%
========================================
Files 16 16
Lines 8682 8682
========================================
Hits 5177 5177
Misses 3505 3505
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:
|
|
Answering the Copilot round's headline on 23f4bb9, which names no open finding. Each of its three hints was checked against the tree, and none holds:
|
…ge Rows, and Directive Comment Wrap to Main (#2894) - #2890 documents the dispatch guard for a schedule that never publishes, in D4.1 and the catalog snippet notes - #2891 skips file-table rows when reading partial coverage markers - #2893 treats a tool directive line as no previous sentence in the comment-wrap rule Closes #2849 Closes #2886 Closes #2885 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Summary
The publish plan reports every
scheduleas a publish. A dispatch-only publisher that keeps a schedule only to retest therefore has to gate its release jobs itself, and nothing documented that shape.WORKFLOW.mdD4.1 names it: each job callingbuild-release-task.ymlcarriesgithub.event_name == 'workflow_dispatch'as an&&term of a single-lineif:holding no||or negated group. That is the shape_schedule_never_publishesinspec/audit.pyaccepts. D7.1's "publisher whose schedule never publishes" now points at D4.1.docs/reusable-workflows.md"Adopting the Release Chain" states the same guard beside the existing D7.1 concurrency sentence.publish-release.ymlsnippet (and its byte-identical copy in the guide) gains two note lines: the dispatch guard, and the per-run concurrency group a schedule run then takes.publish-plan-task.yml's header gains one line saying a retest-only schedule still yieldspublish=true, which the "simply inert" line above it did not cover.workflow-ci-contractskill copies are regenerated withbuild_dist.py.This adds comment lines, so it carries the
commentslabel.Fixes #2849
Verification
python3 scripts/prose_lint.py . --allow-comments --diff origin/develop: clean.--check sentence-length: every new sentence is under the cap. The five reports are two sentences that already existed on the touched lines.python3 scripts/build_dist.py --check,python3 spec/validate.py,python3 spec/audit.py --selftest,python3 scripts/repo_gate.py,python3 scripts/docker_lint.py: all pass.test_publish_plan.py,test_release_guards.py,test_spec_validate.py: pass.if:requirement and the concurrency note). It also raised one pre-existing finding, filed as Treat S9 as N/A for a Publisher Whose Schedule Never Publishes #2888. Pass two raised none on new text and one pre-existing finding, filed as Name the Single-Line If Requirement in the Schedule Concurrency Drift Message #2889.🤖 Generated with Claude Code