Skip to content

promote-latest.sh: add a timeout to npm calls #373

Closed

Description

@tps-anvil

Follow-up from #366 (the latest promote tool).

No npm invocation in scripts/promote-latest.sh has a timeout. A stalled registry leaves
the tool hung on a view or a dist-tag add call; the only escape is a signal, which now
rolls back — but the script still waits on the stuck call until it returns.

Bound each npm call (a timeout-style wrapper) so a stall fails fast and feeds the normal
failure/rollback path with an honest message, rather than hanging mid-promote.

Refs #366

Activity

  1. added
    P3Low: nice to have, do when idle
    on Oct 1, 2026
  2. self-assigned this
    on Nov 9, 2026
  3. moved this from Ready to In review in Office queueon Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Low: nice to have, do when idle

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions