Repository navigation
Closed
Description
Defect
Whole-unit review of WORKFLOW.md sections 3, 4 and 6 while settling #1523 found these statements contradicted by the tree or by the document itself. None was introduced there, and #1524, #1527, and #1531 hold the earlier rounds' findings. Each wants checking before it is fixed, since a finding against prose can be a reading the text does not intend.
Sections 3 and 4, the source-only sentences
- They are not scoped to a repo whose only type is
source-only. Section 3's "A source-only repo publishes on dispatch only" and "A source-only repo also passes everyenable_*input as false because it has no build leaf", and the matching sentences in D4.1 and D4.3, read as binding any repo declaring the type. Section 6'ssource-onlyrow limits "everyenable_*input false" to "a repo declaring no build-target type beside it", and its union rule sayssource-onlybeside another type "adds no build target and takes none away". Constructed example: a repo typedsource-onlyplusnugetfollowing section 3 literally disables its NuGet target. It is latent today, since no registered repo pairssource-onlywith a build-target type.
Section 3, the operational "What binds" list
- "What binds: the promotion gate, where the
develop -> mainPR must pass the requiredCheck pull request workflow status job, and the source-only release on manual dispatch" reads as the complete set binding an operational repo. Two sentences earlier the same passage says the develop pull request trigger "is what makes D1.2 hold here", and section 6's rule that N/A names an absent construct makes a repo reaching the release task checked on D6.1 and therelease-asset-*cleanup, which the operational row'ssource-onlyrelease shape reaches. A reader using the list for applicability records D1.2, D6.1 and D5.x as not binding. The sentence before it, "N/A exactly as forsource-only(WORKFLOW.mdsection 6)", cites section 6 for an N/A set that section 6 says it deliberately never states.
Section 4, D1.3 and D6.2
- D1.3's "Output: full compile/lint/test". Smoke builds a subset: the .NET publish default builds a strict subset of its runtimes, and the Docker task builds
amd64only, multi-arch being reserved for a non-smoke default-branch build. Section 3 says "Smoke builds compile/lint/test" without "full", and its image bullet reserves arm64 for the released image. An audit reading D1.3 literally fails the hub's own smoke path. - D6.2's "branch-derived config reads
inputs.branch, nevergithub.ref_name" is not scoped to the layer that receivesinputs.branch. A push- or dispatch-triggered entry workflow has noinputs.branchand derives the branch fromgithub.ref_name, as the catalog publisher stub does for thebranch:it passes, its download name, and its delete filter, so a literal audit fails the hub's own canonical publisher.
Section 4, D5.2 and D8.3
- D5.2's "a step that always attempts once its job runs (a package publish job's push)". The NuGet publish job runs a separate
NuGet/logintoken exchange before a push step carrying noif:, so a rejected exchange skips the push rather than running it, while D4.5 calls a rejected token exchange a failure of the push itself. The gate D5.2 prescribes still gives the right result, since the delete keys on the download. Only the description of the push is false. - D8.3's "or auto-merge silently never fires". An App pull request whose head matches no merge-bot rule draws a
::warning::saying so, asmerge-bot-task.ymldoes on purpose, so a mismatchedbump-branch-prefixis visible rather than silent.
Section 4, the preamble
- "Each is a MUST, and its
Output:states what a conforming pipeline is required to hold." D9.1 to D9.5 carry noOutput:at all, and D8.4 states its requirement before itsOutput:label, with further guidance after its Prevents:.
Section 6
- "a repo whose
releaseTriggerisnonehas no publisher whatever its types say." This settles whether a publisher exists from a registry field, while the section's own rules, section 1, and section 5A decide applicability by what the repo contains and require an N/A verdict to name an absent construct. A repo registerednonethat still carries a publisher would have S7, S8 and S10 recorded N/A while the publisher is present. The unit also never says wherereleaseTriggerlives or what values it takes. - The operational row's "Pull request validation is enforced on
mainand reported but not required ondevelop." D1.5, "One required aggregator gates merge. Input: any PR", carries no operational exception, and section 3's N/A carve-out covers only guarantees that "assume a build/test pipeline", which D1.5 does not. Section 3's "Branch Model" states the samedevelopexemption, so the conflict is between sections 3 and 6 on one side and D1.5 on the other. - The
edarow says a data-only repo "has no leaf for S1 to smoke-build" while opening with "Adds a file target", which section 3 defines as a leaf uploadingrelease-asset-<branch>-<name>. Thehomeassistantrow tests the same tag-plus-zip shape with "S1 smoke-builds the zip", and theedarow's own Test omits S1, so a reader records S1 N/A for a construct that is present. - The table files S2 and S3 under "A pull request workflow with a validation job and the required aggregator", but both scenarios' expected outputs are "smoke-build skipped", which needs the
changesfilter and smoke build the next row supplies. The no-build stub,catalog/snippets/workflows/test-pull-request.yml, has neither, so under the section's own "N/A when any construct it needs is absent" S2 and S3 are N/A for exactly the repos theedaand operational rows rely on them for. - The
dotnet-publishandnugetrows state the hub default leaf's behavior as the target's. "The archive is named from the project file stem unlessdotnet_publish_asset_nameoverrides it", the Release/Debug configuration split, and the strict smoke subset all describe.github/actions/dotnet-publish-defaultandnuget-build-default. A caller hook at.github/actions/<job>/action.ymlruns instead of the default and receives no asset-name input, asbuild-release-task.yml's own comment says, so a repo with a hook that setsdotnet_publish_asset_nameas the row directs gets no effect. - The
upstream-wrapperrow's "Nothing in this row depends on which build-target types the wrapper also declares." The same row's MUST binds a build leaf to read the state file, and a wrapper declaring no build-target type has no leaf.
The deploy hook's input rationale, outside WORKFLOW.md
- "a composite action rejects an invocation that supplies an input it does not declare" in
.github/workflows/deploy-site-task.yml(the header comment) anddocs/reusable-workflows.md("Deploy-site."). An undeclared input draws only the runner's unexpected-input warning, as.github/workflows/build-release-task.yml's own comment on its hooks says.WORKFLOW.md'shugorow dropped the same reason in the change settling WORKFLOW.md Sections 3, 4 and 6 Carry Statements the Tree Contradicts #1523.
Metadata
Metadata
Assignees
Labels
No labels
Activity
Correct Section 3, 4 and 6 Statements the Tree Contradicts (#1541)
Correct Section 3, 4 and 6 Statements the Tree Contradicts (#1542)
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.