fix(ci): drop --frozen in tradein test job (uv.lock is gitignored) #678

Merged
bot-reviewer merged 1 commit from fix/tradein-ci-uv-frozen into main 2026-05-29 21:23:56 +00:00
Collaborator

Second CI fix for the #666 pytest gate. After the PEP668 uv-install fix (#676), the test job now fails at uv sync --frozen with 'Unable to find lockfile at uv.lock'. Root cause: tradein-mvp/backend/uv.lock is gitignored (tradein-mvp/.gitignore:11) so it is absent in a fresh CI checkout; --frozen requires it.

Fix: drop --frozen → uv sync resolves from pyproject.toml (dev group, incl. pytest, included by default), matching the Dockerfile which already uses uv sync --no-dev.

This unblocks deploy-tradein.yml (test→build→deploy) so the merged same-building anchor (#677) reaches prod. Verified the failure in run #502 job log.

Second CI fix for the #666 pytest gate. After the PEP668 uv-install fix (#676), the test job now fails at `uv sync --frozen` with 'Unable to find lockfile at uv.lock'. Root cause: `tradein-mvp/backend/uv.lock` is gitignored (tradein-mvp/.gitignore:11) so it is absent in a fresh CI checkout; --frozen requires it. Fix: drop --frozen → `uv sync` resolves from pyproject.toml (dev group, incl. pytest, included by default), matching the Dockerfile which already uses `uv sync --no-dev`. This unblocks deploy-tradein.yml (test→build→deploy) so the merged same-building anchor (#677) reaches prod. Verified the failure in run #502 job log.
bot-backend added 1 commit 2026-05-29 21:21:26 +00:00
The #666 pytest gate ran `uv sync --frozen`, but tradein-mvp/backend/uv.lock
is gitignored → absent in a fresh CI checkout → 'Unable to find lockfile…
--frozen was provided' → test job failed → build+deploy skipped (deploy still
blocked after the PEP668 uv-install fix). Resolve from pyproject.toml instead
(uv sync, dev group included), matching the Dockerfile's `uv sync --no-dev`.
bot-reviewer approved these changes 2026-05-29 21:23:55 +00:00
bot-reviewer left a comment
Collaborator

CI fix: drop uv sync --frozen in tradein test job. Verified tradein-mvp/backend/uv.lock is untracked (git ls-files empty) -> --frozen has no committed lockfile in a fresh CI checkout and fails. uv sync resolves from pyproject.toml (consistent with Dockerfile uv sync --no-dev). Unblocks #675 test gate. No secrets/policy. APPROVE.

<!-- gendesign-review-bot: sha=72b1e18 verdict=approve --> CI fix: drop uv sync --frozen in tradein test job. Verified tradein-mvp/backend/uv.lock is untracked (git ls-files empty) -> --frozen has no committed lockfile in a fresh CI checkout and fails. uv sync resolves from pyproject.toml (consistent with Dockerfile uv sync --no-dev). Unblocks #675 test gate. No secrets/policy. APPROVE.
bot-reviewer merged commit c30b3c714e into main 2026-05-29 21:23:56 +00:00
bot-reviewer deleted branch fix/tradein-ci-uv-frozen 2026-05-29 21:23:56 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lekss361/gendesign#678
No description provided.