fix(ci): refresh uv.lock before prek to fix stacked PR breakage#302
fix(ci): refresh uv.lock before prek to fix stacked PR breakage#302ichoosetoaccept merged 1 commit intomainfrom
Conversation
After semantic-release bumps the version on main, remaining stacked branches have a stale uv.lock. Add a uv lock step before prek in CI and skip the redundant uv-lock hook to prevent false failures. Resolves DOT-474
|
This change is part of the following stack: Change managed by git-spice. |
Greptile SummaryThis PR fixes stacked-PR breakage by running Confidence Score: 5/5Safe to merge — change is narrowly scoped to CI steps with no runtime or template logic impact. All findings are P2 (a missing companion test). The core logic — run tests/test_template.py — lacks a test asserting the new Important Files Changed
Sequence DiagramsequenceDiagram
participant GH as GitHub Actions
participant UV as uv lock
participant PREK as prek-action
GH->>GH: checkout branch (stale uv.lock)
GH->>UV: run uv lock
UV-->>GH: uv.lock refreshed (version bump applied)
GH->>PREK: run prek --all-files
Note over PREK: SKIP includes uv-lock<br/>(already refreshed above)
PREK-->>GH: hooks pass
|
After semantic-release bumps the version on main, remaining stacked
branches have a stale uv.lock. Add a uv lock step before prek in CI
and skip the redundant uv-lock hook to prevent false failures.
Resolves DOT-474
Closes #