Repository navigation
ci: verify releases on Node 24 and Bun, outwait npm's processing and drop the first-release bump - #145
Merged
Conversation
Deploying tack-website with
|
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Publishing verified each release on Node 24, the newest Node 22 and Bun. The LTS and Bun are enough at that point:
ci.ymlandrelease.ymlgate 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.0became available 5 minutes later, and the jobs waited just under 5 minutes.What
publish.ymlverifies 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.ymlandengines.nodedo not change.cache-control: no-cachestill 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.ymlno longer has thecurrent(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 ofrelease-tag.ymlthat only it used are gone. A tag run that failed is run again from the Actions tab.CONTRIBUTING.mdand 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