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
Copy file name to clipboardExpand all lines: docs_build/dev/reports/coverage_changed_js_guardrail.txt
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,19 @@ Missing changed runtime JS files are WARN, not FAIL.
6
6
Source: Playwright/Chromium built-in V8 coverage from the active Playwright run.
7
7
8
8
Changed runtime JS files considered:
9
+
(0%) src/dev-runtime/guest-seeds/tool-metadata-inventory.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
9
10
(0%) src/dev-runtime/guest-seeds/tool-state-samples.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
10
11
(0%) src/dev-runtime/persistence/mock-db-store.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
11
12
(0%) src/dev-runtime/server/mock-api-router.mjs - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
13
+
(0%) src/shared/toolbox/platformShell.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
12
14
(0%) toolbox/toolRegistry.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
(0%) src/dev-runtime/guest-seeds/tool-metadata-inventory.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
20
21
(0%) src/dev-runtime/guest-seeds/tool-state-samples.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
21
22
(0%) src/dev-runtime/persistence/mock-db-store.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
22
23
(0%) src/dev-runtime/server/mock-api-router.mjs - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
24
+
(0%) src/shared/toolbox/platformShell.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
23
25
(0%) toolbox/toolRegistry.js - WARNING: changed runtime JS file was not collected by Playwright V8 coverage; advisory only
| Remove remaining Toolbox metadata ownership from `toolbox/toolRegistry.js`. | PASS |`toolbox/toolRegistry.js` now exports an empty compatibility shell with no tool records. |
14
+
| Stop using `toolbox/toolRegistry.js` as bootstrap route/image/default seed registry. | PASS | Active browser/static audit found no imports or references outside the shell; server seed ownership moved to `src/dev-runtime/guest-seeds/tool-metadata-inventory.js`. |
15
+
| Move route, badge/image, group, order, path, and status metadata into DB-backed tool metadata. | PASS |`toolbox_tool_metadata` schema and seed rows now include route/path, badge/tool image, group/category/color, order, status, active/admin/visibility, and descriptive fields. |
16
+
| Toolbox reads tool metadata only through API/service contract backed by DB adapter. | PASS |`toolbox/tool-registry-api-client.js` reads `/api/toolbox/registry/snapshot`; `toolbox/tools-page-accordions.js` uses registry/vote API clients. |
17
+
| Admin Tool Votes reads tool metadata only through API/service contract backed by DB adapter. | PASS |`admin/tool-votes.js` uses `readToolboxVoteSnapshot`, `reorderToolboxVoteRows`, and `updateToolboxVoteMetadata`. |
18
+
| Remove compatibility-only browser metadata lookups where safe. | PASS | Direct browser imports of `toolbox/toolRegistry.js` were removed from targeted Toolbox/Admin tests; active browser audit found no import usage. |
19
+
| Keep `toolId` and `releaseChannel` only as compatibility aliases, not primary metadata source. | PASS | Server rows use `toolKey`/`status` as primary values while preserving `toolId`/`releaseChannel` for existing vote row compatibility. |
20
+
| Preserve 43-tool inventory. | PASS | API probe returned `activeTools: 43` and `voteRows: 43`; Playwright verified Toolbox and Admin Tool Votes show matching 43 rows. |
21
+
| Preserve MIDI and Music as separate tools. | PASS | API probe returned `hasMidi: true` and `hasMusic: true`. |
22
+
| Admin edits to order/group/path/status affect Toolbox after reload. | PASS |`ToolboxAdminMetadataSsot.spec.mjs` edits `Creator Learning` metadata and verifies Toolbox Build Path reflects order/group/path/status after reload. |
23
+
| Do not migrate unrelated game/sample data. | PASS | Changes are limited to Toolbox/Admin metadata, dev seed inventory, shared shell diagnostics, and targeted validation. |
24
+
| No inline script/style/event handlers. | PASS | No HTML inline handlers or style/script blocks were added. |
25
+
26
+
## Remaining-Registry Audit
27
+
28
+
| Audit | Command / Evidence | Status |
29
+
| --- | --- | --- |
30
+
| Active app code imports `toolbox/toolRegistry.js`|`rg 'from ["''].*toolRegistry\.js\|import\(["''].*toolRegistry\.js' assets admin toolbox src -n --glob '!toolbox/toolRegistry.js'` returned no matches. | PASS |
31
+
| Active app code references `toolbox/toolRegistry.js`|`rg 'toolbox/toolRegistry\.js' assets admin toolbox src -n --glob '!toolbox/toolRegistry.js'` returned no matches after updating shared shell diagnostics. | PASS |
0 commit comments