Skip to content

fix: Extend update-uv-lock workflow to SDKs#1036

Merged
edwinjosechittilappilly merged 1 commit into
mainfrom
fix-uv-lock-issue
Feb 26, 2026
Merged

fix: Extend update-uv-lock workflow to SDKs#1036
edwinjosechittilappilly merged 1 commit into
mainfrom
fix-uv-lock-issue

Conversation

@edwinjosechittilappilly

Copy link
Copy Markdown
Collaborator

Include sdks/python and sdks/mcp in the update-uv-lock workflow: add their pyproject.toml to the workflow triggers, run uv sync in each SDK directory, and include their uv.lock files in the change detection and commit steps. Update messages and commit text to reference the multiple uv.lock files so SDK lockfiles are kept in sync on version bumps.

Include sdks/python and sdks/mcp in the update-uv-lock workflow: add their pyproject.toml to the workflow triggers, run `uv sync` in each SDK directory, and include their uv.lock files in the change detection and commit steps. Update messages and commit text to reference the multiple uv.lock files so SDK lockfiles are kept in sync on version bumps.
@github-actions github-actions Bot added ci ⬛ CI/CD, build, and infrastructure issues bug 🔴 Something isn't working. labels Feb 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Extends the existing update-uv-lock GitHub Actions workflow so SDK Python projects’ lockfiles are also regenerated and committed when their pyproject.toml changes, keeping dependency lockfiles aligned with version bumps.

Changes:

  • Added sdks/python/pyproject.toml and sdks/mcp/pyproject.toml to workflow path triggers.
  • Ran uv sync in sdks/python and sdks/mcp to update their uv.lock files.
  • Updated change detection and commit steps to include all three uv.lock files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 54 to +60
- name: Commit and push uv.lock
if: steps.changes.outputs.changed == 'true'
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add uv.lock
git commit -m "chore: update uv.lock after version bump [skip ci]"
git add uv.lock sdks/python/uv.lock sdks/mcp/uv.lock
git commit -m "chore: update uv.lock files after version bump [skip ci]"

Copilot AI Feb 26, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The step name "Commit and push uv.lock" is now misleading since this workflow commits multiple lockfiles (root + SDKs). Rename the step (and optionally the job/workflow name) to reflect that it commits/pushes all uv.lock files, so the Actions logs remain accurate.

Copilot uses AI. Check for mistakes.

@lucaseduoli lucaseduoli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions Bot added the lgtm label Feb 26, 2026
@edwinjosechittilappilly edwinjosechittilappilly merged commit 0d09416 into main Feb 26, 2026
14 checks passed
@github-actions github-actions Bot deleted the fix-uv-lock-issue branch February 26, 2026 20:45
@mpawlow mpawlow removed their request for review February 26, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🔴 Something isn't working. ci ⬛ CI/CD, build, and infrastructure issues lgtm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants