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

umputun / stash
83%
master: 84%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/download-artifact-6
DEFAULT BRANCH: master
Repo Added 24 Nov 2025 02:23AM UTC
Files 17
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

LAST BUILD ON BRANCH refs/tags/v0.10.0
branch: refs/tags/v0.10.0
CHANGE BRANCH
x
Reset
  • refs/tags/v0.10.0
  • api-list-keys
  • conflict-detection
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/download-artifact-6
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/actions/upload-artifact-5
  • feat-public-access
  • feat/git-ssh-key
  • feat/key-history
  • feat/rate-limiting
  • feat/selective-session-invalidation
  • feat/sighup-auth-reload
  • feat/syntax-highlighting
  • feat/value-validation
  • feature/auth-hot-reload
  • feature/cache-layer
  • feature/enum-types
  • feature/git-versioning
  • feature/granular-auth
  • feature/web-pagination
  • fix/git-concurrency-and-error-handling
  • fix/server-code-review-improvements
  • json-schema-validation
  • master
  • persistent-sessions
  • refactor/split-server-subpackages
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.10.1
  • refs/tags/v0.10.2
  • refs/tags/v0.10.3
  • refs/tags/v0.10.4
  • refs/tags/v0.11.0
  • refs/tags/v0.12.0
  • refs/tags/v0.12.1
  • refs/tags/v0.13.0
  • refs/tags/v0.13.1
  • refs/tags/v0.13.2
  • refs/tags/v0.13.3
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.3.0
  • refs/tags/v0.3.1
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v0.6.0
  • refs/tags/v0.7.0
  • refs/tags/v0.7.1
  • refs/tags/v0.7.2
  • refs/tags/v0.7.3
  • refs/tags/v0.8.0
  • refs/tags/v0.8.1
  • refs/tags/v0.8.2
  • refs/tags/v0.9.0
  • refs/tags/v0.9.1
  • refs/tags/v0.9.2

29 Nov 2025 04:02AM UTC coverage: 82.66% (+0.7%) from 81.986%
19778854176

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

105 of 132 new or added lines in 3 files covered. (79.55%)

97 existing lines in 3 files now uncovered.

2293 of 2774 relevant lines covered (82.66%)

90.52 hits per line

Relevant lines Covered
Build:
Build:
2774 RELEVANT LINES 2293 COVERED LINES
90.52 HITS PER LINE
Source Files on refs/tags/v0.10.0
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19778854176 refs/tags/v0.10.0 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 ... push 29 Nov 2025 04:20AM UTC web-flow github
82.66
See All Builds (204)
  • Repo on GitHub
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