From c95de97762f726bf8f5c9a19f165f5634522dc98 Mon Sep 17 00:00:00 2001 From: Accusys Date: Tue, 19 May 2026 00:42:41 +0800 Subject: [PATCH] feat: show config toggle states in /health/detailed --- src/api/server.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/api/server.rs b/src/api/server.rs index 2fa2ffd..d87c18a 100644 --- a/src/api/server.rs +++ b/src/api/server.rs @@ -556,6 +556,7 @@ struct DetailedHealthResponse { schema: SchemaHealth, identities: IdentityHealth, integrations: IntegrationHealth, + config: ConfigHealth, } #[derive(Debug, Serialize)] @@ -572,6 +573,13 @@ struct IdentityHealth { synced: bool, } +#[derive(Debug, Serialize)] +struct ConfigHealth { + cache_enabled: bool, + auto_pipeline_enabled: bool, + watcher_auto_register_enabled: bool, +} + #[derive(Debug, Serialize)] struct SchemaHealth { table_exists: bool, @@ -849,6 +857,11 @@ async fn health_detailed(State(state): State) -> Json