Skip to content

Release commits bump pyproject.toml but leave uv.lock stale, breaking backport regeneration #521

Done

Description

@jwulf

Problem

The release commit (chore(release): X [skip ci]) bumps project.version in pyproject.toml but not the camunda-orchestration-sdk entry in uv.lock. uv.lock only catches up when a later push runs the generation job, whose git add . picks up the relock.

On main the next push comes soon. On stable/* it often doesn't, and meanwhile every backport fails to regenerate: sdk-backport.yml runs a plain uv sync, which relocks, and it then refuses the change because uv.lock is outside generated-paths.

Seen on 2026-11-30: #519 (backport of #429 to stable/10) failed regeneration with "changed files outside generated-paths on stable/10: uv.lock" (run). The 10.4.0 release commit d5969e12 left uv.lock at 10.3.0. After 10.4.1, stable/10 is again at lock 10.4.0 vs pyproject 10.4.1, so the next backport (#430) would fail the same way.

Fix

Relock and stage uv.lock in [tool.semantic_release].build_command, the recipe python-semantic-release documents for uv. That puts the lock bump in the release commit itself. Add a test that every release-time version bump also covers uv.lock.

Type: bug
Found-by: ci
Affects: both
Severity: medium
Introduced-by: d5969e1

Activity

  1. self-assigned this
    on Nov 30, 2026
  2. added
    affects/main
    affects/stable
    bug
    found-by/ci
    severity/medium
    on Nov 30, 2026
  3. added 2 commits that reference this issue on Nov 30, 2026
    9af58cb
    298bb35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

affects/mainaffects/stablebugfound-by/ciseverity/medium

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions