Skip to content

ci: install with uv sync --locked so a stale uv.lock fails the run - #446

Merged
allen0099 merged 1 commit into
masterfrom
claude/lucid-archimedes-4gzb2o-240-locked
Oct 8, 2026
Merged

allen0099 merged 1 commit into
masterfrom
claude/lucid-archimedes-4gzb2o-240-locked

Conversation

@allen0099

Copy link
Copy Markdown
Owner

Fixes #240

Summary

  • uv sync → uv sync --locked in test.yml, lint.yml, coverage.yml, lowest.yml and release.yml. A pull request that changes a dependency in pyproject.toml without committing the relocked uv.lock now fails instead of re-resolving quietly on the runner. docs.yml and .readthedocs.yaml keep --frozen, as before.
  • DEVELOPMENT.md says so next to the uv-lock pre-commit hook paragraph.
  • Verified locally that the current lock passes uv sync --locked --group dev --all-extras.

CI-only change, nothing under fastapi_cachex/, so no changelog fragment.

Checklist

  • The issue above is assigned to me
  • Tests under tests/ cover the change (not applicable: workflow change)
  • A changelog fragment changelog.d/<issue>.<section>.md (required for any change under fastapi_cachex/) (not applicable)
  • uv run pre-commit run --all-files and uv run pytest pass

🤖 Generated with Claude Code

https://claude.ai/code/session_01UTXhK1BtwXTBDaouEcKtpW


Generated by Claude Code

)

Plain `uv sync` re-resolves quietly when `pyproject.toml` and `uv.lock`
disagree, so a pull request that changed a dependency without relocking
passed CI and left master's lock stale. `--locked` makes that a failure
in the test, lint, coverage, lowest and release workflows; docs builds
already used `--frozen`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UTXhK1BtwXTBDaouEcKtpW
@allen0099
allen0099 merged commit 55b7ea0 into master Oct 8, 2026
13 checks passed
@allen0099
allen0099 deleted the claude/lucid-archimedes-4gzb2o-240-locked branch October 8, 2026 06:17
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.

CI: run uv sync --locked so a stale uv.lock fails the pull request

2 participants