mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
Add tests for previously untested vector clock pruning scenarios: - Multi-preserve-ID pruning (two low-counter IDs both preserved) - Overlapping/duplicate preserve IDs (Set deduplication) - Preserve IDs missing from clock (silent skip, no crash) - Snapshot vector clock aggregation + pruning integration - Post-snapshot comparison correctness after pruning - Server sanitizeVectorClock counter cap at 100M - DoS cap at 2.5x MAX (reject, not prune) - Invalid inputs (null, arrays, empty keys, long keys, negative/float values) https://claude.ai/code/session_01GdsbKoo8eax394j2UyWUu1 Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| .gitignore | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||