By: Michael Lynch <git@mtlynch.io>
Fix per-session e2e database isolation Route handler store operations through the request context so the dev-only per-session database middleware can actually isolate browser sessions during end-to-end tests. This fixes the failing e2e flow where state leaked between Playwright tests, causing the grocery form assertions to see data from earlier tests. It also pins in-memory SQLite databases to a single connection so migrated schemas stay visible across requests. Testing: - nix build .#e2e-tests - nix flake check - ./dev-scripts/git-hooks/pre-commit