Skip to content

Add interlock-cb to third party packages - #1111

Merged
Kludex merged 1 commit into
pydantic:mainfrom
bagowix:docs/add-interlock
Aug 5, 2026
Merged

Add interlock-cb to third party packages#1111
Kludex merged 1 commit into
pydantic:mainfrom
bagowix:docs/add-interlock

Conversation

@bagowix

@bagowix bagowix commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Adds interlock-cb to 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-pytest and pytest-HTTPX.

Disclosure: I'm the author of the package.

Review in cubic

@codspeed-hq

codspeed-hq Bot commented Aug 4, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 15 untouched benchmarks
⏩ 7 skipped benchmarks1


Comparing bagowix:docs/add-interlock (7afd031) with main (eac8ad4)

Open in CodSpeed

Footnotes

  1. 7 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

@Kludex
Kludex merged commit f44f9ab into pydantic:main Aug 5, 2026
14 checks passed
@Kludex

Kludex commented Aug 5, 2026

Copy link
Copy Markdown
Member

Thanks!

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