diff --git a/.agents/docs/architecture/testing-strategy.md b/.agents/docs/architecture/testing-strategy.md index 8be9ddc7e..63a8aa48f 100644 --- a/.agents/docs/architecture/testing-strategy.md +++ b/.agents/docs/architecture/testing-strategy.md @@ -105,7 +105,8 @@ Exceptions worth knowing: ## Turbo task graph -`lint`, `dev`, `dev:test` and `test:e2e` all depend on `["^build", "^db:generate", "db:push"]` +`lint`, `dev`, `dev:test` and `test:e2e` all depend on `["^build", "^db:generate", "db:push"]`. +`test:e2e` additionally specifies `"cache": false` because it requires a live server and database. (`build` itself depends on `^build` and `db:generate`). A cold `pnpm lint` therefore builds every dependency, generates both Prisma clients, and pushes the gateway SQLite schema — it is not fast. diff --git a/turbo.json b/turbo.json index cfebf2df1..e3c706033 100644 --- a/turbo.json +++ b/turbo.json @@ -39,6 +39,7 @@ }, "//#lint:root": {}, "test:e2e": { + "cache": false, "dependsOn": ["^build", "^db:generate", "db:push"] }, "start": {