Skip to content

feat: add circuit breaker observability methods (#1176)#118

Merged
saurabhjain1592 merged 6 commits intomainfrom
feat/circuit-breaker-observability
Mar 16, 2026
Merged

feat: add circuit breaker observability methods (#1176)#118
saurabhjain1592 merged 6 commits intomainfrom
feat/circuit-breaker-observability

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • New SDK methods: getCircuitBreakerStatus, getCircuitBreakerHistory, getCircuitBreakerConfig, updateCircuitBreakerConfig
  • New types: CircuitBreakerStatusResponse, CircuitBreakerHistoryEntry, CircuitBreakerHistoryResponse, CircuitBreakerConfig, CircuitBreakerConfigUpdate
  • These hit the Agent endpoint for circuit breaker observability (status, history, config)

Test plan

  • Unit tests pass (all new methods covered)
  • E2E tested against live enterprise Docker (10/10 steps pass)

New SDK methods: get_circuit_breaker_status, get_circuit_breaker_history,
get_circuit_breaker_config, update_circuit_breaker_config.
Circuit breaker endpoints require X-Org-ID header. API returns null
for empty arrays which Pydantic rejects; use `or []` fallback.
Circuit breaker handler will fall back to X-Tenant-ID when
X-Org-ID is missing. Keep null list fix.
@saurabhjain1592 saurabhjain1592 added the direct-to-main Allow fix/chore branches to merge to main label Mar 16, 2026
@saurabhjain1592 saurabhjain1592 merged commit 72361d4 into main Mar 16, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

direct-to-main Allow fix/chore branches to merge to main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant