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

stacklok / toolhive / 19063319244
51%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2025 09:09AM UTC
Jobs 1
Files 337
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 Nov 2025 09:04AM UTC coverage: 47.744% (-0.02%) from 47.762%
19063319244

push

github

web-flow
Remove GetClaimsFromContext backward compatibility helper (#2443)

Remove GetClaimsFromContext function and migrate all usages to
IdentityFromContext pattern following the authentication unification
completed in d32f2bf5.

Changes:
- Remove GetClaimsFromContext() from pkg/auth/context.go
- Update all test files to use IdentityFromContext() and access
  identity.Claims directly when needed
- Remove dedicated GetClaimsFromContext test functions
- Remove unused jwt imports from test files

Rationale:
GetClaimsFromContext was added as a backward-compatibility helper during
the Identity struct unification. All production code has migrated to
using IdentityFromContext directly, with zero production usages
remaining. Tests should verify the actual production API contract.

Impact:
- Removes ~130 lines of code (function + tests)
- Simplifies the auth API to a single pattern
- All tests pass with improved clarity

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>

21261 of 44531 relevant lines covered (47.74%)

37.81 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
96.5
-2.1% cmd/thv-operator/pkg/sources/git.go
3
72.39
-1.12% pkg/ignore/processor.go
Jobs
ID Job ID Ran Files Coverage
1 19063319244.1 04 Nov 2025 09:09AM UTC 337
47.74
GitHub Action Run
Source Files on build 19063319244
  • Tree
  • List 337
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19063319244
  • e1980606 on github
  • Prev Build on main (#19060293535)
  • Next Build on main (#19064108888)
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