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

umputun / tg-spam / 15672803049
81%
master: 82%

Build:
Build:
LAST BUILD BRANCH: feature/user-spam-reporting
DEFAULT BRANCH: master
Ran 16 Jun 2025 05:46AM UTC
Jobs 1
Files 33
Run time 2min
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

16 Jun 2025 05:42AM UTC coverage: 79.352% (-2.1%) from 81.499%
15672803049

Pull #294

github

umputun
Add CLI override functionality for auth credentials in database mode

- Created applyCLIOverrides function to handle selective CLI parameter overrides
- Currently handles --server.auth and --server.auth-hash overrides
- Only applies overrides when values differ from defaults
- Auth hash takes precedence over password when both are provided
- Added comprehensive unit tests covering all override scenarios
- Function is extensible for future CLI override needs (documented in comments)

This fixes the issue where users couldn't change auth credentials when using
database configuration mode (--confdb), as the save-config command would
overwrite all settings rather than just the auth credentials.
Pull Request #294: Implement database configuration support

891 of 1298 new or added lines in 9 files covered. (68.64%)

174 existing lines in 4 files now uncovered.

5734 of 7226 relevant lines covered (79.35%)

57.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
94.3
0.0% lib/tgspam/classifier.go
11
82.74
-0.77% app/webapi/webapi.go
15
87.5
app/storage/config.go
21
91.14
app/webapi/config.go
36
79.55
app/config/store.go
44
74.71
app/config/crypt.go
273
52.7
-11.74% app/main.go

Uncovered Existing Lines

Lines Coverage ∆ File
10
91.71
0.0% lib/tgspam/detector.go
13
86.02
-5.18% lib/tgspam/openai.go
39
82.74
-0.77% app/webapi/webapi.go
112
52.7
-11.74% app/main.go
Jobs
ID Job ID Ran Files Coverage
1 15672803049.1 16 Jun 2025 05:46AM UTC 33
79.35
GitHub Action Run
Source Files on build 15672803049
  • Tree
  • List 33
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #294
  • PR Base - master (#15540171717)
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

© 2025 Coveralls, Inc