Skip to content

build: raise the bundle budgets after the protocol 0.26.0 batch - #620

Merged
snekxs merged 1 commit into
mainfrom
chore/raise-bundle-budgets
Oct 6, 2026
Merged

snekxs merged 1 commit into
mainfrom
chore/raise-bundle-budgets

Conversation

@snekxs

@snekxs snekxs commented Oct 6, 2026

Copy link
Copy Markdown
Member

Both budgets were down to under 1 kB of headroom, so the next card, theme or driver change would fail npm run size on an unrelated PR:

before after
CSS 194157 / 195000 (100%) 210000 (92%)
JS 2084199 / 2085000 (100%) 2150000 (97%)

The JS growth is this week's protocol 0.26.0 device batch — AJAZZ AJ179 PRO (#169), Redragon M690 PRO (#163, wired into the panel by #617), Lamzu Paro Aurora (#172), plus the X11-on-Bridge (#174), PRO X Wireless format 4 (#175) and Logitech onboard-profile (#166/#589) work. Their codecs reach the bundle through bridge-hid's SUPPORTED_HID_FILTERS as well as the controllers.

Measured with a clean npm ci against the committed lockfile, after npm run build:

ok  CSS  194157 / 210000 bytes (92%)
ok  JS  2084199 / 2150000 bytes (97%)

Follows the file's existing convention: each raise records the measured aggregate and what drove it, so the next person can tell a justified growth from an accidental one. npm run check passes 290/290.

Both budgets were effectively exhausted, so the next card, theme or driver
change would have tripped npm run size for no reviewable reason:

  CSS  194157 / 195000 bytes (100%)  ->  210000 (92%)
  JS  2084199 / 2085000 bytes (100%) ->  2150000 (97%)

The JS growth is the protocol 0.26.0 device batch: AJAZZ AJ179 PRO (#169),
Redragon M690 PRO (#163, wired into the panel by #617), Lamzu Paro Aurora
(#172), plus the X11-on-Bridge (#174), PRO X Wireless format 4 (#175) and
Logitech onboard-profile (#166/#589) work. Their protocol codecs arrive through
bridge-hid's SUPPORTED_HID_FILTERS as well as the controllers.

Measured with a clean npm ci against the committed lockfile, after npm run
build: CSS 194.2 kB, JS 2,084.2 kB.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying openmouse with  Cloudflare Pages  Cloudflare Pages

Latest commit: ae94d3d
Status: ✅  Deploy successful!
Preview URL: https://8e06ef76.openmouse.pages.dev
Branch Preview URL: https://chore-raise-bundle-budgets.openmouse.pages.dev

View logs

@snekxs
snekxs merged commit d49354f into main Oct 6, 2026
5 checks passed
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.

1 participant