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

umputun / tg-spam / 44497169171
85%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2026 09:37AM UTC
Jobs 1
Files 45
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

19 Nov 2026 09:31AM UTC coverage: 84.943% (+0.3%) from 84.657%
44497169171

push

github

web-flow
Clear the small backlog items and ignore foreign-chat superuser commands (#489)

* fix(webapi): keep the running instance id when a reloaded blob has none

POST /config/reload filled a missing instance_id with the defaults template value tg-spam, and the next settings save persisted it. on the following start every per-instance store bound to gid tg-spam and the encryption salt changed. reload now keeps the running id, the same rule startup applies.

* fix(config): keep a stored min_msg_len of 0 on load

with --confdb, a min_msg_len saved as 0 was refilled with the default 50 on every start and reload, so the documented way to check messages of any length did not stick. MinMsgLen joins zeroAwarePaths; a blob that omits the key still gets the default from the seeded load. with --max-short-msg-count enabled a stored 0 now fails validation at startup, as 1 already did. the CAS half of the backlog item stays open, blocked by the form contract.

* docs(config): describe the min_msg_len gate and the explicit-zero fixture

* fix(events): word admin /spam and forward summaries by dry and training mode

in dry run the admin /spam and admin-chat forward summaries said the user was banned and the message deleted when neither happened, and in training mode they said banned although the ban is skipped. the summaries are now tagged [dry run] or [training] and say what would have happened; a training-mode summary still reports the real delete result. normal-mode wording is unchanged.

* fix(events): admit caption-less audio when the audio-only check is on

the intake guard dropped a caption-less audio file before any check ran, so --meta.audio-only only ever fired on audio with a short caption. TelegramListener.AdmitAudio, wired from Meta.AudiosOnly, admits such files the way AdmitContacts does for contacts. with the check on they are stored by the locator, count toward --max-short-msg-count, and reach the checks that need no text. with it off nothing changes. the g... (continued)

49 of 52 new or added lines in 5 files covered. (94.23%)

83 existing lines in 3 files now uncovered.

8829 of 10394 relevant lines covered (84.94%)

219.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
86.45
0.83% app/events/listener.go
1
58.22
-0.06% app/main.go

Coverage Regressions

Lines Coverage ∆ File
81
89.33
3.06% app/events/admin.go
1
58.22
-0.06% app/main.go
1
82.76
-1.15% lib/tgspam/plugin/watcher.go
Jobs
ID Job ID Ran Files Coverage
1 44497169171.1 19 Nov 2026 09:37AM UTC 45
84.94
GitHub Action Run
Source Files on build 44497169171
  • Tree
  • List 45
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 51cb3c5e on github
  • Prev Build on master (#43630367073)
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