Repository navigation
feat(ci): gate boot gzip on PR delta instead of deploy ceiling - #4466
Merged
Merged
Conversation
Fixes #4464 Remove absolute gzip enforcement from deploy builds and default web builds. Add boot-bundle workflow with +5 KB delta vs main, sticky PR comment, and bundle-size-ok label override. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Contributor
|
Boot bundle: 507.6 KB gzip (+0.0 KB vs main) |
tyler-dane
enabled auto-merge
October 14, 2026 18:59
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
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.
Fixes #4464
What and why
Tyler approved replacing the absolute boot gzip ceiling that kept blocking releases over a few bytes (#4463).
.github/docker/Dockerfile.webruns.github/perf/run-boot-size-check.shwithCOMPASS_BOOT_SIZE_ENFORCE=0, logs boot gzip, and never fails the image build on absolute size..github/workflows/boot-bundle.ymlbuilds merge base and PR head with the deploy-shaped config, posts/updates one sticky comment (for exampleBoot bundle: 519.8 KB gzip (+0.4 KB vs main)), and fails only when gzip grows more than +5 KB vsmainunless the PR has thebundle-size-oklabel.boot-size-budget.jsondrops enforced absolute gzip (totalGzipSlackBytesremoved;totalGzipBytesis informational).performance-baselines.mdandworkflows.mddescribe the delta gate.PR #4463 is already merged; this makes future ceiling bumps unnecessary for routine byte drift.
Verify
Local evidence:
COMPASS_BOOT_SIZE_ENFORCE=0 .github/perf/run-boot-size-check.sh→ exit 0,boot gzip total: 519809 Bbun .github/perf/pr-boot-size-delta.tswithBASE_SHA=merge-base→Boot bundle: 507.6 KB gzip (+0.0 KB vs main)