Skip to content

chore: refresh size-gate baselines - #4316

Open
sxlijin wants to merge 1 commit into
canaryfrom
chore/size-gate-baseline-refresh
Open

chore: refresh size-gate baselines#4316
sxlijin wants to merge 1 commit into
canaryfrom
chore/size-gate-baseline-refresh

Conversation

@sxlijin

@sxlijin sxlijin commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Adopted from CI run f0f7ccf184b6f192f99e04a39c9445f5bac2da4a.

Binary size checks passed

7 passed

Artifact Platform File Gzip Gated on Baseline Delta Status
baml-cli Linux 🔒 27.6 MB 11.7 MB file 27.4 MB +197.2 KB (+0.7%) OK
packed-program Linux 🔒 17.9 MB 7.4 MB file 17.7 MB +219.7 KB (+1.2%) OK
baml-cli macOS 🔒 21.4 MB 10.3 MB file 21.3 MB +130.5 KB (+0.6%) OK
packed-program macOS 🔒 14.0 MB 6.5 MB file 13.8 MB +160.9 KB (+1.2%) OK
bridge_wasm WASM 17.0 MB 🔒 4.6 MB gzip 4.6 MB +28.9 KB (+0.6%) OK
baml-cli Windows 🔒 23.1 MB 10.5 MB file 23.0 MB +122.3 KB (+0.5%) OK
packed-program Windows 🔒 14.9 MB 6.6 MB file 14.8 MB +153.7 KB (+1.0%) OK

🔒 = the size this artifact is GATED on (ceiling + delta). Binaries gate on file size (installed binary); WASM gates on gzip (download size). The other size is shown for information only.


Generated by cargo size-gate

Summary by CodeRabbit

  • Chores
    • Updated cross-platform application size thresholds to reflect recent artifact growth.
    • Refreshed recorded build metadata and size measurements for macOS, Windows, Linux, and WebAssembly builds.
    • Increased the accepted WebAssembly compressed-size limit to accommodate the latest build output.

@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
beps Ready Ready Preview Aug 3, 2026 10:38am
promptfiddle2 Ready Ready Preview Aug 3, 2026 10:38am

Request Review

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

⏭️ Performance benchmarks were skipped

Perf benchmarks (CodSpeed) are opt-in on pull requests — they no longer run on every push. They always run automatically after merge to canary/main.

To run them on this PR, do any of the following, then push a commit (or re-run CI):

  • Add RUN_CODSPEED=1 to the PR description, or
  • Include run-perf or /perf in the PR title or any commit message.

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 4abc3d33-2e1a-47be-8645-875481bbd9d5

📥 Commits

Reviewing files that changed from the base of the PR and between df9c0e6 and c927057.

📒 Files selected for processing (5)
  • baml_language/.cargo/size-gate.toml
  • baml_language/.ci/size-gate/aarch64-apple-darwin.toml
  • baml_language/.ci/size-gate/wasm32-unknown-unknown.toml
  • baml_language/.ci/size-gate/x86_64-pc-windows-msvc.toml
  • baml_language/.ci/size-gate/x86_64-unknown-linux-gnu.toml
🚧 Files skipped from review as they are similar to previous changes (5)
  • baml_language/.ci/size-gate/x86_64-pc-windows-msvc.toml
  • baml_language/.ci/size-gate/aarch64-apple-darwin.toml
  • baml_language/.cargo/size-gate.toml
  • baml_language/.ci/size-gate/x86_64-unknown-linux-gnu.toml
  • baml_language/.ci/size-gate/wasm32-unknown-unknown.toml

📝 Walkthrough

Walkthrough

The size-gate configuration permits larger baml-cli, packed-program, and bridge_wasm artifacts. Platform-specific TOML records update build metadata and measured artifact sizes for four targets.

Changes

Size-gate refresh

Layer / File(s) Summary
Update size-gate limits
baml_language/.cargo/size-gate.toml
The maximum sizes increased for baml-cli, packed-program, and bridge_wasm.
Refresh platform baselines
baml_language/.ci/size-gate/*.toml
Build metadata and recorded artifact sizes were updated for Apple, WebAssembly, Windows, and Linux targets.

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

Possibly related PRs

Poem

A rabbit checked each binary’s height,
Then raised the gate by just the right bite.
Apple and Windows hopped in line,
Linux and Wasm matched the sign.
Fresh stamps marked each measured run—
The size-gate watch was neatly done.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the refresh of size-gate baselines across the affected platforms.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/size-gate-baseline-refresh

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

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

Binary size checks passed

7 passed

Artifact Platform File Gzip Gated on Baseline Delta Status
baml-cli Linux 🔒 27.6 MB 11.7 MB file 27.6 MB -12.5 KB (-0.0%) OK
packed-program Linux 🔒 17.9 MB 7.4 MB file 17.9 MB +10.0 KB (+0.1%) OK
baml-cli macOS 🔒 21.4 MB 10.3 MB file 21.4 MB +25.6 KB (+0.1%) OK
packed-program macOS 🔒 14.0 MB 6.5 MB file 14.1 MB -48.8 KB (-0.3%) OK
baml-cli Windows 🔒 23.1 MB 10.5 MB file 23.1 MB +17.4 KB (+0.1%) OK
packed-program Windows 🔒 14.9 MB 6.6 MB file 14.9 MB +48.8 KB (+0.3%) OK
bridge_wasm WASM 17.0 MB 🔒 4.6 MB gzip 4.6 MB +28.9 KB (+0.6%) OK

🔒 = the size this artifact is GATED on (ceiling + delta). Binaries gate on file size (installed binary); WASM gates on gzip (download size). The other size is shown for information only.


Generated by cargo size-gate · workflow run

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