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

OneBusAway / watchdog
77%
main: 76%

Build:
Build:
LAST BUILD BRANCH: fix/investigation-accept-negotiation
DEFAULT BRANCH: main
Repo Added 18 Jan 2025 10:58PM UTC
Files 153
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 test/report-coverage
branch: test/report-coverage
CHANGE BRANCH
x
Reset
  • test/report-coverage
  • Improve-config-loading
  • aaronbrethorst-patch-1
  • api-status-pannel
  • bugfix/handle-nil-response
  • cache
  • chore/472-vet-e2e-feedsim
  • ci
  • ci/182-update-go-toolchain
  • ci/311-promtool-tests
  • dh2
  • docker
  • docker-ci
  • docker-ci-redux
  • docker-hub
  • docs
  • docs/204-investigation-operations
  • docs/391-reconcile-caching-table-last-modified
  • docs/533-feedsim-newactivation-comment
  • docs/include-cache-rule
  • docs/quick-rollback-tradeoff
  • docs/refresh-investigation-status
  • docs/standard-units
  • docs/watchdog-server-scoped-config
  • feat/158-unattributed-vehicle-reasons
  • feat/158-unattributed-vehicles-clean
  • feat/200-static-version-recording
  • feat/202-position-validation-reason
  • feat/202-realtime-feed-timestamps
  • feat/202-vehicle-anomaly-history
  • feat/221-vehicle-position-endpoint
  • feat/225-reported-trips
  • feat/226-investigation-api-reported-trip-detail
  • feat/232-investigation-api-unmatched-trip-episode-detail
  • feat/243-bounding-box-versions
  • feat/247-vehicle-anomaly-rule-version
  • feat/248-gtfs-static-versions
  • feat/249-gtfs-static-version-endpoint
  • feat/250-static-gtfs-source
  • feat/251-static-gtfs-source-versions
  • feat/253-investigation-api-cluster-schemes-list
  • feat/268-upstream-merged-feeds
  • feat/413-investigation-short-cache-fetch-interval
  • feat/452-grafana-panel-invalid-timestamps
  • feat/454-spatial-validation-catch-all
  • feat/463-per-type-rule-versions
  • feat/466-legacy-vehicle-close-followups
  • feat/474-invalid-timestamp-anomaly
  • feat/480-vehicle-close-backlog-and-cleanups
  • feat/482-unmatched-stops-batching
  • feat/485-feed-entity-id-evidence
  • feat/add-docker-compose-observability-stack
  • feat/all-dashboard-visualizations
  • feat/assignment-timeout-public-members
  • feat/automated-promql-validation
  • feat/automated-versioning
  • feat/buses-in-service-percent
  • feat/e2e-feed-simulator
  • feat/e2e-separate-timeouts
  • feat/e2e-wait-for-collection
  • feat/exponential-backoff
  • feat/feedsim-request-tracking
  • feat/feedsim-requests-endpoint
  • feat/freshness-aware-metrics
  • feat/group-expired-issue-assignees
  • feat/gtfs-bounding-box-validation
  • feat/healthcheck-endpoint
  • feat/history-identities
  • feat/history-retention
  • feat/increase-test-coverage
  • feat/increase-test-coverage-2
  • feat/inject-version-via-build-args
  • feat/investigation-api-agency-detail
  • feat/investigation-api-anomaly-rule-version
  • feat/investigation-api-auth
  • feat/investigation-api-bounding-box-versions
  • feat/investigation-api-cluster-schemes
  • feat/investigation-api-entry-point
  • feat/investigation-api-episode-counts
  • feat/investigation-api-episode-filters
  • feat/investigation-api-foundation
  • feat/investigation-api-get-endpoint
  • feat/investigation-api-grouped-episode-counts
  • feat/investigation-api-gtfs-static-version
  • feat/investigation-api-reported-stops
  • feat/investigation-api-reported-trip-episodes
  • feat/investigation-api-root
  • feat/investigation-api-server-agencies
  • feat/investigation-api-server-detail
  • feat/investigation-api-server-vehicle-position-endpoints
  • feat/investigation-api-server-vehicle-position-endpoints-rebased
  • feat/investigation-api-servers
  • feat/investigation-api-static-gtfs-source
  • feat/investigation-api-unmatched-stop-episodes
  • feat/investigation-api-unmatched-trip-episode-list
  • feat/investigation-api-vehicle-anomaly-episode-list
  • feat/investigation-api-vehicle-anomaly-episodes
  • feat/investigation-api-vehicle-anomaly-types
  • feat/investigation-api-vehicle-detail
  • feat/investigation-api-vehicle-position-evidence
  • feat/investigation-api-vehicle-position-responses
  • feat/investigation-api-vehicles
  • feat/investigation-api-views
  • feat/investigation-db
  • feat/issue-100-vehicle-volume
  • feat/issue-105-stop-matching
  • feat/issue-97-dependency-latency
  • feat/issue-98-feed-expiration
  • feat/issue-99-agency-consistency
  • feat/metrics-dashboard-skeleton
  • feat/prometheus-alerting-rules
  • feat/refresh-static-on-agency-mismatch
  • feat/reported-stop-unmatched-stop-episodes
  • feat/schedule-trip-index
  • feat/skip-unchanged-static-feeds
  • feat/speed-anomaly-metrics
  • feat/static-gtfs-partial-refresh
  • feat/static-refresh-redesign
  • feat/unmatched-stop-episode-static-contexts
  • feat/unmatched-stop-episodes
  • feat/unmatched-stop-geo-clustering
  • feat/unmatched-stop-reload-lastReport
  • feat/vehicle-anomaly-episode
  • feat/watchdog-server-info
  • feature/add-sentry-error-tracking
  • feature/docker-setup
  • feature/handle-auth-optional-in-gtfs-realtime
  • feature/matching-ratios-analysis
  • feature/vehicle-report-frequency
  • fix-438-removed-agency-episodes
  • fix/132-alertmanager-config
  • fix/148-config-reconciliation
  • fix/149-agency-mode-blank-agency-id-bbox
  • fix/150-post-141-cleanups
  • fix/161-freshness-gate-panels
  • fix/162-grafana-freshness-gates
  • fix/165-gtfs-rt-fetch-freshness
  • fix/266-cached-prom-handler-status
  • fix/270-refresh-static-gtfs-on-backend-change
  • fix/277-keep-active-vehicles-gauge-on-cancel
  • fix/278-remove-dead-newErrRecovered
  • fix/281-disable-oba-sdk-retries
  • fix/288-backend-hash-refresh-follow-ups
  • fix/302-detect-malformed-vehicle-timestamps
  • fix/305-postgres-tcp-healthcheck
  • fix/306-schedule-trip-followups
  • fix/307-investigation-foundation-followups
  • fix/308-history-identities-followups
  • fix/314-dashboard-query-drift
  • fix/317-stable-backend-hash
  • fix/322-vehicle-include-cache
  • fix/325-loader-cleanup
  • fix/328-stable-server-display-name
  • fix/348-redirect-credentials
  • fix/351-static-contexts-include-cache
  • fix/352-stop-matching-overrides
  • fix/368-debounce-withhold-after-expiry
  • fix/371-sanitize-sentry-urls
  • fix/374-static-version-rollback
  • fix/378-sanitize-oba-base-url
  • fix/383-static-version-followups
  • fix/384-sanitize-no-agency-error
  • fix/392-clear-debounce-on-unsupported
  • fix/402-clear-behind-and-debounce-deadline
  • fix/407-debounce-deadline-scaling-and-docs
  • fix/407-static-gtfs-debounce
  • fix/418-validate-fetch-interval
  • fix/425-schedule-store-lazy-init-deadlock
  • fix/437-sanitize-metrics-errors
  • fix/439-report-errors-once
  • fix/444-flush-race
  • fix/444-history-config-refresh
  • fix/449-invalid-vehicle-timestamp-docs
  • fix/455-order-dependent-metrics-tests
  • fix/456-vehicle-episode-lifecycle
  • fix/458-stale-source-timestamp-future
  • fix/470-freshness-test-repeat
  • fix/475-removed-server-history
  • fix/484-unmatched-stop-close-timeout
  • fix/487-removed-agency-closing-response
  • fix/490-vehicle-departure-closing-response
  • fix/504-metrics-referer-api-key
  • fix/505-followup
  • fix/505-retention-stale-episodes-static-race
  • fix/537-oba-sdk-redirect-referer
  • fix/542-trim-agency-id-server-key
  • fix/549-server-wide-bbox-once-per-snapshot
  • fix/551-cached-prom-http-negotiation
  • fix/Handle-GTFS-coordinate-precision
  • fix/agency-mode-blank-feed-bounding-box
  • fix/agency-mode-filtering
  • fix/backend-hash-campaign-limit
  • fix/backend-metadata-truncated-body
  • fix/bounding-box-coordinate-validation
  • fix/bump-klauspost-compress
  • fix/context-cancellation-graceful-shutdown
  • fix/deduplicate-unmatched-stop-ids
  • fix/dockerfile
  • fix/e2e-timeout-followups
  • fix/escape-agency-metrics-api-key
  • fix/feedsim-tracking-followups
  • fix/gtfs-credential-redaction
  • fix/gtfs-feed-url-redaction-375
  • fix/gtfs-realtime-response-size-limit
  • fix/investigation-accept-negotiation
  • fix/investigation-kind-constants
  • fix/investigation-panic-request-metrics
  • fix/metric-type-naming
  • fix/metrics
  • fix/metrics-api-double-report
  • fix/per-agency-bounding-box
  • fix/per-agency-vehicle-metrics
  • fix/remote-config-response-size-limit
  • fix/report-invalid-servers-once
  • fix/retire-renamed-cluster-series
  • fix/retire-vehicle-series-on-rename
  • fix/reuse-metrics-response
  • fix/schedule-single-digit-hour
  • fix/server-mode-stale-bounding-box
  • fix/single-ping-per-server
  • fix/static-refresh-followups-357
  • fix/survive-empty-remote-config
  • fix/test-db-investigation
  • fix/timezone-aliases
  • fix/unmatched-stop-flush-gaps
  • fix/validate-oba-base-url
  • fix/vehicle-anomaly-episode-review-notes
  • fix/watchdog-credential-redaction-focused
  • fix/watchdog-production-environment-label
  • grafana/normalize-macros-promql
  • improve-test-coverage
  • investigation/233-unmatched-trip-static-contexts
  • investigation/234-oba-metrics-responses
  • investigation/240-vehicle-anomaly-episode-evidence
  • investigation/241-vehicle-position-evidence
  • investigation/242-vehicle-position-responses
  • investigation/244-vehicle-anomaly-types
  • investigation/245-get-vehicle-anomaly-type
  • investigation/246-vehicle-anomaly-rule-versions
  • investigation/252-unmatched-stop-clusters
  • investigation/338-episode-followups
  • investigation/338-kind-constants
  • investigation/356-cluster-schemes-tie-break
  • main
  • makefile
  • merged-temp/observer-dashboard
  • metrics/latlong
  • oba-metrics-api
  • oom-investigation
  • perf/concurrent-metrics-collection
  • prod-errors
  • refactor/app-service-injection
  • refactor/create-cache-dir-if-not-exist
  • refactor/gtfs-static-in-memory
  • refactor/minimal-gtfs-models
  • refactor/move-utils
  • refactor/reuse-http-client-realtime-store
  • refactor/support-mutliple-servers
  • refactor/use-helpers
  • remove-unmatched-stop-locations-metric
  • security
  • sidecar-backup-freshness
  • test-ci-workflow-branch
  • test/494-empty-start-deadline
  • test/501-small-feed-scope-mismatch
  • test/e2e-496-coverage
  • test/e2e-agency-mode
  • test/e2e-agency-unlisted
  • test/e2e-invalid-timestamp
  • test/e2e-vehicle-departures
  • test/integration
  • thread-safe-config
  • update/readme-dockerfile-config
  • ws/metrics-docs-0920-1015

26 Nov 2026 08:11PM UTC coverage: 76.526% (+0.4%) from 76.078%
45897758809

Pull #432

github

TheCodeHeist-Coder
test(report): cover error reporting and scope configuration

internal/report had no tests for ReportError, ReportErrorWithSentryOptions,
ConfigureScope or getHostname, so the package sat at 5.9% coverage.

Add tests using the existing CaptureSentry helper for nil errors, the
default and explicit levels, tags and extra context, per-report scope
isolation, and the runtime tags and host_info context that ConfigureScope
sets. The ConfigureScope test pushes a scope so its tags don't leak into
other tests.

Coverage of internal/report goes from 5.9% to 92.2%.

Refs #45
Pull Request #432: test(report): cover error reporting and scope configuration

10419 of 13615 relevant lines covered (76.53%)

4337.85 hits per line

Relevant lines Covered
Build:
Build:
13615 RELEVANT LINES 10419 COVERED LINES
4337.85 HITS PER LINE
Source Files on test/report-coverage
  • Tree
  • List 135
  • 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
45897758809 test/report-coverage test(report): cover error reporting and scope configuration internal/report had no tests for ReportError, ReportErrorWithSentryOptions, ConfigureScope or getHostname, so the package sat at 5.9% coverage. Add tests using the existing CaptureSentr... Pull #432 26 Nov 2026 09:26PM UTC TheCodeHeist-Coder github
76.53
See All Builds (886)
  • Repo on GitHub
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