From 8bb86a46302b09cbcc5c85b3e6479f58e98f8c08 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Wed, 4 Mar 2026 13:01:01 +0100 Subject: [PATCH] feat(api_gateway): populate ServiceStatus.version from build_info Co-Authored-By: Claude Opus 4.6 --- services/api_gateway/src/grpc/monitoring_handler.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/api_gateway/src/grpc/monitoring_handler.rs b/services/api_gateway/src/grpc/monitoring_handler.rs index a7b8acf0c..4704a2f3a 100644 --- a/services/api_gateway/src/grpc/monitoring_handler.rs +++ b/services/api_gateway/src/grpc/monitoring_handler.rs @@ -284,6 +284,7 @@ impl MonitoringServiceHandler { health: ServiceHealth::Unhealthy.into(), state: ServiceState::Error.into(), error_message: Some(format!("Invalid URL: {url}")), + version: Some(common::build_info::version().to_owned()), ..Default::default() }; } @@ -333,6 +334,7 @@ impl MonitoringServiceHandler { health: health.into(), state: state.into(), error_message: msg, + version: Some(common::build_info::version().to_owned()), last_health_check: now, uptime_seconds: uptime_secs, metadata,