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

umputun / stash
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: refactor-audit-package
DEFAULT BRANCH: master
Repo Added 24 Nov 2025 02:23AM UTC
Files 30
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 refactor-auth
branch: refactor-auth
CHANGE BRANCH
x
Reset
  • refactor-auth
  • api-list-keys
  • audit-trail
  • audit-ui
  • ci/add-permissions-blocks
  • conflict-detection
  • dependabot/github_actions/actions/cache-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/download-artifact-6
  • dependabot/github_actions/actions/download-artifact-7
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/actions/upload-artifact-5
  • dependabot/github_actions/actions/upload-artifact-6
  • dependabot/go_modules/go-modules-35375c2958
  • dependabot/go_modules/go-modules-f180a085e8
  • e2e-playwright-go
  • e2e-tests
  • 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/secrets-vault
  • feature/web-pagination
  • fix-e2e-flaky
  • fix/git-concurrency-and-error-handling
  • fix/server-code-review-improvements
  • java-sdk
  • json-schema-validation
  • master
  • persistent-sessions
  • python-sdk
  • refactor-audit-package
  • refactor/split-server-subpackages
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.10.0
  • 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.13.4
  • refs/tags/v0.14.0
  • refs/tags/v0.15.0
  • refs/tags/v0.16.0
  • refs/tags/v0.17.0
  • 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
  • sdk-api
  • typescript-sdk
  • zk-encryption

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

Relevant lines Covered
Build:
Build:
4742 RELEVANT LINES 3977 COVERED LINES
78.75 HITS PER LINE
Source Files on refactor-auth
  • Tree
  • List 29
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20645406668 refactor-auth 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 ... Pull #54 01 Jan 2026 08:56PM UTC umputun github
83.87
20645144112 refactor-auth refactor(auth): make internal methods private reduce public API surface by making methods private that are only used within the auth package: - getTokenACL, hasTokenACL, checkPermission - filterTokenKeys, filterPublicKeys - isTokenAdmin, validate... Pull #54 01 Jan 2026 08:35PM UTC umputun github
83.85
20645144364 refactor-auth refactor(auth): make internal methods private reduce public API surface by making methods private that are only used within the auth package: - getTokenACL, hasTokenACL, checkPermission - filterTokenKeys, filterPublicKeys - isTokenAdmin, validate... Pull #54 01 Jan 2026 08:35PM UTC umputun github
83.81
20644663981 refactor-auth fix(auth): address code review findings - remove dead auth.Noop function and its test - remove empty "service disabled" test subtests - add TestService_Activate for Activate() method - add ConfigValidator callback tests - add TokenMiddleware list... Pull #54 01 Jan 2026 07:59PM UTC umputun github
83.75
20644664251 refactor-auth fix(auth): address code review findings - remove dead auth.Noop function and its test - remove empty "service disabled" test subtests - add TestService_Activate for Activate() method - add ConfigValidator callback tests - add TokenMiddleware list... Pull #54 01 Jan 2026 07:59PM UTC umputun github
83.71
20637072238 refactor-auth refactor(auth): extract auth package and simplify interfaces split ~900 line auth.go into app/server/auth/ package with 3 files: - config.go: types and yaml parsing - auth.go: Service struct and methods - middleware.go: HTTP middleware and helper... Pull #54 01 Jan 2026 10:32AM UTC umputun github
83.47
See All Builds (347)
  • 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

© 2026 Coveralls, Inc