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

m-lab / locate / 1651
83%

Build:
DEFAULT BRANCH: main
Ran 07 Jan 2026 12:06PM UTC
Jobs 1
Files 36
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

07 Jan 2026 11:56AM UTC coverage: 91.311% (-1.0%) from 92.348%
1651

push

travis-pro

web-flow
feat: improve support for local testing (#230)

* feat(auth): add multi-backend JWT verification

Implement three JWT verification modes:
- ESPv1 (production default, with defense-in-depth)
- Direct (JWKS validation for integration testing)
- Insecure (dev/test only, requires ALLOW_INSECURE_JWT=true)

Enables deployment without ESP and simplifies local testing.

* fix: extract remote IP address correctly when running locally

* Use flagx.URL and url.URL instead of strings + simplify verifiers

* fix: use mlab1-lga0t in the example heartbeat command

mlab2-lga1t has 0.5 probability in siteinfo, annoying for local testing.

* Add scripts/create-dev-jwt.sh

* Support externally-provided JWT tokens in heartbeat client

* Update script

* update DEVELOPMENT.md with the new local testing flow.

* update jwt verifiers

* Address code review comments

* Fix XFF vulnerability

* Update DEVELOPMENT.md

* Do not log twice.

* simplify espv1 ExtractClaims

* update insecure.go

* Split jwtverifier package tests into 3 files

* Add TODO in handler.go

188 of 232 new or added lines in 7 files covered. (81.03%)

6 existing lines in 2 files now uncovered.

2249 of 2463 relevant lines covered (91.31%)

1.02 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
97.83
-2.17% clientgeo/maxmind.go
6
83.78
auth/jwtverifier/espv1.go
6
83.78
auth/jwtverifier/insecure.go
12
70.26
0.48% cmd/heartbeat/main.go
18
77.5
auth/jwtverifier/direct.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
70.26
0.48% cmd/heartbeat/main.go
4
95.8
-1.25% handler/handler.go
Jobs
ID Job ID Ran Files Coverage
1 1651.1 07 Jan 2026 12:06PM UTC 36
91.31
Travis Job 1651.1
Source Files on build 1651
  • Tree
  • List 36
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1651
  • edec41ac on github
  • Prev Build on main (#1620)
  • Next Build on main (#1660)
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