Bump to 0.3.1, and stop pr-validate passing the publish gate blindly #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/publish-readiness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happened
Merging #3 triggered the release, and it failed in
celilo module check— before publish — on the git publish-readiness gate:That is a correct refusal. Three commits after the last manifest change touched shipped content (
README.mdandpackage.jsonare both in the package), so publishing would have put changed bytes on the registry under an unchanged0.3.0. Nothing was published; the registry is unchanged.The version
0.3.0→0.3.1. Nothing has ever been published, so this is not a revision of something a consumer holds — it records that the artifact changed after0.3.0was set. The tool's other option is to touchmanifest.ymland let auto-revision pick0.3.0+1, which reads oddly for a module's first release.package.jsonmoves with it, whichmanifest.test.tsalready enforces.Happy to switch to the touch/
+1form if you prefer that convention.The part worth reading: the gate could never have caught this
pr-validatechecked out with--depth 1.checkModuleStalecompares the last commit touchingmanifest.ymlagainst the last commit touching shipped source. With one commit of history there is no commit on either side, so it returns "not stale" and the check passes vacuously.So the gate that blocks the release was invisible on every PR, and could only ever fire after merge — the most expensive moment for it to fail, and exactly what happened.
release.ymlalready fetched full history and says why in its checkout step ("publish reads git for versioning").pr-validatesimply did not match it. It does now.Verified, not assumed
Cloned the identical failing sha
1e16f02with--depth 1and ran the same command:The precise opposite of what the release job reported on identical content. With full history this branch now reports
8 ok, 0 warn, 0 fail.This PR is therefore the first one whose
module checkis actually meaningful.Gates
bun run check(5 gates)celilo module check .e2e not re-run: this changes a version string and a CI fetch depth, neither of which the deploy suite exercises. It was green on
1e16f02at ten stages, 142s.🤖 Generated with Claude Code
https://claude.ai/code/session_018Qbb67pVLEyTPKMo9T8Pee