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

umputun / stash / 19778689720
84%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2025 04:04AM 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

29 Nov 2025 04:02AM UTC coverage: 82.588% (+0.6%) from 81.986%
19778689720

push

github

web-flow
feat(auth): add hot-reload support for auth configuration (#20)

Add fsnotify-based file watching to automatically reload auth config
when the file changes. This allows updating users, tokens, and permissions
without restarting the server.

- Add RWMutex for thread-safe config access during reload
- Add Reload() method to reload config and invalidate all sessions
- Add StartWatcher() using fsnotify to watch directory (handles atomic renames)
- Add --auth.hot-reload CLI flag and STASH_AUTH_HOT_RELOAD env var
- Wrap all config read operations with RLock/RUnlock
- Invalid config changes are rejected, existing config preserved

103 of 132 new or added lines in 3 files covered. (78.03%)

2291 of 2774 relevant lines covered (82.59%)

90.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
62.3
-0.48% app/main.go
2
87.3
14.57% app/server/server.go
25
88.44
-1.84% app/server/auth.go
Jobs
ID Job ID Ran Files Coverage
1 19778689720.1 29 Nov 2025 04:04AM UTC 17
82.59
GitHub Action Run
Source Files on build 19778689720
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c90787e3 on github
  • Prev Build on master (#19777508046)
  • Next Build on master (#19778894542)
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