From af5b8e1fa441938cb2d7c80f3813ed2d19bde764 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Mon, 23 Nov 2026 15:23:04 +0900 Subject: [PATCH 1/4] =?UTF-8?q?test(opfs):=20=EB=8B=A4=EB=A5=B8=20?= =?UTF-8?q?=ED=83=AD=20=EC=8B=9C=ED=97=98=20=EB=91=98=EC=9D=B4=20=EA=B3=A0?= =?UTF-8?q?=EC=A0=95=20=EB=8C=80=EA=B8=B0=20=EB=8C=80=EC=8B=A0=20B=20?= =?UTF-8?q?=ED=83=AD=EC=9D=98=20=EC=9E=A0=EA=B8=88=20=EB=8C=80=EA=B8=B0?= =?UTF-8?q?=EB=A5=BC=20=EB=B3=B8=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `tests/browser-capabilities/opfs-runtime.spec.ts`의 purge 시험(객체 0·3)과 reconcile 시험은 B 탭에서 maintenance를 시작하고 250 ms 뒤에 A 탭 put의 source를 풀었다. B 탭이 250 ms 안에 대기 지점에 못 오면 put이 먼저 끝나 시험이 떨어진다(고정 시간 가정). B 탭 시작을 1초 늦추는 변이에서 chromium·firefox의 세 시험이 모두 실패했다. purge는 removedObjects가 0→1, 3→4로, reconcile은 skippedLiveTransactions가 1→0으로 나왔다. 고른 방법: B 탭의 요청이 Web Locks 대기열(`navigator.locks.query()`의 pending)에 보일 때까지 `expect.poll`로 기다린 뒤 A를 푼다. 한 context의 탭과 worker는 잠금 관리자를 함께 쓰므로 어느 탭에서나 보인다. - purge(객체 0): 지울 객체가 없어 partition 잠금을 exclusive로 기다린다. - purge(객체 3): 첫 remove가 A의 put이 쥔 origin lease를 기다린다. - reconcile: 그 행의 transaction 잠금을 못 잡아 건너뛴 뒤, orphan 정리가 origin lease를 기다린다. 잠금 이름은 page에서 `DEFAULT_OPFS_RUNTIME_POLICY.mutationLockName`으로 만든다. 제품 코드(`src/adapters/storage/opfs/**`)는 바꾸지 않는다. 버린 대안: - reconcile 결과를 A 해제 전에 기다린다(리뷰 카드의 제안). orphan 정리(`listOrphanCandidates`)가 A의 put이 쥔 origin lease를 기다리므로 결과는 A를 푼 뒤에야 온다. 그렇게 고친 시험은 chromium에서 30초 시험 시한으로 실패했다. - 250 ms를 늘린다. 숫자만 바뀐다. 위험: 시험이 adapter의 partition 잠금 이름 꼴 (`:partition:::`)과 경우마다 B가 기다리는 잠금에 묶인다. 그 꼴이나 대기 지점이 바뀌면 poll이 expect 기본 시한(5초) 뒤 실패한다. 조용히 통과하지는 않는다. WebKit은 지원 판정에서 거절되어 이 경로를 돌지 않는다(전과 같다). 검증(desktop, CI env, FE-GATE-008의 capabilities 설정으로 이 spec만): - 고치기 전 + B 탭 1초 늦춤: 6 failed, 3 passed(webkit) rc=1 (sig-red r17-late-b). 카드 방향: 1 failed(시한) rc=1(sig-red r17-card-probe). - 고친 뒤 + B 탭 1초 늦춤: 9 passed rc=0(sig-green g17-late-b). - `-g "in another tab" --repeat-each=30`: 270 passed(세 시험 × 세 엔진 × 30, 실패·flaky 0) rc=0 (sig-final f17-repeat30). - spec 전체: 12 passed rc=0(sig-final f-opfs-spec). - `git grep -n waitForTimeout -- tests/browser-capabilities/opfs-runtime.spec.ts`: 0줄. - 노트북 감싸개 `corepack pnpm lint` rc=0, `check:types:test` rc=0. Refs: REV-FE-0017 --- .../browser-capabilities/opfs-runtime.spec.ts | 53 ++++++++++++++++++- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/tests/browser-capabilities/opfs-runtime.spec.ts b/tests/browser-capabilities/opfs-runtime.spec.ts index 3a4849f9..94b73d4d 100644 --- a/tests/browser-capabilities/opfs-runtime.spec.ts +++ b/tests/browser-capabilities/opfs-runtime.spec.ts @@ -326,6 +326,39 @@ async function removeOpfsAuthority( }, scope); } +/** + * The Web Locks requests still queued for the OPFS runtime of `scope`: the + * workers' origin lease, or this partition's lock, each with the mode asked + * for. Every tab and worker of a context shares one lock manager, so either + * tab sees what the other tab's maintenance waits for. + * + * 2026-11-23. The two-tab tests below waited a fixed 250 ms for tab B to get + * there before letting tab A's put finish. When tab B was slower, the put + * finished first and the test failed on an outcome it never set up. They now + * wait for tab B's request in this queue. + */ +async function queuedOpfsLocks( + page: import("@playwright/test").Page, + scope: OpfsTabScope, +): Promise { + return await page.evaluate(async (tabScope) => { + const policyModulePath = "/src/adapters/storage/opfs/opfs-policy.ts"; + const { DEFAULT_OPFS_RUNTIME_POLICY } = (await import( + /* @vite-ignore */ policyModulePath + )) as typeof import("../../src/adapters/storage/opfs/opfs-policy.ts"); + const lease = DEFAULT_OPFS_RUNTIME_POLICY.mutationLockName; + const partition = `${lease}:partition:${tabScope.authorityToken}:${tabScope.namespaceToken}:${tabScope.partitionToken}`; + const { pending = [] } = await navigator.locks.query(); + return pending.flatMap(({ name, mode }) => + name === lease + ? [`origin lease ${mode}`] + : name === partition + ? [`partition ${mode}`] + : [], + ); + }, scope); +} + // 2026-11-03 05-01 X1. The purge used to report a completed sweep while the // other tab's put landed, and the object stayed readable after the account // deletion. It now waits for that put and takes it with the partition. @@ -422,7 +455,16 @@ for (const committedObjects of [0, 3]) { reason: "ACCOUNT_DELETION", }); }); - await page.waitForTimeout(250); + // Tab B's purge has listed the partition and waits for what tab A's put + // holds: the partition lock it takes exclusive when nothing is left to + // remove, or the origin lease its first remove needs. + await expect + .poll(() => queuedOpfsLocks(secondPage, scope), { + message: "tab B's purge waits for tab A's put", + }) + .toContain( + committedObjects === 0 ? "partition exclusive" : "origin lease exclusive", + ); const put = await page.evaluate(async () => { const state = globalThis as unknown as { __release: () => void; @@ -528,7 +570,14 @@ test("05-01 a reconcile in another tab skips a live put and the put stays readab }; state.__reconcile = state.__opfsTab.maintenance.reconcile(); }); - await page.waitForTimeout(250); + // Tab B's reconcile has tried the row's lock and gone on to the orphan + // sweep, which waits for the origin lease tab A's put holds. So its + // result cannot be awaited before the put is released: it comes after. + await expect + .poll(() => queuedOpfsLocks(page, scope), { + message: "tab B's reconcile waits for tab A's put", + }) + .toContain("origin lease exclusive"); const put = await page.evaluate(async () => { const state = globalThis as unknown as { __release: () => void; -- 2.54.0 From ffa487254d5018b3317f736178a3a340b996f319 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Mon, 23 Nov 2026 15:23:04 +0900 Subject: [PATCH 2/4] =?UTF-8?q?test(e2e):=20preload=20=EC=A7=80=EC=97=B0?= =?UTF-8?q?=20=EC=8B=9C=ED=97=98=EC=9D=B4=20=EC=A7=80=EC=97=B0=EA=B3=BC=20?= =?UTF-8?q?modulepreload=EB=A5=BC=20=EB=8B=A8=EC=96=B8=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `tests/e2e/preload-use.spec.ts`의 「passes a route whose deepest preloaded chunk is reached after WebKit's check」는 feature runtime이 부르는 chunk 하나를 route handler로 3.5초 늦춘 채 표가 15초 안에 그려지는지만 본다. handler가 불렸는지, 그 chunk가 modulepreload였는지는 보지 않는다. 그래서 fixture 사본의 build가 preload를 끄거나(`build.modulePreload: false`) route의 경로 비교가 어긋나도 지연 없는 보통 방문으로 세 엔진에서 통과했다. 시험 이름이 약속한 상황이 일어나지 않는데 초록이다. 고른 방법: 표가 그려진 뒤 둘을 단언한다. - 지연된 chunk의 `link[rel="modulepreload"][href$=""]`가 하나 있다. Vite의 preload helper가 동적 import 앞에 넣는 link다. - handler가 3.5초를 기다린 뒤 센 횟수 `delayed`가 1이다. 지연 로직, 대상 chunk 고르기, 다른 시험은 바꾸지 않는다. 버린 대안: 지연을 더 길게 한다(전제가 안 맞으면 그래도 통과한다). resource timing의 `initiatorType`으로 본다(엔진마다 값과 기록 시점이 달라 DOM link보다 간접적이다). 위험: `delayed`를 1로 못박았다. 한 엔진이 같은 chunk를 두 번 받으면 실패한다(이번 desktop 실행에서 세 엔진 모두 1이었다). link 단언은 Vite가 `modulepreload`를 지원하는 엔진에서 그 rel을 쓰는 데 기댄다. 지원하지 않는 엔진이면 helper가 `preload`를 써 이 단언이 실패한다. 검증(desktop, CI env, `playwright test tests/e2e/preload-use.spec.ts -g "deepest preloaded chunk"`): - 변이 A(fixture 사본 `vite.config.ts`에 `modulePreload: false`): 고치기 전 3 passed rc=0(sig-red r18-mut-a), 고친 뒤 3 failed rc=1, 세 엔진 모두 link 0개(sig-green g18-mut-a). - 변이 B(route 경로 비교를 `${file}.missed`로): 고치기 전 3 passed rc=0(sig-red r18-mut-b), 고친 뒤 3 failed rc=1, 세 엔진 모두 delayed 0(sig-green g18-mut-b). - 변이 없이: 3 passed rc=0(sig-green g18-plain). - spec 전체: 21 passed rc=0(sig-final f-preload-spec). - 노트북 감싸개 `corepack pnpm lint` rc=0, `check:types:test` rc=0. Refs: REV-FE-0018 --- tests/e2e/preload-use.spec.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/e2e/preload-use.spec.ts b/tests/e2e/preload-use.spec.ts index d748b098..3d26d6c8 100644 --- a/tests/e2e/preload-use.spec.ts +++ b/tests/e2e/preload-use.spec.ts @@ -192,10 +192,12 @@ strictTest.describe("with a feature installed", () => { try { await page.goto(`${server.origin}/`); const file = `/${manifest[parent ?? ""]?.file}`; + let delayed = 0; await page.route( (url) => url.pathname === file, async (route) => { await new Promise((resolve) => setTimeout(resolve, 3_500)); + delayed += 1; await route.fallback(); }, ); @@ -206,6 +208,15 @@ strictTest.describe("with a feature installed", () => { await expect( page.getByRole("table", { name: "설치된 HTTP 오퍼레이션" }), ).toBeVisible({ timeout: 15_000 }); + // 2026-11-23. The table alone also came up when the build stopped + // preloading that chunk or the route missed its path: a plain visit + // with nothing delayed. The chunk was a modulepreload, and its one + // request waited the 3.5 s. + await expect( + page.locator(`link[rel="modulepreload"][href$="${file}"]`), + "the delayed chunk was preloaded", + ).toHaveCount(1); + expect(delayed, "the route delayed that chunk's request").toBe(1); } finally { await server.close(); } -- 2.54.0 From 73bad4c9f95ed7511892b8e203a48f5ab265bc5d Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Mon, 23 Nov 2026 17:07:02 +0900 Subject: [PATCH 3/4] =?UTF-8?q?test(opfs):=20=EB=8B=A4=EB=A5=B8=20?= =?UTF-8?q?=ED=83=AD=20=EC=8B=9C=ED=97=98=EC=9D=B4=20lease=20=EB=8C=80?= =?UTF-8?q?=EA=B8=B0=EC=97=B4=EC=97=90=20B=20=ED=83=AD=20=ED=95=98?= =?UTF-8?q?=EB=82=98=EB=A7=8C=20=EC=9E=88=EB=8A=94=EC=A7=80=20=EB=B3=B8?= =?UTF-8?q?=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit af5b8e1f의 두 탭 시험은 Web Locks 대기열에 「origin lease exclusive」가 하나라도 있으면 B 탭이 왔다고 봤다. origin lease는 origin 전체가 쓰는 이름 하나라, 다른 탭이나 worker가 같은 lease를 기다리면 B 탭 대신 그 요청이 조건을 채운다(새 눈 리뷰 Low). 지금 시험에는 탭이 둘뿐이라 실제로 거짓 통과가 나지는 않았다. 고른 방법: `queuedOpfsLocks`가 그 이름·mode의 pending 수를 돌려준다. B를 시작하기 직전에 0인지 보고, B를 시작한 뒤 poll은 정확히 1을 기다린다. 1만 보면 셋째 요청자가 B보다 먼저 줄에 섰을 때, poll의 첫 측정이 B 전에 일어나 그 하나로 통과한다. 그래서 앞의 0 확인을 같이 둔다. 위험·한계: 0 확인과 B의 요청 사이에 셋째가 끼어들고 poll이 B 전에 재면 여전히 통과한다. B의 요청을 따로 알아볼 방법(clientId 등)은 쓰지 않았다. purge(객체 0)가 기다리는 partition 잠금은 그 시험의 scope에만 있어 이 문제가 없다. 검증(desktop, CI env, FE-GATE-008 설정으로 그 spec만): - 셋째 탭이 origin lease를 exclusive로 요청하는 스위치(B 뒤·B 앞)를 켠 실험 사본: 고치기 전 spec은 둘 다 9 passed(빈틈). 고친 spec은 둘 다 4 failed(purge 3·reconcile × chromium·firefox, B 뒤는 Received 2, B 앞은 Received 1). 스위치를 끄면 9 passed. - 고친 spec `-g "in another tab" --repeat-each=30` 270 passed. - 최종 트리 b038c8b3: opfs spec 12 passed, preload-use spec 21 passed. 노트북 scripts/verify.sh docs, laptop-gate lint·check:types:test rc=0. - preload 지연 시험의 `delayed` toBe(1)은 `-g "deepest preloaded chunk" --repeat-each=30` 90 passed라 그대로 둔다(리뷰 Low 둘째). Refs: REV-FE-0017 --- .../browser-capabilities/opfs-runtime.spec.ts | 75 +++++++++++-------- 1 file changed, 45 insertions(+), 30 deletions(-) diff --git a/tests/browser-capabilities/opfs-runtime.spec.ts b/tests/browser-capabilities/opfs-runtime.spec.ts index 94b73d4d..3ff51157 100644 --- a/tests/browser-capabilities/opfs-runtime.spec.ts +++ b/tests/browser-capabilities/opfs-runtime.spec.ts @@ -327,36 +327,43 @@ async function removeOpfsAuthority( } /** - * The Web Locks requests still queued for the OPFS runtime of `scope`: the - * workers' origin lease, or this partition's lock, each with the mode asked - * for. Every tab and worker of a context shares one lock manager, so either + * How many Web Locks requests are still queued for one lock of the OPFS + * runtime of `scope` in `mode`: the workers' origin lease, or this partition's + * lock. Every tab and worker of a context shares one lock manager, so either * tab sees what the other tab's maintenance waits for. * * 2026-11-23. The two-tab tests below waited a fixed 250 ms for tab B to get * there before letting tab A's put finish. When tab B was slower, the put * finished first and the test failed on an outcome it never set up. They now - * wait for tab B's request in this queue. + * wait for tab B's request in this queue. The lease has one name for the whole + * origin, so another tab or worker waiting for it looked just like tab B. The + * queue must be empty before tab B starts and then hold exactly one request; + * another waiter fails the test instead of standing in for tab B. */ async function queuedOpfsLocks( page: import("@playwright/test").Page, scope: OpfsTabScope, -): Promise { - return await page.evaluate(async (tabScope) => { - const policyModulePath = "/src/adapters/storage/opfs/opfs-policy.ts"; - const { DEFAULT_OPFS_RUNTIME_POLICY } = (await import( - /* @vite-ignore */ policyModulePath - )) as typeof import("../../src/adapters/storage/opfs/opfs-policy.ts"); - const lease = DEFAULT_OPFS_RUNTIME_POLICY.mutationLockName; - const partition = `${lease}:partition:${tabScope.authorityToken}:${tabScope.namespaceToken}:${tabScope.partitionToken}`; - const { pending = [] } = await navigator.locks.query(); - return pending.flatMap(({ name, mode }) => - name === lease - ? [`origin lease ${mode}`] - : name === partition - ? [`partition ${mode}`] - : [], - ); - }, scope); + lock: "origin lease" | "partition", + mode: LockMode, +): Promise { + return await page.evaluate( + async ({ tabScope, lock, mode }) => { + const policyModulePath = "/src/adapters/storage/opfs/opfs-policy.ts"; + const { DEFAULT_OPFS_RUNTIME_POLICY } = (await import( + /* @vite-ignore */ policyModulePath + )) as typeof import("../../src/adapters/storage/opfs/opfs-policy.ts"); + const lease = DEFAULT_OPFS_RUNTIME_POLICY.mutationLockName; + const name = + lock === "origin lease" + ? lease + : `${lease}:partition:${tabScope.authorityToken}:${tabScope.namespaceToken}:${tabScope.partitionToken}`; + const { pending = [] } = await navigator.locks.query(); + return pending.filter( + (request) => request.name === name && request.mode === mode, + ).length; + }, + { tabScope: scope, lock, mode }, + ); } // 2026-11-03 05-01 X1. The purge used to report a completed sweep while the @@ -446,6 +453,11 @@ for (const committedObjects of [0, 3]) { }); await started; }); + const waitedLock = committedObjects === 0 ? "partition" : "origin lease"; + expect( + await queuedOpfsLocks(secondPage, scope, waitedLock, "exclusive"), + `nothing waits for the ${waitedLock} before tab B's purge`, + ).toBe(0); await secondPage.evaluate(() => { const state = globalThis as unknown as { __opfsTab: Tab; @@ -459,12 +471,11 @@ for (const committedObjects of [0, 3]) { // holds: the partition lock it takes exclusive when nothing is left to // remove, or the origin lease its first remove needs. await expect - .poll(() => queuedOpfsLocks(secondPage, scope), { - message: "tab B's purge waits for tab A's put", - }) - .toContain( - committedObjects === 0 ? "partition exclusive" : "origin lease exclusive", - ); + .poll( + () => queuedOpfsLocks(secondPage, scope, waitedLock, "exclusive"), + { message: "tab B's purge, and nothing else, waits for tab A's put" }, + ) + .toBe(1); const put = await page.evaluate(async () => { const state = globalThis as unknown as { __release: () => void; @@ -561,6 +572,10 @@ test("05-01 a reconcile in another tab skips a live put and the put stays readab }); await started; }); + expect( + await queuedOpfsLocks(page, scope, "origin lease", "exclusive"), + "nothing waits for the origin lease before tab B's reconcile", + ).toBe(0); // Tab B reconciles while tab A's put is in flight. await secondPage.evaluate(() => { @@ -574,10 +589,10 @@ test("05-01 a reconcile in another tab skips a live put and the put stays readab // sweep, which waits for the origin lease tab A's put holds. So its // result cannot be awaited before the put is released: it comes after. await expect - .poll(() => queuedOpfsLocks(page, scope), { - message: "tab B's reconcile waits for tab A's put", + .poll(() => queuedOpfsLocks(page, scope, "origin lease", "exclusive"), { + message: "tab B's reconcile, and nothing else, waits for tab A's put", }) - .toContain("origin lease exclusive"); + .toBe(1); const put = await page.evaluate(async () => { const state = globalThis as unknown as { __release: () => void; -- 2.54.0 From 8a846103ec0c2e72485ec8712414228a6e9b3ed3 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Mon, 23 Nov 2026 17:07:44 +0900 Subject: [PATCH 4/4] =?UTF-8?q?docs(changelog):=20OPFS=20=EB=8B=A4?= =?UTF-8?q?=EB=A5=B8=20=ED=83=AD=C2=B7preload=20=EC=A7=80=EC=97=B0=20?= =?UTF-8?q?=EC=8B=9C=ED=97=98=20=EC=88=98=EC=A0=95=EC=9D=84=20=EB=AF=B8?= =?UTF-8?q?=EC=B6=9C=EC=8B=9C=20=EC=A0=88=EC=97=90=20=EC=A0=81=EB=8A=94?= =?UTF-8?q?=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 「그 밖의 변경」 표에 REV-FE-0017·0018 줄을 더한다. 수정 커밋 af5b8e1f·73bad4c9(OPFS)와 ffa48725(preload)의 해시를 단다. 73bad4c9는 리뷰 Low로 더한 대기열 수 확인이라 그 내용을 같은 줄 설명에 넣는다. 검증: 노트북 laptop-gate tests/unit/changelog-review-ids.test.ts· docs-system.test.ts 136 passed, verify:documentation PASS_SCOPED, scripts/verify.sh docs OK. Refs: REV-FE-0017, REV-FE-0018 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fd3084f..f79c4b32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -234,6 +234,7 @@ Gitea runner에서 merge 단계를 초록으로 만들고, worker를 늘리지 | Service Worker manifest 검증이 `releaseId`에 `/`가 든 ref 모양 값을 받는다(제어문자 없는 1~512자). `buildId` 규칙은 그대로다. 전에는 `serviceWorker`를 `ACTIVE`로 켜면 CI와 `scripts/verify.sh`가 주는 `RELEASE_ID`(`refs/…`) 때문에 build가 `buildId or releaseId is invalid`로 실패했다. CI 쪽 `RELEASE_ID`는 바꾸지 않는다 (REV-FE-0041) | `src/contracts/service-worker-static-manifest.ts`, `tests/e2e/support/service-worker-builds.ts` | `ea6a5da9` | | `check:ci`의 계약 검사(`scripts/check-ci-contract.ts`)가 보고서 폴더 `artifacts/quality`를 직접 만든다. 전에는 새 checkout·worktree에서 `check:ci`만 따로 돌리면 계약 검사가 끝난 뒤 `ENOENT`로 실패해 실패 목록이 가려졌다. CI 판정은 바뀌지 않는다 (CI-FE-0006) | `scripts/check-ci-contract.ts`, `tests/unit/ci-workflow-generation.test.ts` | `fa4c6e6d` | | Service Worker e2e 두 spec의 대기가 자기 숫자(60 s·30 s, 기본 시험 timeout 30 s 이상이라 쓰일 수 없었다) 대신 시험 timeout을 받는다. 복구 spec의 `expect.poll`은 `timeout: 0`으로 시험 기한까지 보고, `toBeVisible`은 기본 expect timeout(5 s)을 받는다. 빌드를 포함하는 Playwright `webServer` 넷(e2e·Storybook·visual 둘)이 desktop에서 잰 시작 시간으로 `childProcessTimeout`의 timeout을 받는다(앱 60 s, Storybook 150 s, test:a11y는 e2e 설정을 물려받음). 빌드가 더 느린 프로젝트는 `docs/work/reference/testing.md` 2절대로 자기 값을 다시 잰다 (REV-FE-0012, REV-FE-0015) | `tests/e2e/service-worker-update.spec.ts`, `tests/e2e/service-worker-recovery.spec.ts`, `playwright.config.ts`, `playwright.storybook.config.ts`, `playwright.visual.config.ts`, `tests/helpers/child-process-timeout.ts`, `docs/work/reference/testing.md` | `ec95cde5`, `bf21611b` | +| OPFS 다른 탭 시험 둘(purge·reconcile)이 고정 250 ms 대기 대신 Web Locks 대기열(`navigator.locks.query()`)에 B 탭의 요청 하나만 보일 때까지 기다린 뒤 A 탭의 put을 푼다(B를 시작하기 전에는 같은 잠금의 대기가 0이어야 한다). 전에는 B 탭이 250 ms 안에 대기 지점에 못 오면 put이 먼저 끝나 시험이 떨어졌다. preload 지연 시험이 지연한 chunk가 `modulepreload`였는지와 route가 그 요청을 실제로 늦췄는지 단언한다. 전에는 fixture build가 preload를 끄거나 route 경로가 어긋나도 지연 없는 방문으로 통과했다 (REV-FE-0017, REV-FE-0018) | `tests/browser-capabilities/opfs-runtime.spec.ts`, `tests/e2e/preload-use.spec.ts` | `af5b8e1f`, `73bad4c9`, `ffa48725` | ## 미출시 — `8327e221` → 하네스와 작업 매뉴얼 -- 2.54.0