Repository navigation
ci: run every CircleCI check from the integration workflow - #45938
Merged
Merged
Conversation
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
# Conflicts: # .circleci/config.yml
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…not page them out
The shared playwright.config.ts also drives the Buildkite UI suite, where 3 workers ran out of memory on one of two runs. Buildkite keeps main's 1 worker and 2 retries
yuneng-berri
approved these changes
Oct 11, 2026
yuneng-berri
left a comment
Contributor
There was a problem hiding this comment.
Coverage residual justified, moved jobs green, Playwright runs in under ten minutes, and remaining providers reds also flake on main
5 of 6 tasks
This was referenced Oct 21, 2026
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:
build_and_testworkflow next tointegrationprovider_replay_harnesswere one-off legacy jobsHow it solves it:
integrationmigration_startupandrouting_parityintointegrationbehind parameter filterstests/pass_through_testsandprovider_replay_harnessafter a coverage auditPre-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 more@greptileaito re-request a review after pushing changes)Screenshots / Proof of Fix
This PR only moves CI jobs and tests, so the proof is that coverage is kept, the moved jobs pass, and nothing new goes red or flaky
CI shape
integrationruns on every push with 41 jobs, andmigration_startup_scheduledkeeps its own 6 hourmaincron, since a legacytriggersworkflow cannot also run on pushbuild_docker_database_image,proxy_logging_guardrails_model_info_tests,db_migration_disable_update_check,test_bad_database_url,helm_chart_testing,e2e_ui_testingande2e_ui_testing_server_root_pathrun inintegrationwith their steps andrequireskeptnot pipeline.parameters.run_migration_tests and pipeline.parameters.routing_parity_base == "", the migration jobs carrypipeline.parameters.run_migration_tests, androuting_paritycarriespipeline.parameters.routing_parity_base != ""circleci config validatepasses, and a job by job diff against main shows only the moves above plus main's own resource class changesprovider_replay_harnessis gone. Its two files run in thepythonjob oftest-linting.ymlassert_ci_coverage.pypasses in default,--shardsand--slicesmodesPlaywright
e2e_ui_buildbuilds the dashboard once and both UI jobs attach it.e2e_ui_testingpasses--workers=3 --retries=0on its command and runs on one xlarge machine. Main ran the same suite with 1 worker in about 40 minutesplaywright.config.tsstays as it is on main because the Buildkite UI suite reads it too. An earlier head set 3 workers there, and one of its two Buildkite runs was OOM-killed, so Buildkite keeps 1 worker and 2 retries. The Buildkite UI suite passed on this headkeyBudgetWindowfailedkeyBudgetWindowfailedkeyBudgetWindowflaky (passed on retry)keyBudgetWindowflaky (passed on retry)keyBudgetWindowalso flakes on main. #41350 fixes the product side (a background refresh can wipe the edit draft), so the spec getsretries: 2with a TODO pointing there. The Reset Filters case inlogsFilters.spec.tssearched for a row that more workers pushed past the first page, so it now searches by request idPass-through Jest suite audit
test_gemini_with_spend.test.jsstreaming with tagstests/integration/observability/test_passthrough_upstream_error_visibility.py::test_gemini_streaming_passthrough_request_tags_reach_spend_logtest_vertex.test.jsstreamingstreamGenerateContentforwards the body and streams the replytest_vertex_passthrough_forwards_body_and_request_tags_to_spend_payload[streamGenerateContent-True], plus the existing Google native streaming e2etest_vertex.test.jsnon-streaminggenerateContentreturns the replytests/e2e/llm_translation/test_vertex_passthrough_e2e.pytest_vertex_with_spend.test.jswith tagstest_gemini.jsandtest_local_*.jsnever matched Jest's*.test.jspattern, so they never ran. Both new tests went red when the request-tag guard in_update_metadata_with_tags_in_headerwas invertedCoverage preservation
A is a local run of the legacy Jest suite at the merge base
2a01fe6e5cagainst a proxy undercoverage. Gemini passed there and the 4 Vertex cases failed for lack of Vertex credentials, so A undercounts the Vertex path. B is the new unit and integration tests on this branch. C is main's other Codecov flags at the same SHAexample_config_yaml/custom_auth_basic.py, an example config the legacy proxy loaded, and nothing tests itllm_passthrough_endpoints.py:372is the Gemini streaming check. The new Gemini integration test goes through it and passed in CircleCI, but my local B run of that test was degraded, so this line is inferred from the code path, not measuredpass_through_endpoints.py:3467ran only because the local legacy proxy had no Azure target set, so it is a local setup artifactFlakiness and reds
run.py extensionsruns with order seeds 1001 to 1003, and the moved proxy startup test passed 3run.py managementruns. The new Vertex unit cases passed 5 serial runs, and their whole file passed 642 of 642 underpytest-randomlyseeds 1, 2 and 3integration-extensions,integration-providersandintegration-mcp, each time in a different test and never in a file this PR touchesintegration-mcpfails the same way on main at the merge base (services never became ready, main run at 05:09 PT) and passed on this headintegration-extensionspassed all 1415 tests on this head after a rerun. Its earlier failures were timing checks in the logging-only scope files, one of which also failed on main at 05:09 PTintegration-providersfailed one or two different tests on each run (a 429 retry spend log wait, an Anthropic pre-content retry, a team TPM reservation, a Bedrock embedding wire check). Main flaked the same Anthropic retry test on its 23:09 PT runType
🚄 Infrastructure
✅ Test
Caveats (if any)
Low
keyBudgetWindow.spec.tsretries twice until fix(ui): preserve key settings drafts during background refreshes #41350 landsmigration_startup_scheduledstays a separate workflow, so CircleCI has two workflows, not onetest_passthrough_upstream_error_visibility.pynext to the Gemini helpersFinal Attestation