feat(service): add /healthz endpoint for dependency health checks#925
Merged
suchapalaver merged 7 commits intomainfrom Feb 4, 2026
Merged
feat(service): add /healthz endpoint for dependency health checks#925suchapalaver merged 7 commits intomainfrom
suchapalaver merged 7 commits intomainfrom
Conversation
Pull Request Test Coverage Report for Build 21680564461Details
💛 - Coveralls |
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
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.
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.
…able Add test coverage for the unhealthy dependency scenario to ensure the health endpoint correctly reports service degradation to load balancers.
…bels 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.
…heck Replace `indexingStatuses` query with `__typename` introspection to check graph-node connectivity. This works even when no subgraphs are deployed.
96c8c0e to
391a80b
Compare
…cript 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.
neithanmo
approved these changes
Feb 4, 2026
This was referenced Feb 4, 2026
Merged
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Signed off by Joseph Livesey joseph@semiotic.ai