From 7f9a515dd931d06783fdf0fc7efb4f5a7f1dc8dc Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Thu, 5 Nov 2026 01:39:22 +0900 Subject: [PATCH] =?UTF-8?q?fix(build):=20=EB=B9=8C=EB=93=9C=20=EB=B3=B5?= =?UTF-8?q?=EC=82=AC=EB=B3=B8=20=EC=9E=85=EB=A0=A5=20=EB=AA=A9=EB=A1=9D?= =?UTF-8?q?=EC=97=90=20dev=20release-manifest=20=ED=94=8C=EB=9F=AC?= =?UTF-8?q?=EA=B7=B8=EC=9D=B8=EC=9D=84=20=EB=8D=94=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제 c15345c가 vite.config.ts에서 scripts/lib/dev-release-manifest.ts를 import한다. 초기 JS를 재는 measure-feature-shape-growth.ts와 product-feature-selection-build 테스트는 빌드할 복사본에 정해진 파일만 복사하는데(BUILD_INPUTS), 그 목록에 새 파일이 없다. 그래서 복사본의 vite build가 "Could not resolve './scripts/lib/dev-release-manifest.ts'"로 실패해 test:unit 두 파일과 세 capability 제거 드릴이 떨어졌다. c15345c 뒤에 test:unit 전체를 돌리지 않아 놓쳤다. 고른 방법 - 두 BUILD_INPUTS에 그 파일을 더한다. - 두 목록이 같은 내용의 사본이다. 하나로 합치는 것은 이 수정의 범위 밖으로 둔다(남은 문제). 검증 - test:unit 193파일 2,880건 통과, lint 통과. Refs: docs/reviews/2026-11-03-maturity-review/README.md 14.6 X2 #3 --- scripts/scale/measure-feature-shape-growth.ts | 2 ++ tests/unit/product-feature-selection-build.test.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/scale/measure-feature-shape-growth.ts b/scripts/scale/measure-feature-shape-growth.ts index 94b6e6b5..4075b997 100644 --- a/scripts/scale/measure-feature-shape-growth.ts +++ b/scripts/scale/measure-feature-shape-growth.ts @@ -46,6 +46,8 @@ const BUILD_INPUTS = [ "tsconfig.base.json", "tsconfig.app.json", "scripts/lib/vite-module-inventory.ts", + // vite.config.ts imports it (the dev-only release-manifest plugin). + "scripts/lib/dev-release-manifest.ts", ] as const; // Platform-owned names that only happen to contain "reference". const PLATFORM_TOKENS = [ diff --git a/tests/unit/product-feature-selection-build.test.ts b/tests/unit/product-feature-selection-build.test.ts index 2a8242a3..855b6c2b 100644 --- a/tests/unit/product-feature-selection-build.test.ts +++ b/tests/unit/product-feature-selection-build.test.ts @@ -28,6 +28,8 @@ const BUILD_INPUTS = [ "tsconfig.base.json", "tsconfig.app.json", "scripts/lib/vite-module-inventory.ts", + // vite.config.ts imports it (the dev-only release-manifest plugin). + "scripts/lib/dev-release-manifest.ts", ] as const; // Feature ids stay: the generated index still declares them so the platform // overview reports NOT_INSTALLED. Their modules and route ids go.