Skip to content

Implement sliding window circuit breakers#39

Merged
cinar merged 2 commits intomainfrom
sliding-window-circuit-breakers
Apr 2, 2026
Merged

Implement sliding window circuit breakers#39
cinar merged 2 commits intomainfrom
sliding-window-circuit-breakers

Conversation

@cinar
Copy link
Copy Markdown
Owner

@cinar cinar commented Apr 2, 2026

This PR implements sliding window circuit breakers with both count-based and time-based strategies as requested in issue #33.

@cinar cinar merged commit 405c429 into main Apr 2, 2026
4 checks passed
@cinar cinar deleted the sliding-window-circuit-breakers branch April 2, 2026 21:06
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.08176% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.19%. Comparing base (48a0c4e) to head (4ef5c2e).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
circuit/breaker.go 93.03% 6 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   81.11%   83.19%   +2.07%     
==========================================
  Files          12       12              
  Lines         715      851     +136     
==========================================
+ Hits          580      708     +128     
- Misses        111      115       +4     
- Partials       24       28       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants