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

umputun / stash / 20645406668
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.18.0
DEFAULT BRANCH: master
Ran 01 Jan 2026 08:56PM UTC
Jobs 1
Files 29
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

01 Jan 2026 08:55PM UTC coverage: 83.868% (-0.3%) from 84.156%
20645406668

Pull #54

github

umputun
fix(auth): address code review findings and add integration tests

- Fix token masking inconsistency: GetRequestActor now uses MaskToken() for consistent 4-char format
- Remove validateSession: duplicated GetSessionUser logic, updated all callers
- Remove dead code: getPublicACL (test-only) and unreachable zero interval check in startCleanup
- Fix no-assertion test: TestService_startWatcher_ContextCancel now verifies watcher stops
- Reduce TokenMiddleware nesting: extract checkSessionAuth helper for session validation
- Add integration tests for X-Auth-Token header, public ACL, and API list filtering
Pull Request #54: refactor(auth): extract auth package and simplify interfaces

643 of 718 new or added lines in 8 files covered. (89.55%)

23 existing lines in 2 files now uncovered.

3977 of 4742 relevant lines covered (83.87%)

78.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
75.95
-8.93% app/server/server.go
6
93.41
app/server/auth/middleware.go
7
61.13
1.13% app/main.go
8
93.44
app/server/auth/config.go
52
87.0
app/server/auth/auth.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
61.13
1.13% app/main.go
20
75.95
-8.93% app/server/server.go
Jobs
ID Job ID Ran Files Coverage
1 20645406668.1 01 Jan 2026 08:56PM UTC 29
83.87
GitHub Action Run
Source Files on build 20645406668
  • Tree
  • List 29
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #54
  • PR Base - master (#20636009011)
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