fix(coordination): make manual controls authoritative - #88
Merged
Conversation
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||
7 tasks
bagowix
added a commit
that referenced
this pull request
Jul 30, 2026
## Summary Prepare the `2.1.3` patch release. - bump the package version from `2.1.2` to `2.1.3` - move the current changelog entries from `[Unreleased]` into `2.1.3` - update changelog comparison links - update the release version in the comparison page - regenerate `docs/llms-full.txt` This release includes fixes for atomic circuit-breaker snapshots and local manual controls in coordinated mode. ## Checklist - [x] Test suite passes with 100% coverage - [x] `uv run ruff format --check` and `uv run ruff check` pass - [x] `uv run mypy` and `uv run pyright` pass - [x] Documentation updated - [x] `CHANGELOG.md` updated - [x] Release artifacts build successfully - [x] Commits follow Conventional Commits ## Related issues - Includes changes from #88 - Includes changes from #89
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make local manual controls authoritative for coordinated breakers.
force_open(),disable(), andmetrics_only()now take precedence overcached shared
OPENandHALF_OPENstates. In particular, local overrides donot claim a shared HALF_OPEN probe lease.
In coordinated mode,
reset()now explicitly clears only the local overrideand local metrics, then resumes the cached shared state. It does not reset
Redis state cluster-wide.
Added sync and async coverage for manual controls against shared
OPENandHALF_OPEN, including effective state reporting, admission/rejection,listener transitions, and probe accounting. Documented the semantics in the
states and Redis guides.
Checklist
uv run ruff format --checkanduv run ruff checkpassuv run mypyanduv run pyrightpass forinterlock/docs/) for user-facing changesCHANGELOG.md[Unreleased]updatedRelated issues
Closes #79