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

umputun / stash / 19919271889
83%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2025 06:01AM UTC
Jobs 1
Files 17
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

04 Dec 2025 05:58AM UTC coverage: 82.317% (-0.3%) from 82.631%
19919271889

push

github

web-flow
feat(auth): add persistent session storage in database (#23)

store sessions in database instead of memory so server reboots
will not invalidate user sessions. sessions table uses same database
as KV store with proper timezone handling (TIMESTAMPTZ for postgres,
text with timezone for sqlite).

changes:
- add SessionStore interface for session CRUD operations
- add sessions table with token, username, expires_at columns
- add background cleanup goroutine with configurable interval
- add context.Context to all store methods for proper cancellation
- use UTC consistently for session expiration checks
- add comprehensive tests for session persistence and timezone handling

175 of 203 new or added lines in 10 files covered. (86.21%)

5 existing lines in 2 files now uncovered.

2309 of 2805 relevant lines covered (82.32%)

89.45 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
62.3
0.0% app/main.go
10
86.84
-1.51% app/server/auth.go
16
85.22
-1.2% app/store/db.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
85.22
-1.2% app/store/db.go
4
86.84
-1.51% app/server/auth.go
Jobs
ID Job ID Ran Files Coverage
1 19919271889.1 04 Dec 2025 06:00AM UTC 17
82.32
GitHub Action Run
Source Files on build 19919271889
  • Tree
  • List 17
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7313dbff on github
  • Prev Build on master (#19879117142)
  • Next Build on master (#19919335672)
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