feat(rpc): implement health check service and error handling
- Added `RpcError` enum for comprehensive error handling in RPC operations. - Introduced `HealthReporter` and `HealthService` for managing service health statuses. - Implemented health check and watch functionality in the health service. - Created integration tests for health check service, covering various scenarios. - Added unit tests for client options validation and stream functionality. - Established logging infrastructure for terminal and registry components. - Implemented logging lifecycle management and conflict resolution in tests.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
use futures_util::StreamExt;
|
||||
use proto::proto::control::TerminalInfo;
|
||||
use proto::control::TerminalInfo;
|
||||
|
||||
use crate::RegistryService;
|
||||
use crate::rpc::snapshots;
|
||||
use proto::rpc::stream::watch_stream as snapshots;
|
||||
|
||||
#[tokio::test]
|
||||
async fn subscribers_receive_initial_and_changed_snapshots_then_close() {
|
||||
|
||||
Reference in New Issue
Block a user