Commit Graph
3 Commits
Author SHA1 Message Date
DongHyeonka 9095c6337e test(e2e): 템플릿에서 온 시험이 앱이 그려진 뒤부터 잰다
scroll-restoration, production-csp, old-tab-chunk-recovery,
boot-module-failure는 템플릿처럼 page.goto 뒤 첫 expect(5초) 안에 첫
화면이 그려지기를 기다린다. desktop 호스트의 WebKit은 화면 하나를 여는
데 혼자 돌 때도 3.8~4.6초가 걸린다(Case 화면, Chromium 0.93초). 그래서
다른 worker와 함께 돌면 5초를 넘겨 「불러오는 중」에서 떨어진다. 전체
test:e2e와 3회 반복에서 webkit만 이렇게 떨어졌다.

이 제품의 다른 브라우저 시험처럼 앱이 그려진 것(.site-frame, 부팅 실패면
alert)을 먼저 기다린다. scroll-restoration은 gotoTechLog로 연다. 시험하는
것(스크롤 위치, CSP, 다시 불러오기 횟수, 실패 화면 내용)은 그대로다.

부팅 실패 청크 수정 전후 WebKit 시간이 같아서(JS 14개일 때 3.8~4.6초,
36개일 때 3.8~4.1초) 청크 수가 원인은 아니다.

검증: 네 시험과 app-shell을 chromium·firefox·webkit에서 --repeat-each=3으로
81건 모두 통과.
2026-11-12 18:38:30 +09:00
DongHyeonka 70f3125c8e test(e2e): 부팅 실패 fixture가 TechLog 메시지 카탈로그를 두 번 합친다
boot-module-failure 시험은 빌드 사본의 installed-feature-messages.ts에서
`composeInstalledMessageCatalogs(\n  INSTALLED_PRODUCT_FEATURE_MODULES,\n)`를
찾아 두 번 합치게 고친다. 같은 메시지 키가 두 번 들어가 모듈 평가 중에
예외가 나야 한다. 이 제품은 동기화 때 그 줄을 TechLog 카탈로그를 같이
합치는 배열로 바꿨다. 그래서 문자열을 찾지 못하고 빌드 전에 떨어진다.

TechLog 카탈로그 줄을 두 번 넣는다. 키가 겹쳐 같은 TypeError가 난다.

한계: 이제 fixture는 의도대로 동작하지만 시험은 여전히 떨어진다. 제품
결함이다. 예외가 나는 모듈이 route-not-found 청크에 묶이고, 부팅 실패
화면(render-boot-failure 청크)이 그 청크에서 두 값을 import한다. 그래서
부팅 실패 화면도 그리지 못하고 「불러오는 중」이 계속된다. 27e342d(PR #6
전) 빌드도 같은 import를 가지고 있어 react-dom 청크 분리 때문은 아니다.
청크 구성을 고치는 일은 이 PR 밖이다.

검증: 빌드 사본에서 「Duplicate ko-KR message key: route.TECH_LOG_HOME.title」
TypeError가 route-not-found 청크에서 나는 것을 trace로 확인했다.
2026-11-12 15:03:16 +09:00
DongHyeonka c80320dfc7 chore: sync the frontend template from ebea300 to af3d8e6
Carries 359 template commits, tag v0.2.0 plus one documentation commit: the
generator-built feature index with its app, bounded-context and feature
declarations, the src/platform kernel and scale tooling, the 2026-09-24 src
review fixes, and the 2026-09-25 maturity review round with its CHANGELOG
[보안]/[계약] rows. 691 of the 824 template paths are applied, 85 of them
merged with product changes; 127 are not carried.

Product identity is unchanged: name, version 0.1.0, routes, design and the
TechLog domain.

Three decisions worth naming. TechLog stays composed directly, as the last
two syncs recorded; its directory carries a NOT_INSTALLED marker that says so,
and every installed-* composer takes the template's projection with TechLog
added on top. The reference sample is no longer installed: the template now
installs a feature only through feature-module.ts and context-routes.ts,
which load the screens this product deleted, so its three operations, six
schemas and one topic leave the registries, recorded as registry change
evidence. And AppRouter mounts the platform and TechLog routes only; the
template's bounded-context route gateway waits for a generator-installed
feature.

Required fixes: readSubject on the BFF session owner (without it every HTTP
Studio session would close as integration-failed), zod through the facade in
nine TechLog files, noUnusedLocals, and public/config.json written out to
match the local profile. Derived baselines were recomputed after reproducing
both sides' values: CI contract 101 commands / 106 references / 141
artifacts, gate shape c9adcf85; registry approval 2dc6c3a3; the runtime
config schema baseline equals the schema at 8210d48.

Verified here: types, lint, architecture, adapter inventory, CI contract,
i18n, design system, diagnostics, browser security, dev release manifest,
TechLog contract and build pass; 220 component, 155 integration, 15
contract, 418 TechLog, 43 reference-feature, 18 recipe and 46
release-coherence tests pass, and 2381 of 2383 unit tests. Reproduced at
8210d48 first and unchanged: check:registries (byte-identical),
test:runtime-schema, verify:documentation. Brought by the template and
escalated rather than suppressed: check:request-fanout on TechLog's cursor
pagination, check:remediation-ledger (fails upstream too), the shared-chunk
hash test, and the registry-dependent sample removal and second-feature
tests. Playwright suites were not run.

Full record, the five open questions and the follow-ups in
docs/operations/template-sync-2026-09-29.md.

(cherry picked from commit b2170cf265dea45dc9cc05d3c61e627e97f31cdb)
2026-11-12 08:28:54 +09:00