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

umputun / tg-spam / 40217024594
85%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2026 05:37PM UTC
Jobs 1
Files 44
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 Oct 2026 05:33PM UTC coverage: 84.365% (+0.04%) from 84.329%
40217024594

push

github

web-flow
fix(config): decode --confdb blobs over the defaults (#461)

* fix(config): decode --confdb blobs over the defaults

a key missing from a stored blob loaded as zero, and ApplyDefaults leaves
zero-aware paths alone, so a partial blob written outside tg-spam got
meta.links_limit and meta.mentions_limit at 0 (every link or mention is
spam) and six other settings disabled instead of their defaults.

the store now decodes the blob over the CLI-default template at startup
and on /config/reload, so an absent key takes its default while a key
stored as zero keeps it. blobs tg-spam writes itself carry every key and
load unchanged.

Related to #460

* refactor(config): build the confdb settings store in one place

startup and POST /config/reload built their settings stores separately,
so nothing tied the reload store to the seeded load. makeSettingsStore
now builds both, always with the defaults seed, and is tested directly.

* docs(backlog): record CAS and min-msg-len zero-aware registration

* docs(backlog): record reload replacing a missing instance_id

23 of 35 new or added lines in 3 files covered. (65.71%)

8725 of 10342 relevant lines covered (84.36%)

193.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
89.36
-0.21% app/settings.go
4
79.62
-0.94% app/config/store.go
2
58.19
0.45% app/main.go
Jobs
ID Job ID Ran Files Coverage
1 40217024594.1 25 Oct 2026 05:37PM UTC 44
84.36
GitHub Action Run
Source Files on build 40217024594
  • Tree
  • List 44
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 057c38e6 on github
  • Prev Build on master (#40216463799)
  • Next Build on master (#40543244429)
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