docs(260618-smr): remove Redis references from documentation and e2e config
- CLAUDE.md: remove Redis constraint, ioredis library row, Redis architecture sentence, update compose comment - README.md: remove Redis from prereqs, quick-start command, compose description, tech-stack live-sync row - docs/ARCHITECTURE.md: delete Redis infrastructure table row - docs/CONFIGURATION.md: remove Redis localhost:6379 mention from dev section - docs/deployment.md: delete redis services table row - docs/DEVELOPMENT.md: remove prereq mention, heading, two up commands, expose bullet, stack comment - docs/GETTING-STARTED.md: prereq row, up command, prose mention - docs/TESTING.md: 'API and MariaDB' (was API, MariaDB, and Redis) - apps/pwa/e2e/README.md: delete Redis on :6379 bullet - apps/pwa/playwright.config.ts: two comments updated (API+MariaDB, not API+MariaDB+Redis)
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