feat: expose multi-host runtime readiness

This commit is contained in:
2026-08-02 05:29:47 +02:00
parent c241085806
commit b464d016b2
6 changed files with 519 additions and 104 deletions
+18
View File
@@ -117,6 +117,22 @@ export type OpsRuntimeCluster = {
state_profile: string;
expected?: { api: number; worker: number };
active?: { api: number; worker: number };
composition?: {
expected_hash?: string | null;
active_hashes: string[];
unexpected_nodes: string[];
skewed: boolean;
};
software_versions?: {
active: string[];
skewed: boolean;
};
queues?: {
expected: string[];
active: string[];
missing: string[];
worker_pools: string[];
};
nodes: OpsRuntimeNode[];
recovery: {
operations: OpsRecoveryOperation[];
@@ -137,6 +153,8 @@ export type OpsStatus = {
message?: string | null;
};
database_url: string;
database_connection_peak?: number | null;
database_connection_available?: number | null;
file_storage_backend: string;
worker_metrics: {
workers?: number;