bigbiggerbiggestbot/tests
Danny 52277e99de feat: interaction / event logging
New `events` table with (user_id, kind, created_at, data JSON).
Instruments:

Bot:
- cmd.start, cmd.history, cmd.stats, cmd.delete, cmd.export, cmd.feedback
- workout.save (source=text), workout.delete (source=bot)

Server:
- workout.save (source=webapp), workout.update, workout.delete (source=webapp)
- POST /api/events for Mini App client-side events

Mini App:
- miniapp.open on init()
- set.add on addSet(), with exercise name / reps / weight
  (per-set timestamps unlock the rest-timer feature later)

log_event swallows failures so it can never break a caller.
get_events supports user_id / kind filtering for inspection.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 14:03:42 +02:00
..
__init__.py feat(tg-fitness-bot): add test suite with pre-commit hook 2026-04-13 20:41:03 +02:00
conftest.py feat(tg-fitness-bot): add test suite with pre-commit hook 2026-04-13 20:41:03 +02:00
test_db.py feat: interaction / event logging 2026-04-19 14:03:42 +02:00
test_parser.py feat(tg-fitness-bot): add test suite with pre-commit hook 2026-04-13 20:41:03 +02:00