|
1 | 1 | # Testing Lane Execution Report |
2 | 2 |
|
3 | | -Generated: 2026-05-26 |
4 | | -PR: PR_26146_028-zero-browser-preflight-and-lane-compilation |
| 3 | +Generated: 2026-05-26T19:05:55.095Z |
| 4 | +Dry run: No |
5 | 5 |
|
6 | 6 | ## Summary |
7 | 7 |
|
8 | | -PASS: 3 |
| 8 | +PASS: 2 |
9 | 9 | WARN: 0 |
10 | 10 | FAIL: 0 |
11 | 11 | SKIP: 3 |
12 | 12 |
|
13 | 13 | ## Full Samples Smoke |
14 | 14 |
|
15 | 15 | Status: SKIP |
16 | | -Reason: This PR changes zero-browser preflight, lane compilation, and targeted lane routing only. No sample JSON, shared sample loader, or sample framework files were changed. |
| 16 | +Reason: Skipped because changed files do not modify sample JSON or shared sample loader/framework behavior. |
17 | 17 |
|
18 | | -## Executed and Skipped Lanes |
| 18 | +## Preflight |
19 | 19 |
|
20 | | -| Lane / Check | Status | Executed/Skipped Reason | Affected Surface | Evidence | |
21 | | -| --- | --- | --- | --- | --- | |
22 | | -| zero-browser-preflight | PASS | Executed first to prove deterministic setup checks run before Playwright runtime initialization. | Placement, ownership, registrations, imports, fixtures, helpers, grep, quoting, lane references, lane configuration | `npm run test:playwright:zero-browser` passed and wrote zero-browser plus lane compilation reports. | |
23 | | -| tool-runtime | PASS | Executed because lane compilation and zero-browser routing changed. | Asset Manager V2, Preview Generator V2, Collision Inspector V2 runtime tests | `PLAYWRIGHT_BROWSERS_PATH=0 node ./scripts/run-targeted-test-lanes.mjs --lanes integration,tool-runtime`; Asset Manager focused subset 5 passed, Preview Generator and Collision Inspector combined run 11 passed. | |
24 | | -| integration | PASS | Executed because the integration lane remains part of the affected compiled lane graph. | Game index preview manifest handoff | Same combined runner command; focused Pong handoff subset 3 passed. | |
25 | | -| workspace-contract | SKIP | Skipped because zero-browser preflight does not require Workspace V2 launch and Workspace V2 runtime wiring was not changed. | Workspace Manager V2 contract/lifecycle behavior | Not run. | |
26 | | -| engine-src | SKIP | Skipped because no `src/`, engine Playwright, or node engine lane targets changed. | src/ engine/shared runtime behavior | Not run. | |
27 | | -| samples | SKIP | Skipped because samples are on-request or affected-sample only and this PR did not impact samples. | On-request samples lane | Not run. | |
| 20 | +Status: PASS |
| 21 | +Reason: Runner preflight and Playwright structure audit passed before expensive lane execution. |
| 22 | +Command: C:\nvm4w\nodejs\node.exe scripts/audit-playwright-test-locations.mjs |
| 23 | +Details: Lane tool-runtime grep pattern is passed as a literal Node argv value: launch guard|temporary UAT context|rejects non-Workspace |
| 24 | + |
| 25 | +## Dependency Gate |
| 26 | + |
| 27 | +Status: PASS |
| 28 | +Reason: No deterministic dependency failures before runtime. |
| 29 | + |
| 30 | +## Runtime Scheduling |
28 | 31 |
|
29 | | -## Prevented Launches and Fast-Fail Reasons |
| 32 | +Status: PASS |
| 33 | +Scheduled lane order: tool-runtime, integration |
| 34 | +Reused runtime sessions: 2 |
| 35 | +Prevented redundant browser launches: 1 |
| 36 | +Prevented redundant lane execution: 3 |
30 | 37 |
|
31 | | -- Prevented browser launches: 0 in this validation run because no deterministic pre-runtime failures were found. |
32 | | -- Fast-fail reasons: none. |
33 | | -- If preflight finds placement, helper ownership, import, fixture, lane reference, lane configuration, grep, or quoting failures, the runner exits before Playwright/browser startup. |
| 38 | +## Validation Sequence |
| 39 | + |
| 40 | +- PASS zero-browser preflight first: `npm run test:playwright:zero-browser` |
| 41 | +- PASS lane compilation validation second: `node ./scripts/run-targeted-test-lanes.mjs --zero-browser-only --lanes tool-runtime,integration` |
| 42 | +- PASS affected targeted runtime lanes after dependency validation: `PLAYWRIGHT_BROWSERS_PATH=0 node ./scripts/run-targeted-test-lanes.mjs --lanes tool-runtime,integration` |
| 43 | +- SKIP Workspace V2 lane: no Workspace V2 contract behavior was changed, and workspace-contract lane was not in scope. |
| 44 | +- SKIP full samples smoke: changed files do not modify sample JSON or shared sample loader/framework behavior. |
| 45 | + |
| 46 | +## Lanes |
| 47 | + |
| 48 | +| Lane | Status | Executed/Skipped Reason | Affected Surface | Fixtures / Inputs | |
| 49 | +| --- | --- | --- | --- | --- | |
| 50 | +| workspace-contract | SKIP | Lane was not selected for this targeted run. | Workspace Manager V2 contract and lifecycle behavior | tests/fixtures/workspace-v2/uat.manifest.json; mocked File System Access repo handles; explicit game manifest/toolState payloads | |
| 51 | +| tool-runtime | PASS | Tool runtime lane validates focused tool behavior without treating unrelated stale product assertions as blockers. | First-class tool runtime behavior | tool-specific mocked repo/file picker inputs; explicit manifest/toolState launch contexts | |
| 52 | +| integration | PASS | Integration lane validates explicit cross-surface handoffs only; broad all-game thumbnail coverage is outside the default targeted lane. | Workspace, tool, game index, and manifest handoff behavior | repo game manifests; manifest preview asset roles; repo-served browser pages | |
| 53 | +| engine-src | SKIP | Lane was not selected for this targeted run. | src/ engine and shared runtime capability behavior | explicit node unit fixtures; fresh in-memory localStorage/sessionStorage mocks per file | |
| 54 | +| samples | SKIP | Lane was not selected for this targeted run. | Affected samples lane, on request only | sample metadata and validation artifacts; sample structure fixtures | |
34 | 55 |
|
35 | | -## Corrected Ownership Drift |
| 56 | +## Commands |
36 | 57 |
|
37 | | -- No new misplaced tests or helpers were found in this PR. |
38 | | -- Existing corrections remain enforced: Asteroids game specs under `tests/playwright/games`, integration handoff under `tests/playwright/integration`, documented game fixtures only in tool tests. |
| 58 | +### workspace-contract |
| 59 | +- SKIP |
39 | 60 |
|
40 | | -## Runtime Savings Observations |
| 61 | +### tool-runtime |
| 62 | +- PASS C:\nvm4w\nodejs\node.exe C:\Users\davidq\Documents\GitHub\HTML-JavaScript-Gaming\node_modules\@playwright\test\cli.js test tests/playwright/tools/AssetManagerV2.spec.mjs --grep "launch guard|temporary UAT context|rejects non-Workspace" --project=playwright --workers=1 --reporter=list |
| 63 | +- PASS C:\nvm4w\nodejs\node.exe C:\Users\davidq\Documents\GitHub\HTML-JavaScript-Gaming\node_modules\@playwright\test\cli.js test tests/playwright/tools/PreviewGeneratorV2Baseline.spec.mjs tests/playwright/tools/CollisionInspectorV2.spec.mjs --project=playwright --workers=1 --reporter=list |
41 | 64 |
|
42 | | -- Zero-browser preflight ran before browser startup. |
43 | | -- Affected lanes ran in one Node lane-runner process. |
44 | | -- Preview Generator V2 and Collision Inspector V2 ran through one Playwright CLI invocation. |
45 | | -- Workspace V2, engine/src, samples, and full samples smoke were not started. |
| 65 | +### integration |
| 66 | +- PASS C:\nvm4w\nodejs\node.exe C:\Users\davidq\Documents\GitHub\HTML-JavaScript-Gaming\node_modules\@playwright\test\cli.js test tests/playwright/integration/GameIndexPreviewManifestResolution.spec.mjs --grep Pong --project=playwright --workers=1 --reporter=list |
46 | 67 |
|
47 | | -## Static Validation |
| 68 | +### engine-src |
| 69 | +- SKIP |
48 | 70 |
|
49 | | -- PASS `node --check scripts/run-targeted-test-lanes.mjs` |
50 | | -- PASS `node --check scripts/audit-playwright-test-locations.mjs` |
| 71 | +### samples |
| 72 | +- SKIP |
0 commit comments