Files
redux-scraper/backlog/tasks/task-81.5 - Add-routes-and-implement-data-retention-policies-for-Telegram-bot-logs.md
2025-07-31 03:51:57 +00:00

906 B

id, title, status, assignee, created_date, labels, dependencies, parent_task_id
id title status assignee created_date labels dependencies parent_task_id
task-81.5 Add routes and implement data retention policies for Telegram bot logs To Do
2025-07-31
task-81

Description

Configure routing for the admin audit interface and implement automated data cleanup and retention policies for the Telegram bot logging system

Acceptance Criteria

  • Routes added for TelegramBotLogsController following existing admin patterns
  • Routes are properly protected with admin authentication
  • Data retention policy configurable via GlobalState
  • Automated cleanup job removes logs older than configured period
  • Cleanup job also removes associated BlobFile images
  • Cleanup job can be run manually and scheduled automatically
  • Data retention settings have sensible defaults
  • Cleanup process includes proper logging and error handling