From baaa938195e97293eb99db52e0d20b00d4f542ef Mon Sep 17 00:00:00 2001 From: michelligabriele Date: Fri, 13 Nov 2026 17:45:32 +0100 Subject: [PATCH 1/4] ci: baseline run of the MCP dependency resolution workflow, unchanged --- .github/workflows/test-mcp-dependency-resolution.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-mcp-dependency-resolution.yml b/.github/workflows/test-mcp-dependency-resolution.yml index 6d6b2307700a..5b0ca56bcd71 100644 --- a/.github/workflows/test-mcp-dependency-resolution.yml +++ b/.github/workflows/test-mcp-dependency-resolution.yml @@ -180,3 +180,4 @@ jobs: files: coverage-core.xml flags: core-packaging fail_ci_if_error: false +# timing baseline: workflow unchanged From f0262de32e414295deb508eeae4595b5fa6bc5ae Mon Sep 17 00:00:00 2001 From: michelligabriele Date: Fri, 13 Nov 2026 17:47:07 +0100 Subject: [PATCH 2/4] ci: build the MCP dependency resolution wheels with the ci cargo profile --- .github/workflows/test-mcp-dependency-resolution.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-mcp-dependency-resolution.yml b/.github/workflows/test-mcp-dependency-resolution.yml index 5b0ca56bcd71..0cc2fcce5060 100644 --- a/.github/workflows/test-mcp-dependency-resolution.yml +++ b/.github/workflows/test-mcp-dependency-resolution.yml @@ -42,6 +42,8 @@ jobs: resolve: runs-on: ubuntu-latest timeout-minutes: 25 + env: + MATURIN_PEP517_ARGS: "--profile ci" strategy: fail-fast: false matrix: @@ -129,6 +131,7 @@ jobs: env: UV_PYTHON: ${{ matrix.python-version }} LITELLM_LOCAL_MODEL_COST_MAP: "True" + MATURIN_PEP517_ARGS: "--profile ci" strategy: fail-fast: false matrix: @@ -180,4 +183,4 @@ jobs: files: coverage-core.xml flags: core-packaging fail_ci_if_error: false -# timing baseline: workflow unchanged +# timing run: ci cargo profile From 727e6a45140795394b91afc5c43f443212176ef2 Mon Sep 17 00:00:00 2001 From: michelligabriele Date: Fri, 13 Nov 2026 18:42:34 +0100 Subject: [PATCH 3/4] ci: build with the release profile, LTO off and 16 codegen units --- .github/workflows/test-mcp-dependency-resolution.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-mcp-dependency-resolution.yml b/.github/workflows/test-mcp-dependency-resolution.yml index 0cc2fcce5060..2e060751a8e6 100644 --- a/.github/workflows/test-mcp-dependency-resolution.yml +++ b/.github/workflows/test-mcp-dependency-resolution.yml @@ -43,7 +43,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 25 env: - MATURIN_PEP517_ARGS: "--profile ci" + CARGO_PROFILE_RELEASE_LTO: "false" + CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "16" strategy: fail-fast: false matrix: @@ -131,7 +132,8 @@ jobs: env: UV_PYTHON: ${{ matrix.python-version }} LITELLM_LOCAL_MODEL_COST_MAP: "True" - MATURIN_PEP517_ARGS: "--profile ci" + CARGO_PROFILE_RELEASE_LTO: "false" + CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "16" strategy: fail-fast: false matrix: @@ -183,4 +185,4 @@ jobs: files: coverage-core.xml flags: core-packaging fail_ci_if_error: false -# timing run: ci cargo profile +# timing run: release profile without LTO, 16 codegen units From 8bac539b3c2644b2680eb1a2f1bddcc4f62696b0 Mon Sep 17 00:00:00 2001 From: michelligabriele Date: Fri, 13 Nov 2026 19:00:45 +0100 Subject: [PATCH 4/4] ci: override the release profile to opt-level 0, LTO off, 256 codegen units --- .github/workflows/test-mcp-dependency-resolution.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-mcp-dependency-resolution.yml b/.github/workflows/test-mcp-dependency-resolution.yml index 2e060751a8e6..3a547a59a03f 100644 --- a/.github/workflows/test-mcp-dependency-resolution.yml +++ b/.github/workflows/test-mcp-dependency-resolution.yml @@ -43,8 +43,9 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 25 env: - CARGO_PROFILE_RELEASE_LTO: "false" - CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "16" + CARGO_PROFILE_RELEASE_OPT_LEVEL: "0" + CARGO_PROFILE_RELEASE_LTO: "off" + CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "256" strategy: fail-fast: false matrix: @@ -132,8 +133,9 @@ jobs: env: UV_PYTHON: ${{ matrix.python-version }} LITELLM_LOCAL_MODEL_COST_MAP: "True" - CARGO_PROFILE_RELEASE_LTO: "false" - CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "16" + CARGO_PROFILE_RELEASE_OPT_LEVEL: "0" + CARGO_PROFILE_RELEASE_LTO: "off" + CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "256" strategy: fail-fast: false matrix: @@ -185,4 +187,4 @@ jobs: files: coverage-core.xml flags: core-packaging fail_ci_if_error: false -# timing run: release profile without LTO, 16 codegen units +# timing run: release profile overridden to opt-level 0, LTO off, 256 codegen units