mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
- Replace O(N) Prisma findMany with PostgreSQL SQL aggregate (jsonb_each_text + GROUP BY + MAX) for snapshot vector clock computation, avoiding loading all ops' clocks into Node.js memory - Add defensive regex filter (^[0-9]+$) for non-numeric JSONB values - Fix || to ?? for nullish coalescing in vector clock value lookups - Remove unreachable CONCURRENT check in compareVectorClocks - Remove unused VectorClockMetrics interface and measureVectorClock - Add 7 new unit tests for SQL aggregate path verification - Add 10 integration tests running actual SQL against PostgreSQL |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| .gitignore | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||