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

umputun / tg-spam / 17341510113
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.23.3
DEFAULT BRANCH: master
Ran 30 Aug 2025 08: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

30 Aug 2025 08:21AM UTC coverage: 81.724% (+0.1%) from 81.622%
17341510113

Pull #315

github

umputun
fix(duplicate-detection): resolve race condition and add memory protection

- fix critical race condition in concurrent message tracking by adding mutex protection
- add maxEntriesPerUser limit (200) to prevent memory exhaustion attacks
- ensure atomic Get-Modify-Set operations for user history updates
- add comprehensive tests for race condition and memory protection
- verified with Go race detector - no races detected
Pull Request #315: Add duplicate message detection for spam filtering

122 of 137 new or added lines in 3 files covered. (89.05%)

2 existing lines in 1 file now uncovered.

5214 of 6380 relevant lines covered (81.72%)

121.18 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
64.15
-0.39% app/main.go
9
92.17
lib/tgspam/duplicate.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
76.77
-2.02% lib/tgspam/plugin/watcher.go
Jobs
ID Job ID Ran Files Coverage
1 17341510113.1 30 Aug 2025 08:25AM UTC 29
81.72
GitHub Action Run
Source Files on build 17341510113
  • Tree
  • List 29
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #315
  • PR Base - master (#16972293495)
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