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

umputun / tg-spam / 29293948129 / 1
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 13 Jul 2026 11:48PM UTC
Files 42
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

13 Jul 2026 11:44PM UTC coverage: 83.627% (+0.2%) from 83.426%
29293948129.1

push

github

web-flow
feat: prohibited languages spam detector (#427)

Add a spam detector that blocks messages written in prohibited Unicode scripts.
Configure a blocklist of scripts (chinese=Han, russian=Cyrillic, etc.); a message
with enough letters of a banned script is flagged as spam. It is a hard block that
bypasses the LLM, runs for non-approved users (everyone in paranoid mode), and is
disabled by default. Wired through the detector, CLI/env flags, DB-backed settings,
the web settings UI, and an e2e test.

The prohibited-language check scores only the user's authored text, not quoted or
reply-to content, so replying to a foreign-script message cannot trigger a ban.
Cross-field settings validation is shared via config.Settings.Validate() across
startup, save-config, and the web save handler.

8826 of 10554 relevant lines covered (83.63%)

236.63 hits per line

Source Files on job 29293948129.1
  • Tree
  • List 42
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29293948129
  • fb162915 on github
  • Prev Job for on master (#29142208803.1)
  • Next Job for on master (#29366044979.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