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
Removed active SQLite/Local DB runtime debt from the local API startup/router path. The local API no longer imports or opens `node:sqlite`, no longer sets or reads provider-selection environment variables, and now reports configured account/product-data connections at startup.
6
+
7
+
Legacy `/api/local-db`, `/api/mock-db`, `/api/admin/setup/reseed`, and `/api/dev/testing/mock-db-state` paths now fail visibly with `410` deprecated endpoint responses. Product data snapshots use `/api/product-data/snapshot`.
8
+
9
+
## Branch Validation
10
+
11
+
PASS
12
+
13
+
- Current branch: `main`
14
+
- Expected branch: `main`
15
+
-`docs_build/dev/PROJECT_INSTRUCTIONS.md` was read before execution.
16
+
17
+
## Requirement Checklist
18
+
19
+
- PASS - Removed active SQLite runtime code from `src/dev-runtime/server/local-api-router.mjs`; no `node:sqlite`, `DatabaseSync`, `createRequire`, or `LocalDbAdapter` remains there.
20
+
- PASS - `/api/local-db` and `/api/mock-db` no longer serve active data routes; they return visible `410` deprecated endpoint responses.
21
+
- PASS - `/api/admin/setup/reseed` and `/api/dev/testing/mock-db-state` no longer mutate Local DB/mock DB state; they return visible `410` deprecated endpoint responses.
22
+
- PASS - Product data snapshot access moved to `/api/product-data/snapshot`.
23
+
- PASS - `scripts/start-local-api-server.mjs` no longer sets `GAMEFOUNDRY_AUTH_PROVIDER` or `GAMEFOUNDRY_DB_PROVIDER`.
- WARN - Initial full-file `node --test tests/dev-runtime/SupabaseProviderContractStub.test.mjs` attempt timed out; reran the PR-impacted auth/API subset above and it passed.
45
+
- PASS - `npm run validate:supabase-dev`; direct PostgreSQL TLS remains an advisory DEV warning while REST/API identity checks passed.
46
+
- PASS - `npm run dev:local-api` startup capture confirmed no SQLite warning, no Local DB provider selection, no selector env output, and connection status lines were present.
47
+
- PASS - `npm run validate:browser-env-agnostic`
48
+
- PASS - `npx playwright test tests/playwright/account/SupabaseSignInSession.spec.mjs --config=playwright.config.cjs`
49
+
- PASS - `npx playwright test tests/playwright/tools/StaticOnlyLoginApiRequired.spec.mjs --config=playwright.config.cjs`
50
+
- PASS - `npm run test:workspace-v2` passed, 5 tests. Command name is legacy; user-facing language is Project Workspace.
51
+
- SKIP - Full samples smoke was not run because samples were not in scope.
52
+
53
+
## Manual Validation Notes
54
+
55
+
- Confirmed `npm run dev:local-api` printed only connection status:
56
+
-`Local API account connection: configured.`
57
+
-`Local API product data connection: configured.`
58
+
- Confirmed startup output did not contain `SQLite`, `GAMEFOUNDRY_AUTH_PROVIDER`, `GAMEFOUNDRY_DB_PROVIDER`, `auth provider`, or `product data provider`.
59
+
- Confirmed static route audit found no selector env variables or SQLite startup/opening symbols in the local API router, startup script, auth contract stub, or `.env.example`.
60
+
- Confirmed `/api/local-db` and `/api/mock-db` are present only as deprecated endpoint guards returning `410`.
61
+
62
+
## Test Data Cleanup
63
+
64
+
No persistent Supabase validation records were created for this PR. Playwright auth validation used an in-memory fake Supabase server and closed it after validation.
65
+
66
+
## Playwright V8 Coverage
67
+
68
+
Generated `docs_build/dev/reports/playwright_v8_coverage_report.txt` and `docs_build/dev/reports/coverage_changed_js_guardrail.txt`.
69
+
70
+
- WARN - Changed server-side runtime JS files are not collected by browser V8 coverage; advisory only.
71
+
- WARN - Coverage guardrail lists missing changed runtime JS coverage as advisory WARN, not FAIL.
0 commit comments