You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
0.4.20 — 2026-06-30
Upgrade notes for admins
None. This release only adds a frontend test suite and its CI wiring; the
running application is unaffected (no migrations, no new runtime env vars).
The new dependencies are dev-only and excluded from the production build.
Added
Vitest + React Testing Library for the frontend/ SPA, mirroring the
backend's pytest gate. Test files live colocated as src/**/*.test.ts(x),
run via npm run test (with test:watch / test:coverage scripts), and are
now part of the frontend CI job (lint → types → tests) and a vitest
pre-commit hook. The frontend was previously never tested in CI.
Shared test helpers under src/test/ (setup.ts registers jest-dom matchers
and auto-cleanup; utils.tsx exposes renderWithProviders wrapping the
TanStack Query client + router).
Initial coverage: pure-logic unit tests for the tether bezier geometry, the
tether constants/localStorage helpers, the [[wikilink]] remark transform,
and the API fetch client (CSRF header + DRF error parsing); plus sample
component tests for ChatComposer and LoginPage as patterns to copy.
Changed
frontend/vite.config.ts now also carries the Vitest config (jsdom
environment, setup file, report-only v8 coverage). No coverage gate yet — to
be ratcheted up once the suite matures, mirroring the backend's fail_under.