Skip to content

build: raise the bundle budgets for protocol 0.69.0 - #1850

Merged
onyxhq-dev merged 1 commit into
mainfrom
build/budget-protocol-0.69.0
Dec 5, 2026
Merged

onyxhq-dev merged 1 commit into
mainfrom
build/budget-protocol-0.69.0

Conversation

@onyxhq-dev

@onyxhq-dev onyxhq-dev commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

The Update Mouse Protocol workflow failed only on bundle size with @openmouse/protocol 0.69.0 (run https://github.com/OpenMouse-Project/openmouse/actions/runs/47563566990): JS measured 5,000,855 bytes against a 5,000,000 budget; main measured 1,786,583 of 1,800,000. Everything else in the workflow passed.

0.69.0 adds the Glorious Model I, ASUS Harpe Ace Mini, MCHOSE L7 Ultra, VAXEE DPI stages, Razer Viper Mini Hypershift and Corsair IRONCLAW RGB. JS goes to 5.2 MB and main to 1.85 MB so the next bump has room. Same shape as #1796.

Note

Raise bundle-size budgets in build/check-bundle-size.ts for protocol 0.69.0

Raises the total JavaScript bundle budget from 5,000,000 to 5,200,000 bytes and the MAIN_CHUNK_BUDGET_BYTES main-chunk limit from 1,800,000 to 1,850,000 bytes, in check-bundle-size.ts.

Macroscope summarized 61cf1d5.

Summary by CodeRabbit

  • Chores
    • Increased the permitted total JavaScript bundle size and main-chunk size.

The Update Mouse Protocol workflow measured JS at 5,000,855 bytes (budget
5,000,000) and main at 1,786,583 with @openmouse/protocol 0.69.0: Glorious
Model I, ASUS Harpe Ace Mini, MCHOSE L7 Ultra, VAXEE DPI stages, Razer Viper
Mini Hypershift and Corsair IRONCLAW RGB. JS goes to 5.2 MB and main to
1.85 MB, so the next protocol bump has room.
@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The JavaScript bundle budget increased from 5,000,000 to 5,200,000 bytes. The main-chunk budget increased from 1,800,000 to 1,850,000 bytes.

Changes: Bundle size budgets

Layer / File(s) Summary
Update bundle size limits
build/check-bundle-size.ts
The total JavaScript bundle limit is now 5,200,000 bytes. The main-chunk limit is now 1,850,000 bytes.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Possibly related issues

Possibly related PRs

Suggested labels: area: ci, type: maintenance

Suggested reviewers: macroscopeapp, snekxs

Merge Risk: Minimal · up to 61cf1

This change only loosens the build's bundle-size limits and does not affect application behavior. The measured sizes fit the new limits, so merge risk is minimal.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "build: raise the bundle budgets for protocol 0.69.0" matches the main change. The diff raises the JS budget (5,000,000 to 5,200,000 bytes) and the main-chunk budget (1,800,000 to 1,850,000 …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "build: raise the bundle budgets for protocol 0.69.0" matches the main change. The diff raises the JS budget (5,000,000 to 5,200,000 bytes) and the main-chunk budget (1,800,000 to 1,850,000 bytes) in build/check-bundle-size.ts. The objectives confirm the change exists to let the protocol 0.69.0 bump pass the bundle-size check. The title is concise and specific, and it names the build area and the reason.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8b3e938 and 61cf1d5.

Files selected for processing: 1

  • build/check-bundle-size.ts

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying openmouse with  Cloudflare Pages  Cloudflare Pages

Latest commit: 61cf1d5
Status: ✅  Deploy successful!
Preview URL: https://6f758c1f.openmouse.pages.dev
Branch Preview URL: https://build-budget-protocol-0-69-0.openmouse.pages.dev

View logs

@macroscopeapp

macroscopeapp Bot commented Dec 5, 2026

Copy link
Copy Markdown

Approvability

Verdict: Approved at 61cf1d5

Macroscope's review found this PR approvable — Changes are confined to ignored paths and are described as modest bundle-budget increases for protocol 0.69.0. No material customer-facing or operational risk is evident within the permitted review scope.

Notes:

  • Your repo's Minimum Blocking Severity is Off, so correctness findings do not automatically block approval.
  • No code objects were reviewed. Approvability was decided on eligibility alone.

You can add or adjust custom eligibility rules. Learn more.

@onyxhq-dev
onyxhq-dev merged commit d642375 into main Dec 5, 2026
9 checks passed
@onyxhq-dev
onyxhq-dev deleted the build/budget-protocol-0.69.0 branch December 5, 2026 20:12
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