Keep Changesets version PR updates signed and append-only - #513
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The organization requires signed commits and rejects non-fast-forward branch updates. Changesets'
current version-PR updater force-resets its branch, so later version updates can get stuck. Deleting
the old branch unblocks one release, but does not fix the next update.
#509 has already merged and published successfully. This PR fixes future version-PR preparation;
it does not republish packages or change the Changesets publishing path.
Changes
generated tree through the signed, exact-head commit API. This preserves history and file modes,
consumes newly added changesets correctly, and avoids generated-file merge conflicts.
additional credentials, or weaker repository rules.
queue: max(up to 100 pending runs), so a newer featuremerge cannot displace a waiting publication. Skip superseded versioning runs without publishing.
change or changeset is needed.
Validation
conflicting generated files, concurrent edits, and superseded runs; 24 focused tests pass.
yarn checkpasses. Explicit strict TypeScript checking also covers the new scripts.final tree preserves exact bytes, executable files, symlinks, and consumed changesets.
organization rules. The branch was deleted after recording the result; no release branch or
protection setting was changed.
eea4a06: all 11 checks pass, including the release dry run, packed Next browser fixture and Supabase Edge fixture.Separate production canary
Content #6103's private checklist records the separate production canary. Published-package smoke:
Node/legacy 4.14.0 and Viewer 0.0.2;
both published SDK names pass the Supabase Edge gate with zero native image dependencies.
Production upload, metadata, version reads, receipt recovery and catalog sync work for ordinary
images. The follow-up production browser proof
passes public/private CDN delivery, cookie authorization and opaque/alpha placeholder handling.
Its one temporary Smart CDN key and exact test-prefix publication were revoked; existing key
policies and public-prefix settings are verified unchanged. The remaining tiny-image color gate
needs deployment of API2 #9191: the inspected workers still run an older build. No deployment was
performed here.
Refs #509, #511 and transloadit/api2#9191.