Skip to content

fix(roadmap): fix-conflict stops on almost every uv.lock conflict #6623

Description

@dan-petty

Problem

fix-conflict stops almost every conflict in uv.lock before tier 1 runs. _has_release_path_conflict gives the diff of each conflicted path to is_release_path (src/devops_cli/roadmap/steps/fix_conflict.py:168). The rule stops a diff that has a version = line, for each path. Each package block of uv.lock has a version = line. So a conflict on a package block almost always matches, the round stops with "Conflict could not be resolved by Tier 1", and uv lock does not run.

Tier 1 does not merge uv.lock by hand. It takes the copy of the default branch and runs uv lock again. uv lock takes the version of the project from pyproject.toml. The same diff rule applies to pyproject.toml, so a conflict on the project version there still stops.

Evidence

A probe on #6620 at head 90f36f8, in a runner Job double:

  • The base uv.lock has package foo at 1.0.0. The pull request sets 1.1.0 and adds a file. main sets 1.2.0.
  • The result is STOPPED for uv.lock, with "Conflict could not be resolved by Tier 1". The step makes no uv call.

The fixtures of the tests avoid this case: their conflicted lines are not version = lines.

Decision needed

The release rule (#5019) is a guard. A person decides if the rule can skip the diff of uv.lock, which tier 1 makes again from the copy of the default branch.

Related

Source

Source: #6620

Alternatives check of 2026-11-21: in-use.
The repository already uses this tool.
Tool: astral-sh/uv (https://github.com/astral-sh/uv), Apache-2.0, last activity 2026-11-21, maintained.
Reason: Searches found no tool that classifies release-path diffs or handles uv.lock conflicts; uv, already run by tier 1, regenerates the lock from pyproject.toml, so it covers the resolution but not the guard that wrongly stops.

Covers:

  • Regenerates uv.lock from pyproject.toml
  • Resolves versions with no hand merge of the lock
  • Runs in tier 1 after the conflict step

Lacks:

  • No classification of release-path diff lines
  • No rule to skip uv.lock conflicts
  • Cannot tell a version bump from a release change

Activity

  1. added
    type/bug
    source/agent
    scope/roadmap
    status/new
    on Nov 21, 2026
  2. dan-petty commented on Nov 21, 2026

    @dan-petty
    OwnerAuthor
  3. added
    value/medium
    effort/low
    priority/p2-medium
    on Nov 21, 2026
  4. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.

    Searches (9)

    Tools considered:

    Searches run:

    • git merge driver regenerate lockfile on conflict uv.lock, results: 5
    • uv lock merge conflict resolution tool git, results: 5
    • "merge driver" lockfile git regenerate lock file, results: 5
    • npm-merge-driver automatic lockfile conflict resolution, results: 5
    • uv lock documentation astral, results: 5
    • git-merge-driver github repository, results: 5
    • Python dependency lock file merge tool, results: 5
    • lockfile conflict resolution automation open source, results: 5
    • mergiraf syntax-aware merge driver TOML, results: 5

    Sources:

  5. dan-petty commented on Nov 21, 2026

    @dan-petty
    OwnerAuthor

    Owner decision (2026-11-21, direct answer): change the guard to a path rule. A round stops on CHANGELOG.md, the release-please files and a conflict on the version line of pyproject.toml. It rebuilds uv.lock with git checkout --ours -- uv.lock and uv lock. The plan and the round use the same rule.

  6. added
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 21, 2026
  7. removed
    status/in-review
    owner/agent
    on Nov 21, 2026
  8. added a commit that references this issue on Nov 21, 2026
  9. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-21 21:03 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions