Skip to content

WORKFLOW.md D3.4 Promises a PyPI Ordering Nothing Implements, and D2.2 Names a Job That Opts Out #1522

Closed

Description

@ptr727

Defect

Whole-unit review of WORKFLOW.md section 4 while settling #1521 found three statements that do not hold, none introduced there.

D3.4 promises an ordering nothing implements

The develop .dev0 build must remain pip install --pre-selectable and sort above the default release (NBGV git height in the release segment keeps develop ahead).

NBGV takes the longest path when it counts height, so the promotion merge commit on main sits one above develop's tip, and a bot bump merged into main adds height develop never sees. A PEP 440 M.N.P.dev0 sorts below M.N.P, so the next develop build sorts below the release main just cut.

Constructed example: develop's tip at height 34 builds 1.2.34.dev0. Promotion puts main at 35, releasing 1.2.35. Develop's next commit is also height 35, builds 1.2.35.dev0, and sorts below 1.2.35 until develop moves ahead again.

The implementing comment in .github/actions/pypi-build-default/action.yml already says only that develop's height "normally" exceeds main's, and no test checks the ordering. Either the guarantee narrows to what the mechanism delivers, or the mechanism changes to deliver it. Section 6's pypi bullet restates the same promise and moves with it.

D3.4's Prevents clause credits the wrong rule

Prevents: ... a renamed/extra branch silently getting a plain version ...

D3.4's own output is a two-branch literal, .dev0 for develop and a plain version for everything else, so under D3.4 alone a renamed or extra branch does get a plain version. What stops that is the dispatch allowlist in D2.3.

D2.2 names a job that does opt out

github-release carries validate-release in needs: and does not opt out, so a job-level skip there would couple the release to smoke through a second path on top of the if: it already carries.

github-release's if: in .github/workflows/build-release-task.yml carries !failure() && !cancelled(), which D4.5 in the same section also states, so a skipped validate-release does not skip it. The jobs that do not opt out are dotnet-publish, build-nuget, and build-pypi, whose if: carries no status check, so a job-level skip would silently skip every smoke build. That is the real reason the check exits inside the step.

Activity

  1. ptr727 commented on Sep 11, 2026

    @ptr727
    OwnerAuthor

    Two of this issue's three items are settled by #1528, merged into develop as 765633d. The ordering promise is dropped from D3.4, the section 6 pypi walkthrough, and the pypi-build-default comment, the maintainer having chosen to drop it rather than change the mechanism, along with the --pre-selectable sentence that without the ordering read as a promise pip install --pre installs the develop build. D3.4's Prevents clause no longer credits D3.4 with the renamed-branch protection D2.3's dispatch allowlist provides. D2.2's job-name item stays open here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions