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

m-lab / locate / 1614
92%

Build:
DEFAULT BRANCH: main
Ran 25 Aug 2025 01:38PM UTC
Jobs 1
Files 33
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

25 Aug 2025 01:23PM UTC coverage: 92.348% (-3.9%) from 96.233%
1614

push

travis-pro

web-flow
feat(auth): Add JWT authentication for heartbeat endpoints (#228)

* Add JWT-protected heartbeat endpoint with organization validation

* Fix JWT audience to match token-exchange service

* Fix JWT claims extraction for ESP v1 (GAE Flex)

* Use portable JWT parsing with go-jose library

* Update heartbeat client to use JWT authentication

* feat(auth): add JWT token refresh for heartbeat connections

Implements automatic JWT token renewal before expiry to handle GAE's
1-hour connection limits. Includes comprehensive test coverage.

* update comment

* feat(auth): update handler to read ESPv1's custom header

* add debug logging

* fix(auth): parse claims as a JSON string

* use base64.StdEncoding

* restore expiry parsing from JWT

* Make tests table-driven

98 of 195 new or added lines in 3 files covered. (50.26%)

2112 of 2287 relevant lines covered (92.35%)

1.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
20
86.5
-11.66% connection/connection.go
33
69.78
-13.43% cmd/heartbeat/main.go
44
61.81
-17.86% handler/heartbeat.go
Jobs
ID Job ID Ran Files Coverage
1 1614.1 25 Aug 2025 01:38PM UTC 33
92.35
Travis Job 1614.1
Source Files on build 1614
  • Tree
  • List 33
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1614
  • 32c9722e on github
  • Prev Build on main (#1588)
  • Next Build on main (#1620)
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