Skip to content

ci(integration): point gateway build step at the moved litellm/packaging/litellm-proxy - #51761

Closed
maciej-berri wants to merge 1 commit into
mainfrom
litellm_fix_integration_gateway_path
Closed

maciej-berri wants to merge 1 commit into
mainfrom
litellm_fix_integration_gateway_path

Conversation

@maciej-berri

@maciej-berri maciej-berri commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Handwritten 1-3 sentence description

[insert handwritten description here]

Details

TLDR

Problem this solves:

How it solves it:

  • Set working-directory to litellm/packaging/litellm-proxy
  • Bump ../../.venv to ../../../.venv for the deeper directory

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests
  • The handful of test files covering my change pass locally, e.g. 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
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • Every automated review on my PR's latest commit has finished, and I have addressed or replied to each of its findings before requesting a maintainer review

Delays 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

E2E exception at 3dd2d46. The scope is one CI workflow step, and the change is a mechanical path update after #51000 moved the package one level deeper. There is no proxy behavior to exercise, so the proof is the integration workflow itself on this PR. litellm/packaging/litellm-proxy/pyproject.toml already points its manifest-path at ../../rust/..., which resolves to litellm/rust from the new location, and test-unit.yml already builds from the same directory. A grep of .github/ found no other stale packaging/litellm-proxy references.

Before, on main's scheduled run 43517292776, both integration management and integration management-replica failed at "Install the Rust gateway" with "An error occurred trying to start process '/usr/bin/bash' with working directory '.../packaging/litellm-proxy'. No such file or directory".

After, on this PR's run 43539733787 at 3dd2d46, "Install the Rust gateway" completed with success on both integration management and integration management-replica, so the wheel builds and litellm-gateway lands in the repo root .venv.

Type

🚄 Infrastructure

Caveats (if any)

High

  • integration management and management-replica fail 3 test_rust_forward.py GATEWAY cases
    • Hidden on main since the build step never ran
    • chore: move scripts and runtime sources under litellm #51006 moved gateway/ to litellm/runtime/gateway
    • Harness runs python -I -m gateway.launch, and -I ignores PYTHONPATH, so gateway cannot be imported
    • All passed on the last green main run before the move (job 130968458394)
    • Needs a decision on how the gateway package becomes importable, so not fixed here

Medium

  • Suites failing the same tests as main run 43517292776, unrelated to this change
    • sdk, accounting, extensions, database, database-replica
  • providers failed two chaos tests main did not (test_owned_redis_outage_recovers_requests_and_real_response_cache, test_generated_tcp_partitions_preserve_unicode_text_identity_and_final_usage)
    • That suite never runs the changed step, so its setup is identical to main
  • Management suites also failed tests with no post-move baseline
    • test_team_update_raising_rpm_limit_is_enforced_by_peer (both management suites)
    • test_member_add_blocked_by_delete_writes_no_dangling_reference (management-replica)
    • Both passed on the last green main run, unclear if flaky or regressed

🤖 Generated with Claude Code

https://claude.ai/code/session_01Bne5zPAJYZVcdPWNQqz78K

…ing/litellm-proxy

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Bne5zPAJYZVcdPWNQqz78K
@maciej-berri
maciej-berri requested a review from a team November 14, 2026 01:17
@maciej-berri maciej-berri added the run-ci label Nov 14, 2026 — with Claude
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@veria-ai

veria-ai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

No security issues were found in this pull request.

Reviews

Copy link
Copy Markdown
Contributor Author

integration sdk fails on test_completion_reaches_its_deployment_while_another_thread_upserts_an_earlier_one, which fails identically on main's scheduled run 43517292776, so unrelated here.


Generated by Claude Code

Copy link
Copy Markdown
Contributor Author

integration accounting fails on test_renaming_a_subpath_endpoint_moves_both_routes_keeps_stored_fields_and_never_forwards_caller_headers, identical to main's run 43517292776, so unrelated.


Generated by Claude Code

@codecov

codecov Bot commented Nov 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor Author

integration management now reaches test_rust_forward GATEWAY cases, which fail because #51006 moved gateway/ and python -I -m gateway.launch cannot import it.


Generated by Claude Code

Copy link
Copy Markdown
Contributor Author

extensions, database and database-replica match main. Two providers chaos tests differ, but that suite skips the changed step. management-replica repeats the rust_forward failures.


Generated by Claude Code

@mateo-berri

Copy link
Copy Markdown
Contributor

Closing this since main already has the same change from #51743. Thanks for putting it together, and comment here if something is still missing

This branch was previously deployed

1 inactive deployment
integration-license — 3dd2d461 Deployed Nov 14, 2026 by maciej-berri via integration security #219
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants