The publish run fails when the dev build has not appeared on npm before the dev version is verified

Open
#307 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions, typescript
Domain
ci-cd, release

Research direction

Start with the "Publish to npm" run and its "Verify the dev version resolves" step. Review how the dev version is checked and add retry behavior with backoff for npm propagation; done means transient misses no longer fail the run immediately and the rc publish workflow succeeds without a manual re-run.

Written by the indexing model from the issue text.

Description

The "Publish to npm" run for Bump to version 8.0.0-rc.17 (#288) failed at "Verify the dev version resolves": the dev build had been published, but npm did not serve it yet when the step checked. Publishing rc.17 needed a manual re-run. Earlier bump runs (rc.4, rc.8) also needed manual re-runs, and rc.16 was never published.

The verify step should retry with a backoff for as long as npm's propagation can take, instead of failing on the first miss. Found while verifying the prisma-cli-v8 project's acceptance criteria at close-out.

🤖 Generated with Claude Code

Dominant language
TypeScript
Stars
26
Forks
4
Avg merge
12h 11m
Merged PRs (30d)
38

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from prisma/prisma-cli

All issues in prisma/prisma-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.