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

umputun / stash / 19776757402
82%
master: 83%

Build:
Build:
LAST BUILD BRANCH: dependabot/cargo/lib/stash-rust/bytes-1.11.1
DEFAULT BRANCH: master
Ran 29 Nov 2025 01: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 01:01AM UTC coverage: 81.866% (-0.6%) from 82.487%
19776757402

Pull #19

github

umputun
feat(auth): add JSON schema validation for auth config

Add embedded JSON schema validation for stash-auth.yml configuration file.
Invalid configs now fail at startup with descriptive error messages.

- Add jsonschema struct tags to AuthConfig, UserConfig, TokenConfig, PermissionConfig
- Create schema generator using invopop/jsonschema (go:generate)
- Add verify.go with embedded schema validation using santhosh-tekuri/jsonschema
- Support all access value forms: r, read, w, write, rw, readwrite, read-write
- Add unit tests with testdata fixtures and integration test
- Update documentation (README.md, CLAUDE.md)
Pull Request #19: Add JSON schema validation for auth config

19 of 38 new or added lines in 3 files covered. (50.0%)

4 existing lines in 1 file now uncovered.

2158 of 2636 relevant lines covered (81.87%)

11.35 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
80.0
app/server/verify.go
15
0.0
app/server/internal/schema/main.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
90.1
-0.95% app/server/auth.go
Jobs
ID Job ID Ran Files Coverage
1 19776757402.1 29 Nov 2025 01:04AM UTC 17
81.87
GitHub Action Run
Source Files on build 19776757402
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #19
  • PR Base - master (#19773332804)
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