Repository navigation
Description
Found while planning the remaining hub-task adoptions for ptr727/aiopurpleair (see ptr727/aiopurpleair#100). Sibling of #1472, same root shape, different remedy: a document carrying a point-in-time fact that has since gone stale, with nothing that fails when it does.
The claim
Three places state that the release chain cannot be adopted yet. Read on main at 8195c43:
docs/reusable-workflows.md:421— "The renamed .NET publish interface is not yet in a hub release, so the full shape below keeps a pin placeholder and the catalog snippet is withheld until that release exists."docs/reusable-workflows.md:274— "The smoke build calls the repo's own./.github/workflows/build-release-task.ymlby local path rather than a hub task, since the renamed .NET publish interface the hub-hosted shape needs is not in a hub release yet."catalog/snippets/workflows/README.md:5— "The release caller snippet is withheld until a release carries the renamed .NET publish interface."
It is released, and has been for a long time
The renamed interface (enable_dotnet_publish, dotnet_publish_project, dotnet_publish_asset_name) landed in 822af248, "Align .NET Publish Workflow Naming" (#821).
$ git tag --contains 822af248 --sort=v:refname | head -1
2.0.376
So the precondition was satisfied at 2.0.376. Current latest is 2.0.587. The blocking claim has been false for 211 releases.
Confirmed present in the current release: git show <2.0.587>:.github/workflows/build-release-task.yml declares enable_dotnet_publish, dotnet_publish_project and dotnet_publish_asset_name alongside enable_pypi, pypi_project_dir and pypi_version_file.
What it costs
Three things, all of which look like correct guidance to an adopter:
- The
publish-release.ymlcatalog snippet is still withheld, so the one workflow with the most per-repo surface is the one with no copyable snapshot. - "Adopting the Gates" tells a release-with-smoke repo to keep calling its own local
build-release-task.yml, which is a filespec/divergences.jsondispositionsretire. The audit says delete it and the adoption doc says keep calling it, so a repo working both ends up unable to satisfy either. - Both stub shapes keep a
@<hub-main-commit-sha> # <release-tag>placeholder, so an adopter cannot copy them at all and has to resolve the pin by hand.
For aiopurpleair specifically the capability is plainly there: the task supports the full PyPI path, keeps the package push in the caller's own publish-pypi job for the job_workflow_ref reason the same section documents, and that is already the shape this repository's publisher has.
Suggested remedy
Ship the withheld publish-release.yml catalog snippet at the current release, drop the three stale sentences, and replace the placeholder pins per #1472 so the shapes are copyable without a hand-resolved SHA.
More generally, and this is the part shared with #1472: a doc sentence asserting "not yet released" has the same failure mode as a hardcoded pin. It is written once, is true for a day, and nothing fails when it stops being true. If the release-gated snippet list can be generated from what the current release actually contains, both issues close structurally rather than by editing prose that will go stale again.
Not filed here
No audit report or registry change is being written back. aiopurpleair needs a decision on this before its build-release-task.yml deletion can proceed, but its other adoptions are unaffected and are already open.
Activity
Ship the Release Caller Snippet and Retire the Not-Yet-Released Claim (…