Repository navigation
Description
Defect
A second round of whole-unit review of WORKFLOW.md sections 3, 4, and 6 while settling #1521 found these statements contradicted by the tree or by the document itself. None was introduced there, and #1522 holds the three from the first round. Each wants checking before it is fixed, since a finding against prose can be a reading the text does not intend.
Section 3, Architecture
- The target list reads as a local edit. "Adding or dropping a target edits the orchestrator's surface: the
enable_<target>inputs and thebuild-<target>job + itsgithub-releaseandbuild-dockerneeds:entries in the release task". An adopting repo reaches the hub's release task by pin and carries no local copy (spec/divergences.jsonretires one), so only theenable_*inputs are its surface, and the release task's own comment says to subset "by disabling the target, not by editing this job". "Breaks the verbatim carry" under "The Seam Contract" rests on the same premise. - The add/drop surface omits the publisher's
on.push.paths. For a NuGet or PyPI repo that list decides whether a bot push tomainpublishes at all, and "a shared paths filter" names a filter that nothing shares: each stub carries its own list, andpublish-plan-task.ymlhas no paths logic. - "An unchanged version re-pushes nothing (no-op republish)" is false for a dispatch, which D4.4 says refreshes the release instead.
Section 4, Behavioral Contract
- D3.3: "NBGV appends the git height as the patch, bumped only for a functional change by the maintainer." The patch moves on every commit, and what the maintainer bumps is the
version.jsonfloor. - D4.4: "nothing is re-pushed" and "Registry pushes are no-ops" contradict "Docker always re-pushes" in the same item. "the release-create step is skipped when the tag exists" names the wrong check, since the step reads
gh release view, so a tag left behind by a deleted release does not skip it. - D5.1 (and the matching sentence in section 3): "An intermediate consumed only within the same run MAY instead rely on the
retention-days: 1backstop." Every cross-job artifact is consumed within its run, so the exception covers everything the rule does. - D6.4 (and section 3): "the
build-<target>job" does not exist for the .NET target, whose job isdotnet-publish. - D3.2: "The default-branch literal in the gate, the
prereleaseexpression, andversion.jsonMUST all name the repo's real default branch." The first two are hardcodedmainin the hub task an adopter reaches rather than carries, andpublish-plan-task.ymlholds furthermainliterals the list omits. - D1.6: a cross-repository caller "names the secret it passes ... on its pull request path and its publisher path alike", but
catalog/snippets/workflows/test-pull-request.ymlcalls the validator with nosecrets:block. The fix belongs in the stub. - D1.2 / D1.6: "Input: a C# or Python repo that has tests for that type" is wider than what
validate-task.ymldetects, a*Tests*.csprojproject ortests/**besideuv.lockorrequirements*.txt, so a repo with tests in another shape gets none run and no coverage, silently.
Section 6, Per-Project-Type Test Walkthroughs
- "The
pattern:download (D6.1) and the cleanup jobs (D5.1 to D5.5) live in the release task" (also in the source-only row). Only therelease-asset-*delete is there. Thenuget-build-*andpypi-build-*deletes are in the caller's own publish jobs, and D5.4 sits on every upload. - "S7, S8, S10, plus S5, S6 and S9 wherever its own
on:admits a push or a schedule": S5 and S6 are bot pushes, reached only by apushtrigger. - S11: "rather than the merge itself, since D4.1 admits no publish from a human merge". On the default path the merge-bot merges with the App token, so that push is a bot push the release gate publishes, as D8.3 says.
- "the build leaf MUST read that state file for the immutable tag instead of
SemVer2": "tag" means the image or build version here, while D3.5 says NBGV still tags the release. - "diverges from D4.3, D6.1 and D6.3 alike": a differently named artifact that keeps its
-<branch>suffix still meets D6.3. - The deploy hook's "all four of its inputs" are never named, nor its required path, so a repo holding only this section cannot write one.
- "such a repo reaches S2 and S3 on every pull request": a config-only pull request matches neither scenario's input. What holds is that none reaches S1.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Build the PyPI Version From the Release Tag, and Hand the build-pypi …
Build the PyPI Version From the Release Tag, and Hand the build-pypi …
ptr727 commentedon Sep 11, 2026
Whole-unit review of
WORKFLOW.mdsection 4 while settling #1522 found the D6.4 twin of this issue's first section 3 item, not introduced there.D6.4 lists a surface a pinned caller does not own, and omits the one it does. "adding or dropping a target updates all of: the
enable_<target>input, thebuild-<target>job and itsgithub-releaseandbuild-dockerneeds:entries". A caller reaching the release task by pin owns none of those, since they live in the hub'sbuild-release-task.yml. The edit it does need is theenable_*value its own publisher passes in thepublishjob, which the list never names. Constructed example: a repository adding a Docker target by this list alone smoke-builds the image on pull requests, while its publisher still passesenable_docker: false, so no real publish ever builds it. Dropping a NuGet target the same way leavesenable_nugetat itstruedefault on the publisher path.Name the Build Jobs That Do Not Opt Out of the Smoke Skip in D2.2 (#1533
Correct Section 3, 4 and 6 Statements the Tree Contradicts (#1541)
Name the Validate and Docker Hooks, and Point the Release Skill at Se…
Correct Section 3, 4 and 6 Statements the Tree Contradicts (#1542)