Skip to content

feat: add bundle size checks and update size limits for all exports - #198

Merged
truthixify merged 1 commit into
wraith-protocol:developfrom
ChukwuemekaP1:develop
Aug 29, 2026
Merged

feat: add bundle size checks and update size limits for all exports#198
truthixify merged 1 commit into
wraith-protocol:developfrom
ChukwuemekaP1:develop

Conversation

@ChukwuemekaP1

Copy link
Copy Markdown
Contributor

Summary

Implemented per-entry bundle-size budgets and CI enforcement for all public package exports.

Changes

  • Added size-limit configurations for EVM, Solana, CKB, Vault, and the root entry.
  • Set bundle-size budgets based on the current baseline with 15% headroom.
  • Updated BUNDLE_SIZE.md with the actual bundle sizes, budgets, and usage commands.
  • Updated CI so pnpm size runs for PRs that modify src/.
  • Verified the size-limit gate correctly fails when a bundle exceeds its configured budget.

Closes #180

All public package entries now have documented bundle-size limits, preventing unintended bundle growth from being merged.

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@ChukwuemekaP1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@truthixify
truthixify merged commit 72ac2f9 into wraith-protocol:develop Aug 29, 2026
14 checks passed
@truthixify

Copy link
Copy Markdown
Contributor

Merged. Real measured baselines with a documented +15 percent rule, both ESM and CJS per entry, and the paths-filter so it only runs when src/** changes.

Special credit for the Stellar note: you found that the old 20 KB budget had never actually been measured (the baseline was a TBD placeholder), said so plainly, and re-baselined it under the same rule as everything else rather than quietly bumping the number. That is the right way to handle a budget that was never real. @ChukwuemekaP1

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.

Per-chain bundle-size budgets and CI gate

2 participants