• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / tg-spam / 17394063961 / 1
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 02 Sep 2025 05:25AM UTC
Files 29
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Sep 2025 05:21AM UTC coverage: 81.74% (-0.09%) from 81.825%
17394063961.1

push

github

umputun
feat(spam): add bulk message deletion for duplicate spammers

implement ExtraDeleteIDs feature to aggressively clean up all spam messages
when a spammer is detected. when duplicate threshold is reached, all previous
duplicate messages from the user are deleted, not just the triggering one.

key changes:
- add ExtraDeleteIDs field to spamcheck.Response for bulk deletions
- refactor duplicate detector to track message IDs alongside counts
- implement rate-limited deletion with 35ms delay between API calls
- add superuser protection to skip extra deletions for admins
- preserve message IDs beyond time window for comprehensive cleanup

includes comprehensive test coverage and documentation of the feature.

5318 of 6506 relevant lines covered (81.74%)

170.57 hits per line

Source Files on job 17394063961.1
  • Tree
  • List 29
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17394063961
  • f56e04e3 on github
  • Prev Job for on master (#17369494925.1)
  • Next Job for on master (#17410197710.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc