Skip to content

fix(ci): Docker image build waits for npm tarball to be downloadable - #1091

Merged
badcuban merged 1 commit into
mainfrom
fix/docker-wait-for-npm-tarball
Nov 24, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/docker-wait-for-npm-tarball

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

During the 0.11.0 release, npm served version metadata for @threadlines/server@0.11.0 about 12 minutes after publish, while the server-0.11.0.tgz tarball returned 404 for another 5 minutes. Because Wait for the npm package only checked npm view ... version, docker-image.yml moved on and failed inside docker buildx with a 404.

Updated the wait loop in .github/workflows/docker-image.yml to read dist.tarball and require curl -fsSIL to succeed before proceeding to the Docker build.

During the 0.11.0 release, npm served package metadata for @threadlines/server@0.11.0 about five minutes before the .tgz tarball became reachable on the CDN, causing the Docker build step to fail with 404 right after the wait step passed.

Query dist.tarball via npm view and require a 200 HEAD response before proceeding to buildx.
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
threadlines Ready Ready Preview Nov 24, 2026 3:54pm UTC

Request Review

@badcuban
badcuban added this pull request to the merge queue Nov 24, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 24, 2026
@badcuban
badcuban added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit db8adec Nov 24, 2026
22 checks passed
@badcuban
badcuban deleted the fix/docker-wait-for-npm-tarball branch November 24, 2026 16:28

This branch was successfully deployed

1 active deployment
Preview — cc87ee82 Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant