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

OneBusAway / watchdog / 27521066441
51%
main: 51%

Build:
Build:
LAST BUILD BRANCH: prod-errors
DEFAULT BRANCH: main
Ran 15 Jun 2026 02:50AM UTC
Jobs 1
Files 38
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

15 Jun 2026 02:49AM UTC coverage: 51.344% (+1.6%) from 49.71%
27521066441

Pull #112

github

aaronbrethorst
fix(config): validate OBA server configs and drop invalid entries

A production service-discovery file with null feed URLs (gtfs_url,
vehicle_position_url, agency_id) unmarshalled to empty strings, producing
endless cryptic `Get "": unsupported protocol scheme ""` errors on every
fetch cycle.

- Add ValidateServer to check required fields (id, name, oba_base_url,
  oba_api_key, gtfs_url, vehicle_position_url, agency_id); trip_update_url
  and the GTFS-RT auth pair stay optional.
- filterValidServers drops invalid servers and reports each to Sentry, so
  one bad entry can't block monitoring of the whole fleet. Wired into both
  loadConfigFromFile and loadConfigFromURL (covers startup + remote refresh).
- Initialize Sentry before loading config in main.go, so startup-time
  validation/load errors are actually delivered instead of captured by an
  uninitialized hub.
Pull Request #112: fix(config): validate OBA server configs and drop invalid entries

42 of 53 new or added lines in 3 files covered. (79.25%)

993 of 1934 relevant lines covered (51.34%)

0.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
0.0
0.0% cmd/watchdog/main.go
Jobs
ID Job ID Ran Files Coverage
1 27521066441.1 15 Jun 2026 02:50AM UTC 38
51.34
GitHub Action Run
Source Files on build 27521066441
  • Tree
  • List 38
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #112
  • PR Base - main (#27254281759)
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