-
Notifications
You must be signed in to change notification settings - Fork 118
Add CI budget gate on WASM bundle size before mainnet release #1184
Copy link
Copy link
Open
Labels
component:wasmtooling/sanctifier-wasm (WASM package)tooling/sanctifier-wasm (WASM package)difficulty:easySmall/safe changeSmall/safe changemainnetTouches mainnet launch readiness workTouches mainnet launch readiness worknext-waveScoped for the next contributor waveScoped for the next contributor wavepriority:p3Low priority / nice-to-haveLow priority / nice-to-havetype:perfPerformance / efficiency improvementsPerformance / efficiency improvements
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
component:wasmtooling/sanctifier-wasm (WASM package)tooling/sanctifier-wasm (WASM package)difficulty:easySmall/safe changeSmall/safe changemainnetTouches mainnet launch readiness workTouches mainnet launch readiness worknext-waveScoped for the next contributor waveScoped for the next contributor wavepriority:p3Low priority / nice-to-haveLow priority / nice-to-havetype:perfPerformance / efficiency improvementsPerformance / efficiency improvements
Overview
Add a CI check that fails the build if
tooling/sanctifier-wasm's compiled bundle size exceeds a defined budget, protecting the dashboard/extension load-time experience for mainnet users.Background / Context
tooling/sanctifier-wasm/pkgis consumed by the frontend and browser extension; an earlier wave covered WASM bundle-size verification/optimization (closed issue history), but this issue makes the check a hard, enforced budget gate specifically ahead of the mainnet-freeze tag.Goal
CI fails if the WASM bundle exceeds a defined size budget (e.g. current size + 10% headroom), with the budget documented and revisitable.
Scope of Work
tooling/sanctifier-wasm.Out of Scope
Acceptance Criteria
tooling/sanctifier-wasm/README.md.Files & Pointers
tooling/sanctifier-wasm/.github/workflows/wasm-bundlers.ymlDependencies / Related
None blocking.
Difficulty & Estimated Effort
Easy — ~1 day.