Skip to content

Add daily error digest#117

Merged
wtfloris merged 3 commits intomasterfrom
feat/error-rollup-digest
Feb 17, 2026
Merged

Add daily error digest#117
wtfloris merged 3 commits intomasterfrom
feat/error-rollup-digest

Conversation

@wtfloris
Copy link
Owner

@wtfloris wtfloris commented Feb 16, 2026

Summary

  • replace per-target scraper exception Telegram messages with DB error rollups
  • append a 24h error digest to the existing 19:00 UTC EOD admin message
  • add 30-day cleanup for stored rollups
  • add hestia.error_rollups table definition to schema DDL

Notes

  • digest is sent only to secrets.OWN_CHAT_ID
  • fallback still sends Telegram alert if persisting an error rollup fails
  • local idempotent SQL migration created at misc/sql/20260216_add_error_rollups.sql (gitignored)

Validation

  • .venv/bin/python3 -m py_compile hestia/scraper.py hestia/hestia_utils/db.py

@wtfloris wtfloris merged commit dbffeb7 into master Feb 17, 2026
1 check 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