From 16d4ca891a663417c013024c5f30f5a2a89440d1 Mon Sep 17 00:00:00 2001 From: CrysisDeu Date: Tue, 8 Sep 2026 20:15:25 +0000 Subject: [PATCH] fix(ci): re-measure the drifted t-chunk bundle ceiling main @ 9af9543b0 builds the t chunk at 795,127 B (776.5 KB) against a 777 KB ceiling (0.07% headroom), so feature PRs adding routine English keys fail Bundle Size Gate on their merge ref while main stays green (first seen on #8307). Ceiling moves to 815 KB (5% headroom), matching the all/App convention. --- website/scripts/check-bundle-size.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/website/scripts/check-bundle-size.mjs b/website/scripts/check-bundle-size.mjs index 92fb1ea5001..6bdbe9ea871 100644 --- a/website/scripts/check-bundle-size.mjs +++ b/website/scripts/check-bundle-size.mjs @@ -75,7 +75,12 @@ export const CHUNK_BUDGETS = { // the growth is main's accumulated English strings, and headroom is what was // actually missing. 5% headroom, matching the `all` entry's convention above, // so the next English string does not re-trip this for the third time. - t: 777 * KB, // measured 740 KB on main @ 1cd64b8c9 (~5% headroom) + // Re-measured 2026-09-08: main @ 9af9543b0 alone builds the chunk at + // 795,127 B (776.5 KB) against the 777 KB ceiling -- 0.07% headroom, the + // same drift again (~36 KB of English strings in four days). A feature PR + // adding ~40 keys (#8307) trips it on its merge ref while main's own gate + // stays green, so the ceiling moves back to the 5% convention. + t: 815 * KB, // measured 776.5 KB on main @ 9af9543b0 (~5% headroom) // Pierre editor implementation (PR #4072 replaced Monaco, whose // 'editor.api2' chunk this entry set used to carry) -- the code-editor