You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WORKFLOW.md D2 Does Not Describe the Release Gate's Branch-Name Refusal #1531
The release task's validate-release gate now refuses, before its smoke exit, any branch input git would not accept as a name, through git check-ref-format --branch. It landed in the pull request answering a finding on #1526 that the version step logged the branch unsanitized. WORKFLOW.md does not describe it: D2.2 and the S1/S4 rows of section 5 present validate-release only as the branch-versus-version consistency check, which on a smoke run "exits early while the job still reports success".
Nothing reachable contradicts that text, since a documented caller passes github.ref_name or github.base_ref || github.ref_name, both always valid names, so a real smoke or publish run never trips the refusal. But the contract no longer lists everything the gate asserts at entry, which is what D2's validate-at-entry guarantees exist to record, and a repository reading D2.2 would not learn that an invalid branch value fails the run before anything builds.
Possible fix
Add the branch-name refusal to D2, either as a clause of D2.2 or as its own item, stating the input (a branch git would not accept as a name), the output (the gate fails before its smoke exit, echoing no part of the value), and what it prevents (a caller value forming a :: or ##[ workflow command wherever later steps print the branch).
Activity
Build the PyPI Version From the Release Tag, and Hand the build-pypi …
Name the Build Jobs That Do Not Opt Out of the Smoke Skip in D2.2 (#1533
Name the Build Jobs That Do Not Opt Out of the Smoke Skip in D2.2 (#1534
Record the Release Gate's Branch-Name Refusal in the D2 Contract (#1550)
Record the Release Gate's Branch-Name Refusal in the D2 Contract (#1551)