publish-siblings.sh gives up before npm finishes processing a publish and cannot resume after a partial publish
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- bash, node.js
- Domain
- documentation, release, testing, tooling
Research direction
Start with scripts/publish-siblings.sh, especially wait_for_registry, the publish precondition, and the npm invocation. Add or locate the stubbed npm view and tarball checks, then verify delayed success, timeout, skipped-package shasum matching, and early non-TTY refusal. Update docs/release/npm-publish.md with resume behavior and sign-in timing.
Written by the indexing model from the issue text.
Description
Description
Publishing v0.11.11 to npm on 2026-12-01 exposed three problems in scripts/publish-siblings.sh. They made the documented one-command publish end as a partial release, which then had to be finished by hand.
- The registry wait is too short.
wait_for_registrypollsnpm view <pkg>@<ver> version30 times, 4 s apart, about 2 minutes in all, then exits 1.@chroxy/[email protected]was accepted at about 20:33Z and only resolved at 20:35Z. The script had already given up by then, so store-core and server were left unpublished.@chroxy/server(about 3 MB) took about 8 minutes before its metadata appeared. Its tarball URL then returned 404 for about 4 more minutes, so an install still failed afternpm viewsucceeded.- npm itself now prints "Your package is being processed and may take a few minutes to become available".
- There is no resume after a partial publish.
- The precondition refuses to run when any of the three packages is already published at the version.
- After the step-1 exit, protocol was live, so the script could no longer publish store-core and server. They had to be published with the runbook's manual commands.
- Sign-ins expire, and the script can't publish without a terminal.
- With 2FA, each
npm publishopens a browser sign-in that expires after about 4 minutes. On a normal run that sign-in only appears after the artifact verification, which takes several minutes. Two runs expired unapproved that way. - Run without a TTY,
npm publishfails withEOTPinstead of offering the browser sign-in.
- With 2FA, each
Acceptance Criteria
-
wait_for_registrywaits long enough for npm's processing: a bounded wait of about 15 minutes with progress output. It treats a package as live only when both the version metadata and the tarball URL return success. - Prove the wait: a stubbed
npm viewand tarball check that turns live after N polls passes. One that never turns live fails with the existing message. - Re-running after a partial publish resumes. Packages already live at the version are skipped, in dependency order, after verifying that each skipped package's published shasum matches the locally packed tarball. A mismatch refuses.
- The script says up front that each publish opens a browser sign-in that expires in about 4 minutes. With no TTY, it refuses early with a clear message rather than reaching npm's
EOTP. -
docs/release/npm-publish.mddescribes the resume and the sign-in timing.
- Dominant language
- JavaScript
- Stars
- 7
- Forks
- 1
- Avg merge
- 2h 3m
- Merged PRs (30d)
- 333
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from blamechris/chroxy
-
from-review tech-debt testing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
blamechris/chroxy#9520 ·
Maintainers usually reply within 1 day
-
priority: low server
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
blamechris/chroxy#9340 ·
Maintainers usually reply within 1 day
-
documentation from-review
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
blamechris/chroxy#9237 ·
Maintainers usually reply within 1 day
-
agent-control client: notify() docstring should say the outbound gate applies only in principal modeOpenenhancement from-review
Difficulty 1/5 Under an hour Newbie friendliness 80/100
blamechris/chroxy#9227 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
blamechris/chroxy#9108 ·
Maintainers usually reply within 1 day
All issues in blamechris/chroxy
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Use one constant for the 10,000-character input limitPossibly taken @NginxL claimed this today. Opengood first issue refactor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
aniru-dh21/snap-validate#51 ·
Maintainers usually reply within 1 day
-
Documentation pleaseOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area/host bug P2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Fei2411/DeepSeek-Bot#3190 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days