Commit Graph
3 Commits
Author SHA1 Message Date
ryan 0f903f57bb feat: add MONGO_URI to environment variable setup in build workflow
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 2m22s
2026-07-30 00:21:12 -04:00
ryan 7e71446cc7 feat: add MONGO_URI to environment variable setup in build workflow
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 2m17s
2026-07-29 17:52:47 -04:00
ryan da7ed41938 feat: migrate backend persistence from TinyDB to MongoDB Atlas
- Implement lazy MongoDB client initialization in backend/db/mongo_client.py.
- Create Gunicorn configuration to ensure MongoDB client is initialized per worker.
- Refactor database access layer to support MongoDB with a new MongoLockedTable adapter.
- Add migration script to transfer existing TinyDB data to MongoDB, preserving idempotency.
- Update tracking event handling to ensure deterministic ordering with a monotonic sequence.
- Modify tests to use mongomock for MongoDB integration and ensure existing tests pass.
- Add integration test script to run tests against a local MongoDB Docker container.
- Document environment variables and migration process in specs/feat-database-migration.md.
2026-07-28 01:10:52 -04:00