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
Let a release recover from a registry or signing outage without manual steps #590
The release run (41515722550) published packages in layers. In the third layer, the citry-lsp upload failed because sigstore's signing log (Rekor) answered 502 Bad Gateway while the publish action was signing the files. Nothing was uploaded. That stopped the whole release run, so the VS Code extension was never started, and the run's closing steps (the docs build for [email protected]) never ran.
The run could not simply be started again. A new run plans every package without a tag, and it would have uploaded citry-core again, which PyPI refuses. Recovery was by hand: re-run the failed citry-lsp job, dispatch the VS Code publish with inputs copied from the candidate, and dispatch the docs release.
Separately, Open VSX now reviews a new version before serving it. The review of 0.3.0 took longer than the verify step's five minutes, so that job failed after both uploads had succeeded (see #589).
What to change
A release run that can be restarted. When a package's version is already on its registry, compare the registry's files with the qualified files by hash. If they match, count the package as published and continue; create its tag and GitHub release if they are missing. If they differ, stop with an error that names the file. After any failure, starting the release again for the same candidate then finishes the remaining packages and closing steps.
Retry a failed publish step on a passing outage. Retry the upload a small number of times, minutes apart, before the layer fails. A retry skips files that already reached the registry; the existing post-upload check compares the registry files with the qualified bytes, so a skipped file is still proven to be the right one.
Wait for an Open VSX review. Give the Open VSX check a longer wait than the Marketplace check, and say when a version is still under review rather than missing.
We do not fall back to publishing without signatures when sigstore is down. That would drop the proof that the files came from this repository's CI during exactly the window when someone could use it.
Cost
A retry runs only after a failure. The hash comparison reads registry files the release already downloads to verify them. Neither adds time to a release that goes through cleanly.
Activity