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

m-lab / locate
92%

Build:
DEFAULT BRANCH: main
Repo Added 01 Apr 2020 10:11PM UTC
Files 33
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • sandbox-cristinaleon-fix-hostname
  • sandbox-cristinaleon-fix-label
  • sandbox-cristinaleon-fix-prom-hostname
  • sandbox-kinkade
  • sandbox-kinkade-siteinfo
  • sandbox-roberto-cloudbuild
  • sandbox-roberto-cmsketch
  • sandbox-roberto-connlimit
  • sandbox-roberto-eeflag
  • sandbox-roberto-fix-rl
  • sandbox-roberto-heartbeat-jwt
  • sandbox-roberto-jwt
  • sandbox-roberto-metrics
  • sandbox-roberto-no-promote
  • sandbox-roberto-pass-qs-params
  • sandbox-roberto-ratelimit
  • sandbox-roberto-ratelimit-block
  • sandbox-roberto-statistical-pt
  • sandbox-roberto-update-cloudbuild
  • sandbox-roberto-update-rl
  • sandbox-soltesz-docs-parameters
  • sandbox-soltesz-ns-replace
  • sandbox-soltesz-testdeploy
  • v0.15.6
  • v0.15.7
  • v0.15.8
  • v0.16.0
  • v0.17.0
  • v0.17.1
  • v0.17.2
  • v0.17.3
  • v0.17.4
  • v0.17.5
  • v0.17.6
  • v0.17.7
  • v0.17.8
  • v0.18.0

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

Relevant lines Covered
Build:
Build:
2287 RELEVANT LINES 2112 COVERED LINES
1.03 HITS PER LINE
Source Files on main
  • Tree
  • List 33
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1614 main 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 po... push 25 Aug 2025 01:38PM UTC web-flow travis-pro
92.35
1588 main Avoids a nil pointer dereference error in Geo() (#227) * Avoids a nil pointer dereference error in Geo() There was a case in staging where Locate was returning this for a host: "neubot-mlab4-syd04.mlab-staging.measurement-lab.org": { "Hea... push 12 Jun 2025 10:20PM UTC web-flow travis-pro
96.23
1583 main Factor filtering hosts into its own function for the registrations endpoint (#226) * Considers only NDT registrations for siteinfo GeoJSON format We don't want a separate GeoJSON feature for every experiment on every machine. Instead, we only wa... push 12 Jun 2025 03:50PM UTC web-flow travis-pro
96.23
1575 main GeoJSON wants lon/lat, not lat/lon (#225) The order of the coordinates was reversed. push 08 May 2025 06:02PM UTC web-flow travis-pro
96.36
1572 main Adds a new "geo" format the /v2/siteinfo/registrations endpoint (#224) * Adds a new Locate endpoint /v2/siteinfo/geo The new endpoint will return a GeoJSON feature collection which represents all machines that Locate knows about. * Actually app... push 07 Apr 2025 03:23PM UTC web-flow travis-pro
96.55
1564 main Add -early-exit-clients command-line flag (#223) * Add -early-exit-client command-line argument. * Make flag configurable via cloudbuild vars * Use consts for early exit parameter and value push 13 Mar 2025 03:20PM UTC web-flow travis-pro
96.61
1549 main Update cloudbuild config to allow setting IP-based config from env (#221) * Update cloudbuild config to allow setting IP-based config from env * Get artifact project from an env variable * use _ prefix push 11 Mar 2025 03:50PM UTC web-flow travis-pro
96.49
1540 main Update rate limiter to have different configurable limits for IP-only and IP+UA (#219) push 11 Mar 2025 01:22PM UTC web-flow travis-pro
96.49
1534 main Updates Cloud Build to use Artifact Registry container images (#218) Container Registry is being retired. push 26 Feb 2025 09:53PM UTC web-flow travis-pro
96.93
1529 main Make rate limiter parameters configurable via CB (#217) * Add two more variable replacements in cloudbuild.yaml * Add vars to app.yaml push 17 Feb 2025 06:55PM UTC web-flow travis-pro
96.74
See All Builds (1667)
  • Repo on GitHub
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