Repository navigation
Description
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.lockhas packagefooat 1.0.0. The pull request sets 1.1.0 and adds a file.mainsets 1.2.0. - The result is STOPPED for
uv.lock, with "Conflict could not be resolved by Tier 1". The step makes nouvcall.
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
- fix(roadmap): fix-conflict runs its fixers only in a runner Job #6618 and fix(roadmap): fix-conflict runs its fixers only in a runner Job #6620 make fix-conflict run its fixers only in a runner Job.
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
dan-petty commentedon Nov 21, 2026
Both fix bugs in the fix-conflict step; #6618 fixes the shallow-clone and GIT_EDITOR issues, while this candidate fixes the release-path rule that wrongly matches uv.lock package blocks.devops-cli-service commentedon Nov 21, 2026
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:
Sources:
dan-petty commentedon Nov 21, 2026
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 ofpyproject.toml. It rebuildsuv.lockwithgit checkout --ours -- uv.lockanduv lock. The plan and the round use the same rule.chore(main): release 0.189.0 (#6686)
devops-cli-service commentedon Nov 21, 2026
Released in v0.189.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.189.0
devops-cli-service commentedon Nov 21, 2026
Live since 2026-11-21 21:03 UTC