From 65ee00c828de6000220c301a11143e3ee0d51be3 Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Tue, 10 Nov 2026 10:16:55 -0800 Subject: [PATCH] ci(mcp): build the Rust bridge in the dev profile and skip the unused gateway build Both jobs compiled the bridge in the release profile (fat LTO, one codegen unit) while the cargo cache holds only dev-profile builds, core-distribution compiled it twice from fresh sdist folders, and resolve also compiled the litellm-proxy gateway it never installs --- .github/workflows/test-mcp-dependency-resolution.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-mcp-dependency-resolution.yml b/.github/workflows/test-mcp-dependency-resolution.yml index 20efb351985..906619c5aee 100644 --- a/.github/workflows/test-mcp-dependency-resolution.yml +++ b/.github/workflows/test-mcp-dependency-resolution.yml @@ -38,6 +38,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} +env: + CARGO_TARGET_DIR: ${{ github.workspace }}/litellm-rust/target + MATURIN_PEP517_ARGS: --profile dev --strip + jobs: resolve: runs-on: ubuntu-latest @@ -96,9 +100,12 @@ jobs: (cd "$RUNNER_TEMP" && "$GITHUB_WORKSPACE/.venv-$extra/bin/python" "${checker[@]}") done - - name: Build the public wheel + - name: Build the public wheels if: steps.changes.outputs.decision != 'skip' - run: uv build --all-packages --wheel --out-dir dist/mcp-check + run: | + for package in litellm litellm-enterprise litellm-proxy-extras; do + uv build --package "$package" --wheel --out-dir dist/mcp-check + done - name: Check lowest direct runtime installations if: steps.changes.outputs.decision != 'skip'