Skip to content

Add L7 proxy circuit breaking#345

Merged
kacy merged 1 commit intomainfrom
phase6-proxy-circuit-breaker
Mar 27, 2026
Merged

Add L7 proxy circuit breaking#345
kacy merged 1 commit intomainfrom
phase6-proxy-circuit-breaker

Conversation

@kacy
Copy link
Copy Markdown
Owner

@kacy kacy commented Mar 27, 2026

Summary

  • add circuit-breaker policy primitives for the L7 proxy
  • track per-endpoint open and half-open circuit state in proxy runtime and expose it in rollout status and Prometheus
  • re-resolve upstreams on retries so a tripped endpoint can be bypassed, and add coverage for circuit-open endpoint selection and retry-to-different-endpoint behavior

Validation

  • zig fmt on touched files
  • single-process targeted zig build test -Doptimize=ReleaseSafe -- --test-filter ... runs for proxy runtime, proxy forwarding, and rollout metrics
  • a logging-format compile bug surfaced during the first targeted build and was fixed before rerunning
  • subsequent targeted runs hit the explicit timeout without emitting failures

@kacy kacy merged commit ac39f9b into main Mar 27, 2026
6 of 7 checks passed
@kacy kacy deleted the phase6-proxy-circuit-breaker branch March 27, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant