Skip to content

fix(build): fix bundle-stats npm command + replace heavy open-cli with lite tiny-open - #46457

Open
hainenber wants to merge 6 commits into
masterfrom
chore/fix-bundle-stats-command
Open

hainenber wants to merge 6 commits into
masterfrom
chore/fix-bundle-stats-command

Conversation

@hainenber

Copy link
Copy Markdown
Contributor

fix(build): fix bundle-stats npm command + replace heavy open-cli with lite tiny-open

SUMMARY

Fixes currently broken bundle-stats npm command since it's only occasionally used. I also replaced the open-cli with an inline Node script using tiny-open, which is much more lightweight (-30 deps)

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before
image

After
image

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

… with lite `tiny-open`

Signed-off-by: hainenber <dotronghai96@gmail.com>
Signed-off-by: hainenber <dotronghai96@gmail.com>
@codeant-ai-for-open-source

codeant-ai-for-open-source Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

CodeAnt  CodeAnt PR Risk

🟢  Low Risk

  • The PR appears safe to merge; no actionable issues were identified in the review.

Assessed commit: 43577d234032

@codecov

codecov Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.80%. Comparing base (e017ab8) to head (43577d2).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #46457   +/-   ##
=======================================
  Coverage   65.80%   65.80%           
=======================================
  Files        3146     3146           
  Lines      220020   220086   +66     
  Branches    52111    52137   +26     
=======================================
+ Hits       144781   144838   +57     
- Misses      71807    71816    +9     
  Partials     3432     3432           
Flag Coverage Δ
hive 33.63% <ø> (ø)
mysql 51.83% <ø> (ø)
postgres 51.85% <ø> (-0.01%) ⬇️
presto 35.32% <ø> (ø)
python 52.15% <ø> (-0.01%) ⬇️
sqlite 51.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 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 added the requires:rebase Requires rebasing on top of current master label Nov 24, 2026
Signed-off-by: hainenber <dotronghai96@gmail.com>
…t `change-detector` workloads

Signed-off-by: hainenber <dotronghai96@gmail.com>

@aminghadersohi aminghadersohi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bundle-stats now opens the generated report, and the lockfile matches package.json.

Nit: tiny-open is only used by the bundle-stats script, so it belongs in devDependencies, where open-cli was.

Signed-off-by: hainenber <dotronghai96@gmail.com>
@netlify

netlify Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 43577d2
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6b0a4e857ba583fdd2c11ae7
😎 Deploy Preview https://deploy-preview-46457--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies:npm github_actions Pull requests that update GitHub Actions code requires:rebase Requires rebasing on top of current master size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants