feat(api_gateway): populate ServiceStatus.version from build_info

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-03-04 13:01:01 +01:00
parent 4024c92a03
commit 8bb86a4630

View File

@@ -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,