Repository navigation
test(e2e): backport the e2e speedup and main's CI cleanups to lts/1.108.x - #50487
Merged
Merged
Conversation
…l registration (#49984) * test(e2e): retire the quiet_stack lock quiet_stack held an exclusive host-wide lock for six tests, draining every other xdist worker while they ran. On the full e2e lane that left 35-38% of worker time idle. Each of those tests now lives where it can run without pausing the suite - the two memory tests move to perf/ behind the perf marker, so the perf lane runs them on its own fresh stack. Their refusing deployments use a literal key because the perf stack carries no provider keys - the stored-request size check from the memory test becomes an integration test on an owned proxy that stores prompts - the discount and margin spend-row tests are dropped from e2e. Their breakdown assertions join the existing integration pricing test, which already owns the discount and margin repricing flow - the Bedrock guardrail cost test stays in e2e without the pricing reset fixture, since nothing else on the stack writes pricing config now - the MCP semantic tool filter test turns on a proxy-wide setting, so it gets a new proxy_wide_config opt-in marker and runs after the main run * test(e2e): register the claude_code deployments as one batch The claude_code session fixture registered its 24 deployments one at a time on every xdist worker, and each one waited out the 15 s propagation window on its own, about 6 minutes per worker. ProxyClient.register_models posts the whole batch, polls each model until every replica serves it, then waits out propagation once from the last write. A model that fails to post or never becomes servable comes back as ModelNotRegistered, and an unservable one is deleted, so the fixture keeps reporting per-deployment failures the way it did (cherry picked from commit b18188d)
yuneng-berri
had a problem deploying
to
e2e-changed
November 7, 2026 01:31 — with
GitHub Actions
Error
yucheng-berri
approved these changes
Nov 7, 2026
…on coverage (#47154) * test(mcp): move the MCP OAuth happy path from a live Linear e2e to an integration test GitHub Actions now runs unit tests only, and the MCP OAuth happy path needed a captured Linear browser login to click through a real consent page. The OAuth flows it exercised are already integration tests against an owned authorization-server double, except one behavior: the stored per-user token must be served by a proxy process that never saw the consent, with no shared Redis to fall back on. That case is now in test_mcp_oauth_flows.py The e2e test, its owned-gateway helper, its workflow, the mcp_oauth_live marker and the JUnit gate script only that workflow used are removed * test(mcp): chat completions run an OAuth server tool with the caller's own stored token * test(e2e): drop the Linear chat-completion MCP OAuth e2e and its helpers The behavior it checked, a chat completion running an OAuth server's tool with the caller's stored per-user token, is now an integration test in test_mcp_llm_endpoints.py that needs no saved Linear browser login * test(mcp): decode the stored per-user credential as urlsafe base64 The plaintext check used b64decode, which drops the - and _ of a urlsafe value and raised on roughly one ciphertext in five * test(mcp): drop the chat OAuth integration test that duplicates test_mcp_slots F2-chat security/test_mcp_slots.py already sends a per-user OAuth token through /v1/chat/completions and asserts the peer receives it. Every mutant the new test killed was also killed by the existing suite, so it added no signal (cherry picked from commit 44fcbc3)
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> (cherry picked from commit 57ac107)
…y change that can alter the spec (#49022) * ci: run the dashboard API types check on every change that can alter the OpenAPI spec * chore: shorten the spec_pattern comment to a pointer at the CI filter * chore: drop the spec_pattern comment * docs: name the full ui-api-types trigger set in the make check header and dashboard AGENTS.md * test: check make check and CI pick the same files for the API-type sync * ci: run the Terraform provider endpoint audit on enterprise route changes * test: keep the Terraform trigger test in the mapped workflow test file --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> (cherry picked from commit e73f06e)
(cherry picked from commit 3129e44)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> (cherry picked from commit b4a80d1)
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
|
doonga
pushed a commit
to greyrock-labs/home-ops
that referenced
this pull request
Nov 10, 2026
…08.4) (#715) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/berriai/litellm](https://images.chainguard.dev/directory/image/wolfi-base/overview) ([source](https://github.com/BerriAI/litellm)) | patch | `v1.108.2` → `v1.108.4` | --- ### Release Notes <details> <summary>BerriAI/litellm (ghcr.io/berriai/litellm)</summary> ### [`v1.108.4`](https://github.com/BerriAI/litellm/releases/tag/v1.108.4): 1.108.4 (LTS) [Compare Source](BerriAI/litellm@v1.108.3...v1.108.4) > \[!TIP] > The `lts` image tag always points to the latest LTS release. Pull `ghcr.io/berriai/litellm:lts` to stay on the newest LTS patch #### Verify this release ```bash cosign verify \ --key https://raw.githubusercontent.com/BerriAI/litellm/e82a3c646908ba0a6ee0beddc4310d7a6cac4065/cosign.pub \ ghcr.io/berriai/litellm:v1.108.4 ``` Same command for `litellm-database`, `litellm-non_root` and the `docker.io/litellm/*` images #### What's new in 1.108.4 (LTS) 10 PRs. 7 fixed, 1 changed. No action needed to upgrade ##### Changes - **AWS Bedrock:** Fixed 400s from GLM, GPT-6 Luna and Nova 2 on Bedrock when the conversation carries Claude's signed thinking ([#​50399](BerriAI/litellm#50399)) - **AWS Bedrock:** Changed `/bedrock` pass-through routes to enforce the model's `guardrailConfig` over any guardrail the caller sends ([#​47429](BerriAI/litellm#47429)) - **Vertex AI and Gemini:** Fixed Vertex AI Claude batches failing with 404 at create ([#​50365](BerriAI/litellm#50365)) - **Messages API:** Fixed `chatgpt/` models on `/v1/messages` dropping encrypted reasoning between turns ([#​50456](BerriAI/litellm#50456)) - **Messages API:** Fixed `/v1/messages` to OpenAI sending `background: true` upstream, which billed full runs that came back empty ([#​50462](BerriAI/litellm#50462)) - **Embeddings, images and audio:** Fixed `/v1/videos` polls failing with per-model keys or hitting the wrong provider account with a 404 ([#​44614](BerriAI/litellm#44614)) - **Routing and fallbacks:** Fixed team keys being served by a proxy-wide wildcard instead of the team's own BYOK wildcard deployment ([#​48490](BerriAI/litellm#48490)) - **SDK:** Fixed `completion()`, `responses()` and `messages` with tools failing with `No module named 'mcp'` on a base install, broken since v1.106.0 ([#​45961](BerriAI/litellm#45961)) *** Backport [#​50568](BerriAI/litellm#50568) · Backport [#​50605](BerriAI/litellm#50605) · Backport [#​50693](BerriAI/litellm#50693) · [Full changelog](BerriAI/litellm@v1.108.3...v1.108.4) ### [`v1.108.3`](https://github.com/BerriAI/litellm/releases/tag/v1.108.3): 1.108.3 (LTS) [Compare Source](BerriAI/litellm@v1.108.2...v1.108.3) > \[!TIP] > The `lts` image tag always points to the latest LTS release. Pull `ghcr.io/berriai/litellm:lts` to stay on the newest LTS patch #### Verify this release ```bash cosign verify \ --key https://raw.githubusercontent.com/BerriAI/litellm/e82a3c646908ba0a6ee0beddc4310d7a6cac4065/cosign.pub \ ghcr.io/berriai/litellm:v1.108.3 ``` Same command for `litellm-database`, `litellm-non_root` and the `docker.io/litellm/*` images #### What's new in 1.108.3 (LTS) 11 PRs. 3 fixed. No action needed to upgrade ##### Changes - **AWS Bedrock:** Fixed every request failing on a Bedrock deployment with `api_base: ""`, which answered 500 or 400 ([#​50449](BerriAI/litellm#50449)) - **MCP:** Fixed tool results over 1 MiB failing with `SSE stream ended without a response`, broken since v1.103.0 ([#​47034](BerriAI/litellm#47034)) - **Guardrails:** Fixed model-level `post_call` guardrails checking each response twice and calling the moderation provider twice ([#​50463](BerriAI/litellm#50463)) *** Backport [#​50484](BerriAI/litellm#50484) · Backport [#​50487](BerriAI/litellm#50487) · [Full changelog](BerriAI/litellm@v1.108.2...v1.108.3) </details> --- ### Configuration 📅 **Schedule**: (in timezone America/New_York) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Reviewed-on: https://git.greyrock.io/todd/home-ops/pulls/715
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.
Handwritten 1-3 sentence description
[insert handwritten description here]
Details
TLDR
Problem this solves:
quiet_stacktestsHow it solves it:
lts/1.108.xwith-x-xpicksUser Flow
Before: an engineer qualifying an LTS cut waits on a full e2e run that mostly idles
litellm-e2eBuildkite build withlitellm_shaset to thelts/1.108.xtipAfter: the same build keeps all workers busy, and the moved checks run in their own lanes
lts/1.108.xSHA with this changeRelevant issues
Backport of #49984 (pairs with BerriAI/litellm-test-infra#34), #47154, #48473, #49022, #49472 and #49722
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 moreAdaptation notes
The pick conflicted in five files because the line was cut on 10-16, and each was resolved to the pick's own change.
tests/e2e/AGENTS.mdtakes the pick's four line edits on top of the line's text, keeping the line's longermcp/andperf/descriptions.tests/e2e/conftest.pyandtests/e2e/pytest.inidrop only thequiet_stackmarker and keepmcp_oauth_live, which the line still uses.tests/e2e/perf/test_database_upgrade.pyandtests/e2e/perf/test_ui_journeys.pyare not on the line, so their one-line marker edits are dropped. Noquiet_stackorstack_lockreference is left in the tree#47154 conflicted in the same three e2e files because #49984 landed first here, while main has them in the other order. Each resolves to main's current text, so the
mcp/line intests/e2e/AGENTS.mdnow matches main exactly and themcp_oauth_livemarker is gone. #48473 deleted two workflows the line had edited, and the deletion wins. #49722's only conflict is one sentence in theperf/line oftests/e2e/AGENTS.md, applied to the line's text. #49022 and #49472 applied cleanlyScreenshots / Proof of Fix
The proof is a full
litellm-e2ebuild at this branch's tip, compared with build 827 at the merge base. It is in progress and this section will be updated with the numbersLocal checks at
a323682345.tests/e2e_harnesspasses 635 on both the line tip and this branch, including the newTestRegisterModelscases. Collectingtests/e2egives 633 tests against 639 on the line tip: 2 are the discount and margin spend-row checks #49984 moves intotests/integration/pricing/test_cost_margin_discount.py, and 4 are the live MCP OAuth tests #47154 removes.tests/unit/test_circleci_path_filter.py,tests/unit/test_lint_workflow_diff_gates.pyandtests/unit/test_pre_commit_lint.pypass 148 here against 123 on the line tip, the extra 25 being #49022's new cases.ruff check --config ruff-tests.tomlpasses on every touched file and every workflow still parsesType
✅ Test
Caveats (if any)
Medium
tests/integration/mcp/test_mcp_oauth_flows.pyrun-ciintegration lane on this PR<3.15--no-ignoresneeds the guard moves, which touch the main-only spend-logs-guardLow
QA runbook
The tests are unchanged from #49984, so its QA runbook applies as written. The one line-specific step is to confirm a full LTS build runs
perf/test_reliability_memory_e2e.pyonly in the perf lane and the semantic tool filter test only ine2e-mf-runFinal Attestation