You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# PR_26140_038 Canonical Shared Utility Naming Final Pass
2
+
3
+
## Scope
4
+
- Used PR_26140_037 as the prior delta.
5
+
- Removed remaining cosmetic aliases from repo-owned touched code.
6
+
- Kept behavior unchanged; no gameplay, runtime, schema, manifest, vendor, generated, archive, report snapshot, or tests/results artifact changes were made.
7
+
8
+
## Changes
9
+
- Replaced Playwright `workspaceV2CoverageReporter as coverageReporter` imports with direct `workspaceV2CoverageReporter` imports/usages in affected browser specs.
10
+
- Replaced the `import * as fs from "node:fs/promises"` namespace import in `tests/core/BackgroundImageAndFullscreenBezel.test.mjs` with canonical named fs/promises imports.
11
+
- Verified the prior cosmetic coverage reporter alias no longer appears in repo-owned Playwright specs.
12
+
13
+
## Remaining Intentional Aliases
14
+
-`tests/run-tests.mjs`: `run as run...` aliases remain because every test module exports the same `run` function name and the aggregate runner needs distinct callable names.
15
+
-`src/engine/**/index.js` and `tools/shared/**/index.js`: `export { default as ... }` remains for public barrel APIs that expose default class/module exports under stable named exports.
16
+
-`src/shared/index.js`: `export * as shared...` namespace exports remain as intentional top-level shared-family barrels.
17
+
-`tests/core/EngineCoreBoundaryBaseline.test.mjs` and `tests/runtime/Phase19OverlayExpansionFramework.test.mjs`: namespace imports remain because these tests validate module/barrel surfaces as namespaces.
18
+
-`tests/shared/SharedNumberStringIdCloseout.test.mjs` and `tests/shared/SharedFoundationCombinedPass.test.mjs`: `legacy...` aliases remain to compare legacy compatibility modules against canonical utilities.
19
+
-`games/Asteroids/utils/math.js`: `wrap as sharedWrap` remains because the Asteroids local `wrap(value, max)` adapter preserves an existing two-argument gameplay API over the shared three-argument helper.
0 commit comments