From 9c64cb7136302cbc4a3e43bc41bed8e071045742 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Wed, 18 Mar 2026 14:15:43 -0400 Subject: [PATCH] ci: add `--frozen` to uv sync/run in `refresh_model_profiles` (#36087) `--no-group test --no-group dev --no-group lint` only controls which groups get *installed*; uv still resolves the full dependency graph (all groups) and tries to generate metadata for editable sources like `../langchain_v1`. In a sparse checkout these paths don't exist. `--frozen` skips re-resolution entirely and uses the existing lock, so the missing editable paths are never accessed. --- .github/workflows/_refresh_model_profiles.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_refresh_model_profiles.yml b/.github/workflows/_refresh_model_profiles.yml index 4fefd1a6254..9976b1b73d3 100644 --- a/.github/workflows/_refresh_model_profiles.yml +++ b/.github/workflows/_refresh_model_profiles.yml @@ -128,7 +128,7 @@ jobs: - name: "📦 Install langchain-profiles CLI" working-directory: ${{ steps.cli.outputs.dir }} - run: uv sync --no-group test --no-group dev --no-group lint + run: uv sync --frozen --no-group test --no-group dev --no-group lint - name: "✅ Validate providers input" env: @@ -154,7 +154,7 @@ jobs: provider=$(echo "${row}" | jq -r '.provider') data_dir=$(echo "${row}" | jq -r '.data_dir') echo "--- Refreshing ${provider} -> ${data_dir} ---" - if ! echo y | uv run --project "${cli_dir}" \ + if ! echo y | uv run --frozen --project "${cli_dir}" \ langchain-profiles refresh \ --provider "${provider}" \ --data-dir "${GITHUB_WORKSPACE}/${data_dir}"; then