From 5cfc3a652f5a8e0e54bebcc308e171f594267696 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Fri, 6 Nov 2026 07:24:45 +0900 Subject: [PATCH] =?UTF-8?q?chore(scale):=201106=20=ED=95=A9=EC=B9=9C=20?= =?UTF-8?q?=EB=B9=8C=EB=93=9C=EB=A1=9C=20=EC=B4=88=EA=B8=B0=20JS=20?= =?UTF-8?q?=EA=B8=B0=EB=A1=9D=EC=9D=84=20=EB=8B=A4=EC=8B=9C=20=EC=A0=81?= =?UTF-8?q?=EB=8A=94=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제: 1106 조치 브랜치를 모두 합친 빌드에서 `tests/unit/feature-shape-growth.test.ts`가 "initialJavascript is stale"로 실패한다. 새 context 하나가 더하는 초기 JS가 기록 218 B, 빌드 245 B로 10% 허용치를 넘는다. 합계는 204,111 → 204,193 B로 허용치 256 B 안이다. 브랜치마다는 기록과 맞았고 합친 뒤에만 넘는다. 고른 방법: 합친 끝에서 `node scripts/scale/measure-feature-shape-growth.ts --initial-baseline --write`로 다시 적는다(1105의 같은 기록 커밋과 같은 방법). 기능 하나가 더하는 값은 768 → 751 B다. 위험·한계: 초기 JS 예산 206,848 B(D9)까지 템플릿 여유는 2,655 B, 생성 기능 둘을 더한 FE-GATE-020 드릴은 205,541 B로 여유 1,307 B다(CI env). 기능·context 상한(1 KiB·512 B)은 그대로다. 검증: desktop batch에서 확인. node scripts/run-vitest.ts run tests/unit/feature-shape-growth.test.ts corepack pnpm ci:gate FE-GATE-020 (CI env) Refs: 1106/15-01 --- config/scale/feature-shape-ceilings.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/scale/feature-shape-ceilings.json b/config/scale/feature-shape-ceilings.json index dd92556a..853db542 100644 --- a/config/scale/feature-shape-ceilings.json +++ b/config/scale/feature-shape-ceilings.json @@ -39,9 +39,9 @@ } ], "initialJavascript": { - "gzipBytes": 204111, + "gzipBytes": 204193, "files": 27, - "perFeatureGzipBytes": 768, - "perContextGzipBytes": 218 + "perFeatureGzipBytes": 751, + "perContextGzipBytes": 245 } }