GEN-24: publish Jev stats in the daily headline count #57

Merged
backmeupplz merged 4 commits from gen-kaneo-24-jev-stats into master 2026-09-22 19:54:10 +00:00
backmeupplz commented 2026-09-22 19:37:46 +00:00 (Migrated from github.com)

Summary

  • collect Jev PostgreSQL totals and refresh every current Telegram community
  • include Jev private chats plus reachable group/channel audiences in the validated headline total
  • refresh lightweight live sources while carrying forward validated historical bot scans
  • publish the complete schema-v2 snapshot atomically and keep schema-v1 readable during rollout
  • run an opt-in daily publisher with one-hour failure retry and a bounded collection deadline
  • retry Telegram 5xx responses so transient failures cannot publish an undercount

Validation

  • yarn test (13 suites, 76 tests)

Deployment

On the single API replica, preserve the published snapshot/history volume and existing environment; add JEV_DATABASE_URL, JEV_TELEGRAM_BOT_TOKEN, and STATS_DAILY_COLLECTION_ENABLED=true. Verify one live publication updates /count and /summary; any source failure must leave the previous snapshot served.

## Summary - collect Jev PostgreSQL totals and refresh every current Telegram community - include Jev private chats plus reachable group/channel audiences in the validated headline total - refresh lightweight live sources while carrying forward validated historical bot scans - publish the complete schema-v2 snapshot atomically and keep schema-v1 readable during rollout - run an opt-in daily publisher with one-hour failure retry and a bounded collection deadline - retry Telegram 5xx responses so transient failures cannot publish an undercount ## Validation - yarn test (13 suites, 76 tests) ## Deployment On the single API replica, preserve the published snapshot/history volume and existing environment; add JEV_DATABASE_URL, JEV_TELEGRAM_BOT_TOKEN, and STATS_DAILY_COLLECTION_ENABLED=true. Verify one live publication updates /count and /summary; any source failure must leave the previous snapshot served.
backmeupplz commented 2026-09-22 19:53:28 +00:00 (Migrated from github.com)

Independent GPT-5.6 Sol review: APPROVE for exact head 37bd616305. Atomic Jev inclusion, transient-failure handling, bounded collection, and daily scheduler lifecycle verified. Local test suite: 13 suites / 76 tests passed. This repository has no GitHub check workflow. Production env wiring and live publication/API verification remain.

Independent GPT-5.6 Sol review: APPROVE for exact head 37bd616305d9f1f618861856d2fe18321de2cf92. Atomic Jev inclusion, transient-failure handling, bounded collection, and daily scheduler lifecycle verified. Local test suite: 13 suites / 76 tests passed. This repository has no GitHub check workflow. Production env wiring and live publication/API verification remain.
Sign in to join this conversation.
No description provided.