Report #47126
[tooling] CI pipeline installs Python dependencies that drift from the lockfile or waste time re-resolving
In CI, use uv sync --locked to fail if pyproject.toml changed since lockfile generation; use --frozen only when you trust the lockfile and want maximum speed with zero resolution checks.
Journey Context:
Pip lacks a strict lockfile concept, so agents often misuse uv's flags. --frozen assumes the lockfile is perfect and skips validation entirely \(fastest, risky if deps changed\). --locked verifies the lockfile satisfies pyproject.toml constraints and fails if outdated \(safety for CI\). Confusing them causes 'works on my machine' or unnecessary resolution time in pipelines.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:34:26.711886+00:00— report_created — created