From 5ca5340e1192ee7abb663b6e9fa537d976376008 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Thu, 5 Nov 2026 01:26:27 +0900 Subject: [PATCH] =?UTF-8?q?fix(removal):=20=EC=83=98=ED=94=8C=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0=20=EB=92=A4=20=EB=82=A8=EB=8A=94=20=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=EC=97=90=20=EC=83=98=ED=94=8C=20ID=20=EA=B8=80=EC=9E=90?= =?UTF-8?q?=EB=A5=BC=20=EC=93=B0=EC=A7=80=20=EC=95=8A=EB=8A=94=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제 test:sample-removal의 잔여 검사(REFERENCE_RESOURCE|reference-feature| reference-resource)가 샘플을 지운 fixture에서 두 파일을 잡아 FE-GATE-020이 실패한다. tests/unit/hosting-probe.test.ts는 비상 스위치 예시로 FEATURE_OVERRIDES에 "reference-feature"를 쓰고(13-01), platform-examples- context의 머리 주석은 참조 context 경로를 적는다(09-04). 고른 방법 - 테스트 값을 "platform-examples-feature"로 바꾸고, 주석은 샘플 이름 없이 적는다. 동작은 바뀌지 않는다. 검증 - tests/unit/hosting-probe.test.ts 37건, lint 통과. 제거 드릴은 X4 재실행에서 확인한다. Refs: docs/reviews/2026-11-03-maturity-review/README.md 14.5 --- src/contexts/platform-examples-context/context-module.ts | 4 ++-- tests/unit/hosting-probe.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/contexts/platform-examples-context/context-module.ts b/src/contexts/platform-examples-context/context-module.ts index 7e9b32a0..930b0859 100644 --- a/src/contexts/platform-examples-context/context-module.ts +++ b/src/contexts/platform-examples-context/context-module.ts @@ -3,8 +3,8 @@ * auth integration) as one removable bounded context. A product leaves * `platform-examples-feature` out of `VITE_PRODUCT_FEATURES`, or deletes it, * and the three routes leave the registry, the navigation, the bundle and the - * manual accessibility list together. The root is `examples/*`; - * `reference-context` keeps the more specific `examples/reference-resources/*`. + * manual accessibility list together. The root is `examples/*`; the sample + * feature's own context keeps a more specific path below it. */ export const CONTEXT_MODULE_ID = "platform-examples-context"; export const CONTEXT_APP_ID = "template-app"; diff --git a/tests/unit/hosting-probe.test.ts b/tests/unit/hosting-probe.test.ts index bbdc2b6f..9f109b45 100644 --- a/tests/unit/hosting-probe.test.ts +++ b/tests/unit/hosting-probe.test.ts @@ -245,7 +245,7 @@ describe("SPA fallback and worker script surfaces (1101/13-04)", () => { const switched = JSON.stringify({ ...JSON.parse(CONFIG), CAPABILITY_OVERRIDES: { realtime: "DISABLED" }, - FEATURE_OVERRIDES: { "reference-feature": false }, + FEATURE_OVERRIDES: { "platform-examples-feature": false }, }); expect( await failed({ ...RELEASE, "/__probe/deep-link": [200, INDEX], "/config.json": [200, switched] }),