Skip to content

chore: refresh size-gate baselines - #4554

Merged
sxlijin merged 3 commits into
canaryfrom
chore/size-gate-baseline-refresh
Aug 21, 2026
Merged

sxlijin merged 3 commits into
canaryfrom
chore/size-gate-baseline-refresh

Conversation

@sxlijin

@sxlijin sxlijin commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

Adopted from CI run f7bd01e8b4bc5a4b45af3b71c01ded9e8196513b.

Binary size checks passed

✅ 7 passed

Artifact Platform File Gzip Gated on Baseline Delta Status
✅ baml-cli Linux 🔒 32.3 MB 12.8 MB file 32.1 MB +211.7 KB (+0.7%) OK
✅ packed-program Linux 🔒 25.8 MB 9.4 MB file 25.5 MB +367.1 KB (+1.4%) OK
✅ baml-cli macOS 🔒 26.0 MB 11.3 MB file 25.8 MB +230.2 KB (+0.9%) OK
✅ packed-program macOS 🔒 21.5 MB 8.4 MB file 21.2 MB +354.8 KB (+1.7%) OK
✅ bridge_wasm WASM 21.7 MB 🔒 5.5 MB gzip 5.5 MB +8.1 KB (+0.1%) OK
✅ baml-cli Windows 🔒 27.8 MB 11.5 MB file 27.6 MB +237.4 KB (+0.9%) OK
✅ packed-program Windows 🔒 22.7 MB 8.5 MB file 22.2 MB +425.7 KB (+1.9%) 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 platform-specific build size limits for command-line and packaged artifacts.
    • Refreshed recorded artifact size measurements and build metadata across macOS, Windows, and Linux.
    • Keeps size validation aligned with current build outputs.
    • Improves accuracy of build reporting for supported native platforms.

@vercel

vercel Bot commented Aug 21, 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 21, 2026 10:59pm
promptfiddle2 Error Error Aug 21, 2026 10:59pm

Request Review

@github-actions

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 21, 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: 552dbeba-9532-4fe7-8cdc-4f95d09228ce

📥 Commits

Reviewing files that changed from the base of the PR and between 907cece and 1b7ded7.

📒 Files selected for processing (1)
  • baml_language/crates/tools_size_gate/src/config.rs
💤 Files with no reviewable changes (1)
  • baml_language/crates/tools_size_gate/src/config.rs

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


📝 Walkthrough

Walkthrough

The size-gate ceilings increased for baml-cli and packed-program. Native platform baselines now record updated metadata and larger artifact measurements. A checked-in configuration validation test was removed.

Changes

Size-gate updates

Layer / File(s) Summary
Raise artifact size ceilings
baml_language/.cargo/size-gate.toml
The per-platform max_file_bytes ceilings increased for baml-cli and packed-program.
Refresh native platform baselines
baml_language/.ci/size-gate/*.toml
The baseline timestamps, Git SHAs, and recorded artifact sizes were updated for three native platforms.
Remove checked-in configuration validation
baml_language/crates/tools_size_gate/src/config.rs
The test for checked-in configuration parsing, validation, and the macOS baml-cli threshold was removed.

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

Merge Risk: ⚪ Minimal · up to 1b7de

This PR refreshes binary size-gate baselines without any supplied merge-blocking concern; it is merge-ready after normal checks and review.

Possibly related PRs

Poem

A rabbit checks each size-gate line,
New artifact measures align.
baml-cli and packed programs grow,
Native baselines now show.
The test hops out; thresholds shine.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.
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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the primary change: updating size-gate baselines.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • 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.

@vercel
vercel Bot temporarily deployed to Preview – beps August 21, 2026 09:31 Inactive
@vercel
vercel Bot temporarily deployed to Preview – promptfiddle2 August 21, 2026 09:37 Inactive
@github-actions

github-actions Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

Binary size checks passed

✅ 7 passed

Artifact Platform File Gzip Gated on Baseline Delta Status
✅ baml-cli Linux 🔒 32.3 MB 12.8 MB file 32.3 MB +2.0 KB (+0.0%) OK
✅ packed-program Linux 🔒 25.8 MB 9.4 MB file 25.9 MB -52.3 KB (-0.2%) OK
✅ baml-cli macOS 🔒 26.0 MB 11.3 MB file 26.0 MB +20.5 KB (+0.1%) OK
✅ packed-program macOS 🔒 21.5 MB 8.4 MB file 21.5 MB +40.2 KB (+0.2%) OK
✅ baml-cli Windows 🔒 27.8 MB 11.5 MB file 27.8 MB +27.6 KB (+0.1%) OK
✅ packed-program Windows 🔒 22.7 MB 8.5 MB file 22.6 MB +6.3 KB (+0.0%) OK
✅ bridge_wasm WASM 21.7 MB 🔒 5.5 MB gzip 5.5 MB +8.1 KB (+0.1%) 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

@vercel
vercel Bot temporarily deployed to Preview – beps August 21, 2026 22:49 Inactive
@vercel
vercel Bot temporarily deployed to Preview – beps August 21, 2026 22:54 Inactive
@vercel
vercel Bot temporarily deployed to Preview – promptfiddle2 August 21, 2026 22:59 Inactive
@sxlijin
sxlijin added this pull request to the merge queue Aug 21, 2026
Merged via the queue into canary with commit a50430f Aug 21, 2026
79 of 97 checks passed
@sxlijin
sxlijin deleted the chore/size-gate-baseline-refresh branch August 21, 2026 23:19

This branch was previously deployed

2 inactive deployments
Preview – promptfiddle2 — 1b7ded77 Deployed Aug 21, 2026 by vercel[bot]
Preview – beps — 1b7ded77 Deployed Aug 21, 2026 by vercel[bot]
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