Skip to content

Add consecutive requeue circuit breaker - #417

Merged
bitwise-aiden merged 1 commit into
mainfrom
add-consecutive-requeue-circuit-breaker
Jul 30, 2026
Merged

Add consecutive requeue circuit breaker#417
bitwise-aiden merged 1 commit into
mainfrom
add-consecutive-requeue-circuit-breaker

Conversation

@bitwise-aiden

Copy link
Copy Markdown
Contributor

Summary

  • add an independent, disabled-by-default max_consecutive_requeues worker circuit breaker
  • count only accepted requeues while preserving the existing consecutive-final-failure semantics
  • expose the setting programmatically and through both the Minitest and deprecated RSpec CLIs
  • add Redis-backed two-worker integration coverage proving an unhealthy worker is fenced while a healthy worker drains its requeued tests
  • document the two circuit breakers and their reset behavior

Testing

  • bundle exec rake test (297 tests, 995 assertions, 0 failures)

Closes #406

Assisted-By: devx/4c45e295-0083-4943-b581-d37f963e066d
@bitwise-aiden
bitwise-aiden force-pushed the add-consecutive-requeue-circuit-breaker branch from f0185be to b3e3168 Compare July 30, 2026 00:55
@bitwise-aiden
bitwise-aiden merged commit c47d7f8 into main Jul 30, 2026
34 checks passed
@bitwise-aiden
bitwise-aiden deleted the add-consecutive-requeue-circuit-breaker branch July 30, 2026 01:50
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.

Add a separate requeue circuit breaker to handle worker corruption

2 participants