Skip to content

Feature/lite mode - #1

Merged
parth2024-tech merged 11 commits into
mainfrom
feature/lite-mode
Jun 16, 2026
Merged

parth2024-tech merged 11 commits into
mainfrom
feature/lite-mode

Conversation

@parth2024-tech

Copy link
Copy Markdown
Owner

No description provided.

- Migrate database from PostgreSQL to SQLite (better-sqlite3)

- Remove Redis and BullMQ, implementing direct asynchronous execution for background workers

- Add in-memory Map token bucket rate limiting and negotiation state storage

- Create docker-compose.lite.yml and demo scripts

- Document MVP scope and architecture boundaries
- Benchmark script (benchmarks/bench.ts) comparing full re-upload, rsync fixed-block, and Deltasync CDC across 3 workloads

- Raw results in benchmarks/results.json

- docs/BENCHMARK_RESULTS.md with tables, charts, and analysis

- docs/COMPARISON.md with honest 'Why not rsync?' FAQ and tradeoff matrix
- Issue 01: Enforce version retention using version-pruner.ts and pruneFileVersions after successful uploads

- Issue 02: Full chunk verification in worker instead of spot-checks; pending/corrupted block download rules

- Issue 03: Full handleCleanupFile S3 batch delete execution, automated daily GC outbox timer, and GC Drizzle refactoring

- Issue 04: Added download rate limiting (30 req/min) and byte quotas (500 MB/min) in rate-limiter.ts

- Issue 05: Added 29 comprehensive in-memory SQLite unit tests across 4 files covering all core domain logic
…uals

- Update README.md with detailed keys, database scaling, environment checks, and Pino logging architecture highlights.
- Reference docs/API.md, docs/ENVIRONMENT.md, docs/SECURITY.md, and docs/DEPLOYMENT.md in the new README Comprehensive Documentation section.
- Safe-guard server/environment.ts to only enforce production credentials in production mode, ensuring out-of-the-box development and testing flow.
- Enforce strict 43 base64url characters length for 256-bit API keys in server/api-key.ts to prevent SQL injection or buffer overflow vectors.
- Fix import paths, in-memory SQLite schema setup, Windows path delimiters, and async assertions in tests/api-handlers.test.ts and tests/auth.test.ts.
- Pass 100% of Vitest test suite with 110 tests succeeding completely.
… dispatcher, stateful resumable client engine, and prefix-sharded storage layovers
@parth2024-tech
parth2024-tech merged commit 68e9a4f into main Jun 16, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant