Skip to content

Pin CI uv version to prevent lockfile-gated test failures - #9

Draft
B0use with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-github-actions-job-test
Draft

B0use with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-github-actions-job-test

Conversation

Copilot AI commented Nov 8, 2026 •

Copy link
Copy Markdown

The test GitHub Actions job failed before pytest because uv sync --locked rejected uv.lock under a newer uv resolver. This change stabilizes CI dependency resolution so lockfile checks are deterministic across runs.

  • Root cause addressed

    • The workflow implicitly installed the latest uv, allowing resolver behavior to change independently of repository commits.
    • uv sync --locked then failed on main with: “lockfile needs to be updated”.
  • Workflow change

    • Updated .github/workflows/tests.yml to pin uv in astral-sh/setup-uv.
    • Preserves existing flow (uv sync --locked then uv run pytest) while removing tool-version drift as a failure mode.
  • Resulting behavior

    • CI now uses a fixed uv toolchain, so lockfile enforcement is tied to repo changes, not external uv releases.
- uses: astral-sh/setup-uv@v6
  with:
    version: "0.13.7"
    enable-cache: true

Co-authored-by: B0use <93870116+B0use@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job test Pin CI uv version to prevent lockfile-gated test failures Nov 8, 2026
Copilot AI requested a review from B0use November 8, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants