Repository navigation
Commit acb5919
committed
fix(release): the next cut annotates what the last one shipped unlisted, instead of refusing the queue
Withdraws the merge-queue refusal. main takes a changeset-bearing landing
about every twenty minutes (77 of 111 landings in a day), so a Version
Packages PR almost never reaches the queue current, and refusing it would
block nearly every release to protect a CHANGELOG line.
`release-pending-publish.mjs annotate-shipped` runs first in the root
`version` script (joined with `;`, so it cannot stop the pass). It finds the
last version commit, takes the changesets that sat unconsumed in its tree,
and gives each one still pending the lead line
`**Shipped in VERSION**, whose CHANGELOG missed this entry; listed here one
prerelease late.` -- frontmatter byte-unchanged, idempotent (a body already
led by `**Shipped in` is left as it is), and only when VERSION is on npm. A
shallow clone is deepened in bounded rounds; anything it cannot decide is a
::warning:: with nothing written, and it exits 0 on every path.
The queue-guard mode, its batteries and the lint.yml step are removed;
lint.yml is back to its merge-base bytes. Self-test: 112 cases across 28
batteries.
Claude-Session: https://claude.ai/code/session_016PVjjuVPte5XEJvaQx1E4t
Co-authored-by: Claude <noreply@anthropic.com>1 parent 31e38ea commit acb5919
3 files changed
Lines changed: 412 additions & 318 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3328 | 3328 | | |
3329 | 3329 | | |
3330 | 3330 | | |
3331 | | - | |
3332 | | - | |
3333 | | - | |
3334 | | - | |
3335 | | - | |
3336 | | - | |
3337 | | - | |
3338 | | - | |
3339 | | - | |
3340 | | - | |
3341 | | - | |
3342 | | - | |
3343 | | - | |
3344 | | - | |
3345 | | - | |
3346 | | - | |
3347 | | - | |
3348 | | - | |
3349 | | - | |
3350 | | - | |
3351 | | - | |
3352 | | - | |
3353 | 3331 | | |
3354 | 3332 | | |
3355 | 3333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments