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

graphprotocol / indexer-rs / 21682098073
69%

Build:
DEFAULT BRANCH: main
Ran 04 Feb 2026 05:49PM UTC
Jobs 1
Files 99
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

04 Feb 2026 05:45PM UTC coverage: 69.444% (-0.02%) from 69.468%
21682098073

push

github

web-flow
feat(service): add /healthz endpoint for dependency health checks (#925)

* feat(service): add /healthz endpoint for dependency health checks

Expose a health check endpoint that reports database and graph-node connectivity status,
enabling load balancers and orchestration tools to detect service degradation.

Closes #503

* refactor(test-assets): share PostgreSQL container across tests

Reuse a single PostgreSQL container for all test databases instead of
starting a new container per test. Reduces test execution time and
resource usage when running multiple integration tests.

* fix(service): prevent /healthz from hanging on slow graph-node responses

Add 5-second timeout to graph-node health check to ensure load balancers
receive timely responses even when graph-node is degraded. Standardize
status response to "healthy"/"unhealthy" for consistency.

* test(service): verify /healthz returns 503 when graph-node is unavailable

Add test coverage for the unhealthy dependency scenario to ensure the
health endpoint correctly reports service degradation to load balancers.

* fix(service): add database timeout and standardize /healthz status labels

Add 5-second timeout for database health checks to prevent /healthz from
hanging when the database is slow or unresponsive. Standardize all health
check status labels to "healthy"/"unhealthy" for consistent responses.

* fix(service): use simpler introspection query for graph-node health check

Replace `indexingStatuses` query with `__typename` introspection to check
graph-node connectivity. This works even when no subgraphs are deployed.

* fix(local-network): remove duplicate port mapping and improve shell script robustness

Remove duplicate 7302:7300 port mapping in local-network.patch that would
cause Docker Compose to fail. Also refactor close-allocations.sh to use
array-based command building for safer argument handling, and add
clarifying comments about mnemonic parsing limitations.

83 of 116 new or added lines in 3 files covered. (71.55%)

3 existing lines in 1 file now uncovered.

11093 of 15974 relevant lines covered (69.44%)

77.98 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
33
57.69
crates/service/src/routes/healthz.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
82.65
-3.06% crates/watcher/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 21682098073.1 04 Feb 2026 05:49PM UTC 99
69.44
GitHub Action Run
Source Files on build 21682098073
  • Tree
  • List 99
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21682098073
  • 9e7b67ac on github
  • Prev Build on main (#21680168182)
  • Next Build on main (#21688414710)
  • Delete
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