Skip to content

Wait up to 10 minutes for the published package to appear on npm in the release script - #1826

Merged
sequba merged 1 commit into
developfrom
feature/release-script-npm-wait
Oct 15, 2026
Merged

sequba merged 1 commit into
developfrom
feature/release-script-npm-wait

Conversation

@sequba

@sequba sequba commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Context

After npm publish, release.sh publish waits for the new version to become visible on the registry before step 8, which runs npm update hyperformula in 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_npm now waits up to 10 minutes instead of 60 seconds.
  • The progress line prints every 15 seconds instead of every 5, to keep the output readable over the longer wait.
  • release-README.md updated to match.

The wait stays right after the publish: moving it later would let step 8 run npm update before 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).
  • Not exercised against a real publish yet; the change only alters the timeout and the print interval of an existing loop.

Types of changes

  • Breaking change (a fix or a feature because of which an existing functionality doesn't work as expected anymore
  • New feature or improvement (a non-breaking change that adds functionality)
  • Bug fix (a non-breaking change that fixes an issue)
  • Additional language file, or a change to an existing language file (translations)
  • Change to the documentation

Related issues:

  1. None

Checklist:

  • I have reviewed the guidelines about Contributing to HyperFormula and I confirm that my code follows the code style of this project.
  • I have signed the Contributor License Agreement.
  • My change is compliant with the OpenDocument standard.
  • My change is compatible with Microsoft Excel.
  • My change is compatible with Google Sheets.
  • I described my changes in the CHANGELOG.md file.
  • My changes require a documentation update.
  • My changes require a migration guide.

No changelog entry: this changes internal release tooling only, not the published library.

Made with Cursor
EOF
)

…he release script

Co-authored-by: Cursor <cursoragent@cursor.com>
@sequba
sequba merged commit e7e4aae into develop Oct 15, 2026
29 of 31 checks passed
@sequba
sequba deleted the feature/release-script-npm-wait branch October 15, 2026 11:14
@codecov

codecov Bot commented Oct 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.28%. Comparing base (17dde02) to head (3def083).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Performance comparison of head (3def083) vs base (17dde02)

                                     testName |    base |    head |  change
---------------------------------------------------------------------------
                                      Sheet A |  508.07 |  507.94 |  -0.03%
                                      Sheet B |  167.46 |   169.7 |  +1.34%
                                      Sheet T |  149.46 |  147.06 |  -1.61%
                                Column ranges |  486.14 |  486.62 |  +0.10%
                                Sorted lookup | 14058.6 | 14391.9 |  +2.37%
Sheet A:  change value, add/remove row/column |   16.13 |   16.79 |  +4.09%
 Sheet B: change value, add/remove row/column |  140.75 |  156.72 | +11.35%
                   Column ranges - add column |  155.56 |  162.35 |  +4.36%
                Column ranges - without batch |  487.57 |  485.06 |  -0.51%
                        Column ranges - batch |  122.72 |   121.3 |  -1.16%

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