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

umputun / tg-spam / 17394063961
83%

Build:
DEFAULT BRANCH: master
Ran 02 Sep 2025 05:25AM UTC
Jobs 1
Files 29
Run time 1min
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

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.

65 of 82 new or added lines in 3 files covered. (79.27%)

3 existing lines in 2 files now uncovered.

5318 of 6506 relevant lines covered (81.74%)

170.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
77.27
-0.09% app/events/listener.go
11
88.16
-4.02% lib/tgspam/duplicate.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.16
-4.02% lib/tgspam/duplicate.go
2
76.77
-2.02% lib/tgspam/plugin/watcher.go
Jobs
ID Job ID Ran Files Coverage
1 17394063961.1 02 Sep 2025 05:25AM UTC 29
81.74
GitHub Action Run
Source Files on build 17394063961
  • Tree
  • List 29
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f56e04e3 on github
  • Prev Build on master (#17369494925)
  • Next Build on master (#17410197710)
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