feat: close v3 slo gates and lifecycle metrics
Some checks failed
CI / Build & Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Release (push) Has been cancelled

This commit is contained in:
phamnazage-jpg
2026-06-08 14:49:06 +08:00
parent dbbb313a36
commit dd6f332b53
14 changed files with 775 additions and 156 deletions

View File

@@ -222,6 +222,9 @@ func TestNewActionSetResolveRouteFlow(t *testing.T) {
if !strings.Contains(body, "route_failovers_total") {
t.Fatal("metrics missing route_failovers_total after fallback flow")
}
if !strings.Contains(body, `route_decisions_total{logical_group="gpt-shared",status="failover"}`) {
t.Fatalf("metrics missing failover decision status after resolve flow: %s", body)
}
}
func TestResolveRouteHelpers(t *testing.T) {