chore: remove unused Redis service and references (#26)
Publish / publish (push) Successful in 23s
Publish / publish (push) Successful in 23s
This commit was merged in pull request #26.
This commit is contained in:
@@ -15,7 +15,6 @@ The stack must include:
|
||||
- API on `:3000` started with `DEV_AUTH_BYPASS=true` (see Security Guardrail below)
|
||||
- PWA dev server on `:5173` (`pnpm --filter @familysync/pwa dev`)
|
||||
- Dev MariaDB on `:3306` (exposed via `docker-compose.dev.yml`)
|
||||
- Redis on `:6379`
|
||||
|
||||
**`DEV_AUTH_BYPASS=true` MUST be set in the API's environment BEFORE the API process starts.** The harness cannot inject it at runtime — the API reads the env var once at startup. If the API is running without it, all `/api/*` requests return an auth redirect and every spec fails.
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* Auth: DEV_AUTH_BYPASS=true on the API (never storageState — D-01/Pitfall 14)
|
||||
* SW: serviceWorkers: 'block' on all profiles (D-02/Pitfall 15)
|
||||
* baseURL: env-driven PLAYWRIGHT_BASE_URL (D-08/Rule 8)
|
||||
* webServer: manages Vite only — API+MariaDB+Redis stay compose-managed (D-10)
|
||||
* webServer: manages Vite only — API+MariaDB stay compose-managed (D-10)
|
||||
*
|
||||
* Run:
|
||||
* pnpm --filter @familysync/pwa test:e2e
|
||||
@@ -63,7 +63,7 @@ export default defineConfig({
|
||||
},
|
||||
],
|
||||
|
||||
// D-10: manage Vite only; API+MariaDB+Redis are compose-managed
|
||||
// D-10: manage Vite only; API+MariaDB are compose-managed
|
||||
// reuseExistingServer: reuse operator's pnpm dev locally; start fresh in CI
|
||||
webServer: {
|
||||
command: 'pnpm --filter @familysync/pwa dev',
|
||||
|
||||
Reference in New Issue
Block a user