Commit Graph
5 Commits
Author SHA1 Message Date
DongHyeonka 40075c9afd test(browser): WebKit의 「preload를 몇 초 안에 안 썼다」 추측 경고를 받아들인다
WebKit은 load 이벤트 3초 뒤, 아직 쓰이지 않은 link preload마다 경고를
한 번 낸다. 공용 fixture는 경고를 실패로 센다. 그런데 desktop 호스트의
WebKit은 화면 하나를 여는 데 4초 안팎이 걸려, 곧 쓰일 청크에도 이 경고가
나온다. app-shell 시험이 3회 반복 중 한 번 이것으로 떨어졌다
(document-kind-labels-*.js).

템플릿(1103/11-09)과 같은 문장 정규식으로 이 경고만 무시한다.

한계: 템플릿은 이 추측 대신 「preload한 스크립트가 실제로 실행됐는지」를
모든 엔진에서 직접 검사한다(preload-use.ts, 시험 서버가 빌드 스크립트에
표시를 넣는다). 그 장치는 CSP·SW 시험의 응답 가로채기까지 같이 고쳐야
해서 옮기지 않았다. 그래서 쓰이지 않는 preload는 지금 어느 엔진에서도
잡히지 않는다. 다음 템플릿 동기화 때 옮길 일이다.

검증: app-shell을 포함한 다섯 시험을 세 엔진에서 3회 반복해 81건 통과.
2026-11-12 18:38:30 +09:00
DongHyeonka 0665cd764f test(browser): Firefox의 Pretendard name 표 경고 한 줄만 받아들인다
Firefox는 번들된 pretendard 1.3.9 가변 폰트를 열 때마다 콘솔에
「downloadable font: name: name records are not sorted」 경고를 낸다.
브라우저 시험의 공용 fixture(strict-browser-test.ts)는 경고도 실패로
세므로, Firefox에서는 폰트를 쓰는 거의 모든 시험이 떨어진다.
2026-11-12 main(7853ff1d) 기준으로 FE-GATE-008 e2e의 Firefox 실패
143건 중 118건, capability 19건 전부, FE-GATE-009의 29건이 이것
하나뿐이었다.

경고는 폰트 파일 안 name 레코드의 순서를 말한다. Firefox의 폰트 검사기
(OTS)가 순서를 고치고 폰트를 그대로 쓴다. Chromium과 WebKit은 아무것도
내지 않는다. 그래서 이 경고 한 줄만 fixture에서 무시한다. 폰트 이름,
가중치 범위, 파일 이름까지 맞는 문장만 받는다. 폰트가 거부되면
「rejected by sanitizer」 같은 다른 문장이 나오고, 그것은 여전히 실패다.

버린 대안: 폰트를 다시 써서(fonttools로 저장) 정렬된 파일을 repo에 두기.
npm 패키지 대신 고친 바이너리를 직접 관리하게 되고, 패키지를 올릴 때마다
다시 만들어야 한다.

위험: Pretendard를 다른 판으로 바꿔 경고 문장이 달라지면 이 정규식이
맞지 않아 다시 실패한다. 그때는 그 문장을 보고 판단한다.

검증 (desktop, Playwright 1.62, CI env):
- Firefox에서 빌드한 앱: Pretendard Variable status "loaded",
  document.fonts.check('16px "Pretendard Variable"') true, h1 글꼴
  Pretendard Variable. 경고는 그대로 한 줄 나온다.
- test:browser-capabilities: Firefox 실패 19건 → 0건.
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
DongHyeonka 3a7c5deca0 fix: complete TechLog migration evidence 2026-08-16 04:55:52 +09:00
DongHyeonka 40107eec84 chore: initialize from frontend template 4dc033c 2026-08-13 18:23:26 +09:00