Skip to content

Per-chain bundle-size budgets and CI gate #180

Description

@truthixify

Tier: M (2-4 days) | Type: perf

Context. package.json size-limit today gates only dist/chains/stellar/* at 20 KB (see PR #89). EVM, Solana, CKB, /vault, and the root agent entry can drift arbitrarily large between PRs. With v1.0 shipped, we lock a budget per public entry and fail CI when a change blows it.

Scope.

  • Add size-limit blocks for every entry in package.json exports (evm, solana, ckb, vault, root).
  • Budgets chosen from the current baseline plus 15 percent headroom.
  • CI job pnpm size runs on every PR touching src/.
  • Update BUNDLE_SIZE.md with the full table and the tool commands.

Acceptance.

  • All five new entries have documented budgets in package.json
  • pnpm size blocks PRs that exceed any budget
  • BUNDLE_SIZE.md regenerated with real numbers, not TBD placeholders
  • One deliberate over-budget PR verifies the gate fires

Files. package.json, BUNDLE_SIZE.md, .github/workflows/ci.yml.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdripsFunded via Drips Networkhelp wantedExtra attention is neededperfPerformance / optimizationreleasestellar-waveAuto-created for Wave 8wave-8Auto-created for Wave 8

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions