Skip to content

feat: Add upstream proxy timeouts, circuit breaking, and safe retries (Closes #1149) - #1159

Merged
greatest0fallt1me merged 2 commits into
CalloraOrg:mainfrom
devyeyostellar:feat-proxy-circuit-1149
Aug 28, 2026
Merged

feat: Add upstream proxy timeouts, circuit breaking, and safe retries (Closes #1149)#1159
greatest0fallt1me merged 2 commits into
CalloraOrg:mainfrom
devyeyostellar:feat-proxy-circuit-1149

Conversation

@devyeyostellar

Copy link
Copy Markdown
Contributor

Fixes #1149

  • Safely wraps fetch with a retry mechanism for idempotent operations (GET, HEAD, OPTIONS) up to 3 times.
  • Ensures the timeout deadline remains strict and the circuit breaker wraps the retry operation cleanly to avoid cascading failures.

@greatest0fallt1me

Copy link
Copy Markdown
Contributor

Before merge, please add the missing acceptance coverage for #1149: tests for slow headers/resets, bounded retry limits, and circuit-breaker recovery through a successful probe. The current change only updates proxy execution logic and does not include those regression tests.

@devyeyostellar

Copy link
Copy Markdown
Contributor Author

Thanks for the review @greatest0fallt1me! I have just pushed an additional commit that adds the missing acceptance coverage for slow headers/resets, bounded retry limits (verifying safe vs unsafe methods), and circuit-breaker recovery through a successful probe. Let me know if there is anything else needed!

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.

[GrantFox][High] Add upstream proxy timeouts and circuit breaking

2 participants