-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Problem
Release-please bumps version in pyproject.toml and rust/Cargo.toml but doesn't regenerate lockfiles. This leaves uv.lock and Cargo.lock with stale versions (e.g., 0.0.0 when manifests are at 0.1.0).
Current behavior
- Release-please creates PR bumping
pyproject.toml→0.2.0 uv.lockstill showsversion = "0.1.0"for cachekit- Lockfile drift until someone runs
uv synclocally
Proposed solution
Add a step to the release-please workflow that updates lockfiles after the PR is created:
- name: Update lockfiles
if: steps.release.outputs.pr
run: |
git checkout ${{ steps.release.outputs.pr_branch }}
uv lock
cd rust && cargo generate-lockfile
git add uv.lock Cargo.lock
git commit -m "chore: sync lockfiles with version bump"
git pushAlternatively, use a GitHub Action like peter-evans/create-pull-request to handle the commit cleanly.
Acceptance criteria
- When release-please bumps versions, lockfiles are updated in the same PR
- CI passes with synchronized lockfiles