The e2e job was running a full Vite build on the same runner as the
backend + Postgres, causing OOM. Now:
- Frontend job uploads dist/ as an artifact
- E2E job depends on frontend, downloads the artifact
- Playwright webServer skips build in CI, just runs preview
- Locally still builds as before
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Rename patherly_test → resolutionflow_test in all Postgres and DB URLs
- Update actions/checkout, setup-node, upload-artifact from v4 → v5
(fixes Node.js 20 deprecation warnings)
- actions/setup-python already at v5
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Exit code 134 (OOM) during vite build on GitHub Actions runner.
Add NODE_OPTIONS=--max-old-space-size=4096 to the build step.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Both backend and e2e jobs used plain postgres:16 which doesn't include
pgvector. Migration 042 added CREATE EXTENSION vector, causing e2e to
fail. The pgvector image is a drop-in replacement.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add Vitest + testing-library/react + jsdom for frontend testing.
Tests cover: cn() utility (6), usePermissions hook (27), useTreeValidation
hook (22), and userPreferencesStore (6). CI updated to run frontend tests.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>