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

umputun / tg-spam / 30172058660
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix/non-admin-spam-report
DEFAULT BRANCH: master
Ran 25 Jul 2026 07:44PM UTC
Jobs 1
Files 42
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

25 Jul 2026 07:39PM UTC coverage: 83.759%. First build
30172058660

push

github

umputun
fix(events): make spam and /spam plain aliases of the report command

spam and /spam go back into isReportCommand rather than a separate gated predicate, so all four
forms - report, /report, spam, /spam - are equivalent for a regular user in every path: an orphaned
one (sent without a reply) is deleted, a reply files a report, and all are suppressed when
report.enabled is off. /spam@botname stays unaccepted, matching nothing that autocompletes it.

keeps the SenderChat guard on the user-report dispatch, so an anonymous admin or post-as-channel
reply is left alone instead of being deleted with no report filed - their From is a telegram
pseudo-user that can never be an approved reporter.

documents the routing in CLAUDE.md, including that isReportCommand is shared with the
orphaned-command cleanup, so anything added to it also becomes deletable when sent without a reply.

5 of 6 new or added lines in 1 file covered. (83.33%)

8943 of 10677 relevant lines covered (83.76%)

232.32 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
83.36
app/events/listener.go
Jobs
ID Job ID Ran Files Coverage
1 30172058660.1 25 Jul 2026 07:44PM UTC 42
83.76
GitHub Action Run
Source Files on build 30172058660
  • Tree
  • List 42
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f5f94b97 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc