Skip to content

Add consecutive requeue circuit breaker#417

Open
bitwise-aiden wants to merge 1 commit into
mainfrom
add-consecutive-requeue-circuit-breaker
Open

Add consecutive requeue circuit breaker#417
bitwise-aiden wants to merge 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
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