Repository navigation
fix: backport the third batch of rc/1.107.0 CI triage fixes from main - #47174
Merged
Merged
Conversation
…it wire tests on their own proxy (#47152) * test(integration): run the bedrock mantle prompt cache and output limit wire tests on their own proxy These two files register deployments with their own model settings on the gateway. They now boot a module-scoped proxy on a scratch database, so their setup cannot affect other tests that share the worker's proxy * test(integration): seed the isolated gateway with the same router settings as the worker gateway (cherry picked from commit 603ba6f)
…it as gone (#47148) WorkerKill returned once the victim's main thread was a zombie. On Linux the process keeps its sockets open until its last thread exits, so a pooled keep-alive connection to the killed worker still looked idle and the next request through it got ECONNRESET. A zombie now counts as gone only once num_threads() is at most 1. Where psutil cannot read threads of a zombie (macOS) it raises ZombieProcess, a NoSuchProcess, so the old behavior holds (cherry picked from commit 0431e75)
…red batches (#47170) The 48 MB budget on the third batch kept failing on the x86 release gate with no leak behind it. Isolated rc/1.107.0 and v1.105.1 stacks both grew about 60 MB on the third batch with gc-tracked objects flat, and both levelled off to a couple of MB per batch after twenty batches. Measure batches 3-4 against a 200 MB per-worker ceiling instead, which a native leak of 400 KB per failed request still trips. The stored-request size check stays the deterministic catch for the v1.100.0 leak (cherry picked from commit e0514d9)
…n a cache hit (#47144) * fix(router): read an application profile's base model from metadata on a cache hit The 1h prompt-cache pin check read base_model only from the top level of litellm_params. On a response-cache hit the params it sees carry the base model only under metadata.model_info, so an application-profile ARN resolved to itself and the pin was written for 5 minutes while the wire carried a 1h TTL. Read it through get_base_model_from_metadata, which also checks metadata.model_info * test(router): pin top-level base_model precedence over metadata model_info (cherry picked from commit 1e3641a)
yuneng-berri
had a problem deploying
to
e2e-changed
October 17, 2026 21:18 — with
GitHub Actions
Error
This branch was successfully deployed
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.
TLDR
Problem this solves:
rc/1.107.0at1738b8a169still has reds on CircleCI integration and Buildkite e2emain, this lands the third batch on the rc in one PRHow it solves it:
git cherry-pick -xof six squash commits frommain, in their merge ordermaincommit exactlyProduct fix:
Test-only fixes:
prometheus_systemon the redis chaos proxy config so the breaker metrics the chaos test reads are emittedUser Flow
Before: a team on the 1.107.0 rc routes Claude through a Bedrock application profile with the response cache on, and loses prompt cache stickiness
modelis an application profile ARN and whosemodel_info.base_modelnames the Claude modelAfter: the cache hit keeps the 1h pin
Affected release
Fixes found on the 1.107.0 rc cut
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
uv run pytest tests/unit/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or moreDelays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
The end-to-end proof for each change is in its
mainPR. The checks below show the rc tree carries each change exactly and still builds and passes around itBefore (1738b8a)
rc/1.107.0tip, none of the six commits are ancestors (git merge-base --is-ancestor <sha> origin/rc/1.107.0fails for each)After (fa8f352)
maincommit exactly, all six reportidenticalpyteston every changed unit test file plustests/unit/integration_support/test_process.pyandtests/unit/caching/test_caching_handler.pygives183 passed, 1 skippedpytest --collect-onlyon the changed integration files collects 104 tests, and on the RSS e2e test and the pin TTL integration file collects 55, with no import errorsType
🐛 Bug Fix
✅ Test
Caveats (if any)
Medium
Low
mainonly, as agreed for the conftest hardeningQA runbook
The changed e2e tests come from #47160 and #47170 unchanged. Each of those PRs carries its own runbook, and they apply here as written
Final Attestation