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

stacklok / toolhive / 19063319244 / 1
51%
main: 51%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2025 09:09AM UTC
Files 337
Run time 8s
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.1

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

Source Files on job 19063319244.1
  • Tree
  • List 337
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19063319244
  • e1980606 on github
  • Prev Job for on main (#19060293535.1)
  • Next Job for on main (#19064108888.1)
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