Skip to content

Retry starter lockfile install when core is unpublished - #62

Merged
cavewebs merged 1 commit into
mainfrom
cursor/sync-lockfile-core-retry-11cf
Nov 2, 2026
Merged

cavewebs merged 1 commit into
mainfrom
cursor/sync-lockfile-core-retry-11cf

Conversation

@cavewebs

@cavewebs cavewebs commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Sync failed on main after Version Packages merge #61: the "Regenerate standalone lockfile" step ran bun install with @dashcommerce/core pinned to ^0.3.3 before that version was on npm (publish is local OTP, after the merge).

Failed run: https://github.com/emdashCommerce/dashcommerce/actions/runs/41427275420

error: No version matching "^0.3.3" found for specifier "@dashcommerce/core" (but package exists)
error: @dashcommerce/core@^0.3.3 failed to resolve

This retries bun install only for that unpublished-core error, for about five minutes with backoff (15s, 30s, 45s, then 60s). Other install failures still fail the job on the first attempt. Retries pass --force so bun does not reuse a 5-minute-stale registry manifest from the first miss. After eight attempts the step errors with a note to publish, then re-run the workflow.

Please merge with a merge commit, not a squash.

CI on this PR is typecheck/build/test. Sync itself only runs on push to main (or workflow_dispatch). Merging this re-runs Sync, which should catch the starter up now that 0.3.3 is on npm.

Open in Web Open in Cursor 

Version Packages merges bump @dashcommerce/core in git before the
local OTP publish reaches npm. Sync then fails permanently on
`bun install`. Retry that missing-version race for a few minutes
and fail immediately on any other install error.

Co-authored-by: Timchosen Uzua <timchosen@gmail.com>
@cavewebs
cavewebs merged commit 8d37cdb into main Nov 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants