Add interlock-cb to third party packages - #1111
Conversation
Merging this PR will not alter performance
Comparing Footnotes
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7afd031591
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| Provides a [pytest](https://docs.pytest.org/en/latest/) fixture to mock HTTPX within test cases. | ||
| This package is fork of the [pytest-httpx](https://github.com/Colin-b/pytest_httpx) package that compatible with httpx2 | ||
|
|
||
| ### interlock-cb |
There was a problem hiding this comment.
Restore engineer-only authorship
This commit is recorded with Author: Codex <codex@openai.com> and Commit: Codex <codex@openai.com> (checked via git show --no-patch --format=fuller 425c9abc492ee1026082d2f7adeb6aae8fda7e49), so publishing this docs addition would attribute the change to the coding agent instead of only the engineer; recreate the commit with the engineer as the sole author/committer before merging.
Useful? React with 👍 / 👎.
|
Thanks! |
Adds
interlock-cbto the Plugins section of the third party packages page.It mounts as an httpx2 transport and keeps one circuit breaker per host, so once a host starts failing, calls to it are rejected immediately instead of waiting out every timeout. It trips on the failure rate over a sliding window and on slow responses, so a host that degrades without erroring is caught too.
The entry is placed alphabetically, between
httpx2-pytestandpytest-HTTPX.Disclosure: I'm the author of the package.