ci(wasm): enforce per-artifact size budgets - #256
Merged
Conversation
Overall package sizeSelf size: 31.52 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------|🤖 This report was automatically generated by heaviest-objects-in-the-universe |
BridgeAR
marked this pull request as ready for review
September 3, 2026 20:36
BridgeAR
marked this pull request as draft
September 3, 2026 20:36
The size report covered only the universal artifact and could not attribute remote-config growth. Build symbol-preserving profiles for both artifacts, report their crate ownership, and fail the real CLI when either packaged artifact crosses its explicit budget. The parser also decodes Binaryen escape sequences and crate disambiguators so attribution does not split one dependency across synthetic names.
The immediate-abort WASM build reduced the inlined artifacts to 197.6 and 314.5 KiB. The 210 and 330 KiB caps retain 6.3% and 4.9% headroom. The CLI now owns final inline-size limits; package tests retain independent raw-WASM bounds.
BridgeAR
force-pushed
the
BridgeAR/2026-09-03-wasm-size-report
branch
from
September 3, 2026 22:43
ad3ba41 to
73d9546
Compare
BridgeAR
marked this pull request as ready for review
September 3, 2026 22:56
bwoebi
approved these changes
Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Profiles both the universal and remote-config WASM artifacts, reports crate attribution for each, and enforces 210 KiB and 330 KiB packaged-size budgets in CI.
The attribution parser now handles Binaryen escapes and Rust crate disambiguators. CLI tests pin the last accepted and first rejected byte for both budgets.
Tested with the complete 48-test package and type suite plus targeted ESLint.