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

m-lab / locate / 25740557476

12 May 2026 02:19PM UTC coverage: 82.709% (+0.08%) from 82.629%
25740557476

push

github

web-flow
feat(handler): propagate int_id/key_id into priority access tokens (#260)

* feat(handler): propagate int_id/key_id into access tokens for priority requests

PriorityNearest now extracts key_id from the integration JWT and passes both
int_id and key_id through to getAccessToken, which signs them into the access
token using SignWithIntegrationClaims. Non-priority requests are unaffected.

* fix: remove local replace directive from go.mod

* refactor(handler): adapt to m-lab/access variadic Sign API

* docs(handler): document integration claim nil semantics and key_id optionality

* docs(handler): address review minor observations

- Clarify locatetest.Signer.Sign intentionally discards extra claims
- Add inline comment at getAccessToken integration guard
- Assert key_id is absent from access token when not provided

* style: go fmt

2516 of 3042 relevant lines covered (82.71%)

6.18 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

89.0
/handler/handler.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc