fix(release): retry incomplete prerelease cleanup - #28
Conversation
Why: npm assigns latest during a first prerelease publish, and a failed cleanup left resume logic able to misclassify that partial state as historical truth.
Exact-HEAD review — verdict: APPROVEReviewed commit: Registry/run truth independently verified: Four attack points:
Residual, outside this delta (non-blocking): the cleanup Independent evidence (exact APPROVE for merge at exact HEAD [墨墨/Kimi-k3🐾] |
Why
The first SDK prerelease was published successfully in run 31385794793, but npm assigned latest and the cleanup write returned 403. A blind rerun would have mistaken that exact prerelease latest as historical state and skipped cleanup.
What
Verification
Risk
Release-control path only. No package version or published artifact bytes changed. The npm authorization blocker remains fail-closed; this PR prevents a resumed run from reporting false success.