12 Commits

Author SHA1 Message Date
tiennm99 ea1005c2e8 fix(mongo): restore redis parity safeguards 2026-06-27 16:05:32 +07:00
tiennm99 96f1c2ecc4 build(compose): use canonical compose files 2026-06-27 15:11:00 +07:00
tiennm99 70ecf12498 refactor(telegram): use go-telegram-bot runtime 2026-06-26 17:33:23 +07:00
tiennm99 546e6fcde2 refactor(store): replace Redis with MongoDB datastore
Swap the Redis datastore for MongoDB via mongo-driver v2. New
internal/mongostore mirrors the old redisstore type/constant names so
consumers change only the import qualifier; document model collapses the
multi-key subscriber/settings and per-event delivery sets into single-doc
operations and a TTL-indexed delivery collection.

Config now requires MONGODB_URI (Atlas) with MONGODB_DATABASE selecting
dev vs prod on one cluster; REDIS_URL removed. Compose files run bot-only
against Atlas. Default tests stay Docker-free (poller/bot use fakes,
mongostore unit tests are pure-logic); a gated //go:build integration
suite covers the real backend via testcontainers.
2026-06-26 13:41:16 +07:00
tiennm99 0404e0dd2d docs(component): add component id monitoring report 2026-06-23 09:06:28 +07:00
tiennm99 9f5a594cf7 fix(deploy): harden health and status config 2026-06-22 14:16:15 +07:00
tiennm99 956b2a98b4 feat(bot): register telegram command menu 2026-06-22 10:15:50 +07:00
tiennm99 aa425ec98d feat(deploy): add bot-only compose 2026-06-22 09:39:33 +07:00
tiennm99 204a76a32d feat(config): use REDIS_URL for redis 2026-06-22 09:19:25 +07:00
tiennm99 e10fe0c883 fix: address status bot reliability issues 2026-06-19 16:52:41 +07:00
tiennm99 2a4519106e fix: align status bot delivery behavior 2026-06-19 15:56:59 +07:00
tiennm99 87f091beb8 feat: scaffold openai status bot 2026-06-19 14:39:19 +07:00