Skip to content

ci: verify releases on Node 24 and Bun, outwait npm's processing and drop the first-release bump - #145

Merged
nclsndr merged 2 commits into
mainfrom
ci/publish-verify-node24
Dec 3, 2026
Merged

nclsndr merged 2 commits into
mainfrom
ci/publish-verify-node24

Conversation

@nclsndr

@nclsndr nclsndr commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Why

Publishing verified each release on Node 24, the newest Node 22 and Bun. The LTS and Bun are enough at that point: ci.yml and release.yml gate the packages on the newest Node 22 before a release.

The first release also showed that the verify jobs give up too early. npm answered the publish with "Your package is being processed and may take a few minutes to become available". @tackup/docs@0.1.0 became available 5 minutes later, and the jobs waited just under 5 minutes.

What

  • publish.yml verifies on Node 24 (ubuntu x64 with and without docs, ubuntu arm64, macOS arm64, Alpine) and on Bun (ubuntu x64, ubuntu arm64, macOS arm64). The ubuntu x64 Node 22 job is gone. ci.yml and engines.node do not change.
  • The wait for a new version lasts 20 minutes and polls less often over time, in the package gate. The Experimental build check waits 20 minutes too.
  • The wait polls npm at a URL that no cache holds. npm's edge caches a document for 5 minutes, and a request with cache-control: no-cache still gets the cached copy. Once npm has the version, the wait also reads the document that installs read, so it does not pass while an install would still get the old list. It does not read that document earlier, because the read itself would cache the old list.
  • release.yml no longer has the current (first release) bump: 0.1.0 is tagged and released, so it can never apply again. Its job, its checks and tests, and the manual start of release-tag.yml that only it used are gone. A tag run that failed is run again from the Actions tab.
  • CONTRIBUTING.md and the workflow README state the new set of checks and the shorter release path.

Tests cover the wait. Nothing was published to check this.

Related to

#142


AI assisted

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Deploying tack-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2f5e3c1
Status: ✅  Deploy successful!
Preview URL: https://a5b54e9d.tack-ayg.pages.dev
Branch Preview URL: https://ci-publish-verify-node24.tack-ayg.pages.dev

View logs

@nclsndr nclsndr changed the title ci: verify releases on Node 24 and Bun, and outwait npm's processing of a publish ci: verify releases on Node 24 and Bun, outwait npm's processing and drop the first-release bump Dec 3, 2026
@nclsndr
nclsndr merged commit e5f4b59 into main Dec 3, 2026
9 checks passed
@nclsndr
nclsndr deleted the ci/publish-verify-node24 branch December 3, 2026 23:33
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.

1 participant