Repository navigation
Wait up to 10 minutes for the published package to appear on npm in the release script - #1826
Merged
Merged
Conversation
…he release script Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1826 +/- ##
========================================
Coverage 97.28% 97.28%
========================================
Files 207 207
Lines 16218 16218
Branches 3588 3588
========================================
Hits 15777 15777
Misses 433 433
Partials 8 8 🚀 New features to boost your workflow:
|
Performance comparison of head (3def083) vs base (17dde02) |
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.
Context
After
npm publish,release.sh publishwaits for the new version to become visible on the registry before step 8, which runsnpm update hyperformulain the demos repo and therefore needs the new version to be live. The wait gave up after 60 seconds, but npm now processes packages after upload ("Your package is being processed and may take a few minutes to become available"). During the 3.5.0 release the version took about 4 minutes to appear, so the script stopped with an error even though the publish had succeeded, and had to be re-run to finish the remaining steps.Changes:
wait_for_npmnow waits up to 10 minutes instead of 60 seconds.release-README.mdupdated to match.The wait stays right after the publish: moving it later would let step 8 run
npm updatebefore the new version is visible, which silently keeps the old version in the demos' lock files.How did you test your changes?
bash -n script/release/release.sh(syntax check).Types of changes
Related issues:
Checklist:
No changelog entry: this changes internal release tooling only, not the published library.
Made with Cursor
EOF
)