feat: gate releases on platform health
This commit is contained in:
Vendored
+17
-1
@@ -2694,6 +2694,21 @@ export interface components {
|
||||
migration_version: number;
|
||||
dirty: boolean;
|
||||
};
|
||||
OpsAcceptancePlatformHealthState: {
|
||||
/** @enum {string} */
|
||||
state: "CURRENT" | "STALE" | "MISSING";
|
||||
/** @enum {string} */
|
||||
status?: "healthy" | "warning" | "critical";
|
||||
/** Format: date-time */
|
||||
observed_at?: string;
|
||||
/** Format: date-time */
|
||||
received_at?: string;
|
||||
check_count: number;
|
||||
warning_count: number;
|
||||
critical_count: number;
|
||||
/** @description 仅当快照未超过15分钟且综合状态及全部检查均为healthy时为true。 */
|
||||
gate_satisfied: boolean;
|
||||
};
|
||||
OpsAcceptanceDependencyState: {
|
||||
/** @enum {string} */
|
||||
service_name: "api" | "worker";
|
||||
@@ -2758,7 +2773,7 @@ export interface components {
|
||||
};
|
||||
OpsAcceptanceGate: {
|
||||
/** @enum {string} */
|
||||
code: "candidate_build_identified" | "database_migration_clean" | "required_dependencies_available" | "integration_issues_clear" | "outbox_clear" | "critical_alerts_clear";
|
||||
code: "candidate_build_identified" | "database_migration_clean" | "required_dependencies_available" | "integration_issues_clear" | "outbox_clear" | "critical_alerts_clear" | "platform_health_current";
|
||||
satisfied: boolean;
|
||||
summary: string;
|
||||
};
|
||||
@@ -2784,6 +2799,7 @@ export interface components {
|
||||
external_dependencies: components["schemas"]["OpsAcceptanceDependencyState"][];
|
||||
outbox: components["schemas"]["OpsAcceptanceOutboxState"];
|
||||
alerts: components["schemas"]["OpsAcceptanceAlertState"];
|
||||
platform_health: components["schemas"]["OpsAcceptancePlatformHealthState"];
|
||||
gates: components["schemas"]["OpsAcceptanceGate"][];
|
||||
overall_gate_satisfied: boolean;
|
||||
disclaimer: string;
|
||||
|
||||
Reference in New Issue
Block a user