|
Ran
|
Jobs
1
|
Files
702
|
Run time
2min
|
Badge
README BADGES
|
push
github
feat: add synced gRPC healthcheck (#7867) This pull request adds support for gRPC health checking to the Minotari node. The main changes introduce a health reporter that tracks the node's state via the state machine and updates the gRPC health status accordingly. This allows external systems to check the node's readiness and health using the standard gRPC health check protocol. **gRPC Health Checking Integration:** * Added the `tonic-health` dependency to `Cargo.toml` for gRPC health checking support. * Updated the `run_grpc` function in `lib.rs` to optionally accept a `StateMachineHandle`, set up a `HealthReporter`, and add the gRPC health service to the server. The health status is updated based on the node's state. [[1]](diffhunk://#diff-<a class=hub.com/tari-project/tari/commit/16fa446fb226d326cfbacc0938b31c552672cb25">16fa446fbfb555d2e48b93b5c8ea2f3f6R346) [[2]](diffhunk://#diff-16fa446fb226d326cfbacc0938b31c552672cb25fb555d2e48b93b5c8ea2f3f6R366-R383)
71923 of 117349 relevant lines covered (61.29%)
222781.28 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 11 |
61.78 |
-1.04% | comms/core/src/connectivity/manager.rs |
| 3 |
64.41 |
-1.27% | comms/core/src/connectivity/requester.rs |
| 2 |
85.42 |
-0.46% | base_layer/p2p/src/services/liveness/service.rs |
| 1 |
90.56 |
-0.29% | comms/core/src/multiplexing/yamux.rs |
| 1 |
59.31 |
0.0% | comms/dht/src/connectivity/mod.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 26814101315.1 | 702 |
61.29 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|