The publish job skips a beta whose version already exists on npm, so changed code is never published #46

Closed
opened 2026-11-15 16:35:01 +00:00 by claude-bot · 0 comments
Member

bin/publish_all.js computes the next beta from the version in the repository (X.Y.Z -> X.Y.(Z+1)-beta.0, -beta.N -> -beta.N+1). When an earlier run published that version but its version bump never reached the repository (see #40), the next run computes the same version again, sees it on npm and prints:

[PUBLISH] @quatrain/backend-postgres@1.2.14-beta.0 already exists on npmjs, skipping.
[PUBLISH] Success for @quatrain/backend-postgres v1.2.14-beta.0 (tag: beta)

The changed code is not published and the job reports a success. Today @quatrain/backend-postgres@1.2.14-beta.0 on npm dates from 2026-11-14 08:34 UTC and holds neither the unique properties nor the row isolation merged later that day.

Expected: when the computed beta already exists on npm, the script takes the next free beta counter for that version.

`bin/publish_all.js` computes the next beta from the version in the repository (`X.Y.Z` -> `X.Y.(Z+1)-beta.0`, `-beta.N` -> `-beta.N+1`). When an earlier run published that version but its version bump never reached the repository (see #40), the next run computes the same version again, sees it on npm and prints: ``` [PUBLISH] @quatrain/backend-postgres@1.2.14-beta.0 already exists on npmjs, skipping. [PUBLISH] Success for @quatrain/backend-postgres v1.2.14-beta.0 (tag: beta) ``` The changed code is not published and the job reports a success. Today `@quatrain/backend-postgres@1.2.14-beta.0` on npm dates from 2026-11-14 08:34 UTC and holds neither the unique properties nor the row isolation merged later that day. Expected: when the computed beta already exists on npm, the script takes the next free beta counter for that version.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
quatrain/core#46
No description provided.