Repository navigation
fix(#1217): uv ciInstall uses uv sync --frozen with uv.lock, else requirements or skip - #1224
Merged
admarble merged 2 commits intoSep 30, 2026
Conversation
Entire-Checkpoint: 6e8b746466e7
… worktree-manager Folds in the two repository_gap findings from qa: sibling comments at worktree-manager.ts said only pip reaches CI_INSTALL_SKIP. Entire-Checkpoint: 45aa02b3899b
3 tasks
admarble
deleted the
feature/1217-fix-stacks-uv-ciinstall-is-a-bare-uv-pip-install-q
branch
September 30, 2026 04:57
This was referenced Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
resolvePackageManagerConfignow resolves uv'sciInstallper-directory, mirroring fix(worktree): TS provisioning runsnpm ci/pip install -qin repos with no manifest to install from — the shell path guards, TS doesn't #1196's pip fix:uv sync --frozenwhenuv.lockexists, otherwiseuv pip install -q -r <requirements file>via the existingfindRequirementsFile, otherwiseCI_INSTALL_SKIP.PM_CONFIG.uv.ciInstall(the static"uv pip install -q"entry) is left untouched, same as pip's.CI_INSTALL_SKIPJSDoc so it no longer implies pip is the only manager that resolves to the sentinel.AC verification
uv.lockpresent →ciInstall === "uv sync --frozen"src/lib/stacks.tsresolverpm === "uv"branch;stacks.test.ts"uv (#1217 AC-1, AC-2)"uv.lock→ falls back like pip, never bareuv pip install -qfindRequirementsFile; tests cover requirements file, alphabetical fallback, and skip casesCI_INSTALL_SKIPdoc comment no longer pip-onlystacks.test.ts"CI_INSTALL_SKIP doc comment (#1217 AC-3)", mutation-verified belowMutation-verified: AC-3 — reverted the JSDoc comment text;
src/lib/stacks.test.ts > resolvePackageManagerConfig > CI_INSTALL_SKIP doc comment (#1217 AC-3) > no longer says pip is the only manager that resolves to itfailed; restored.Also dropped
uvfrom the "leaves every non-yarn, non-pip package manager untouched" identity-check loop (now "non-yarn, non-pip, non-uv") since uv now gets a directory-aware override too, per the /spec plan's note.Runner verification (graph #1203)
QA returned
NEEDS_VERIFICATION(3/3 ACs met). The runner discharged it:timeout 600 npx vitest run src/lib/stacks.test.tsin the worktree: 144 passed. Ran again withworktree-manager.test.tsandworktree-manager.frozen-install.test.tsafter the follow-up commit: 168 passed.tsc --noEmitclean.uv pip install -q— useuv sync --frozenwith uv.lock, else requirements or skip #1217 JSDoc made exactlysrc/lib/stacks.test.ts > resolvePackageManagerConfig > CI_INSTALL_SKIP doc comment (#1217 AC-3) > no longer says pip is the only manager that resolves to itfail (1 failed / 143 passed); restored.pyproject.toml+uv lock,uv sync --frozenexits 0 and creates.venv(AC-1). With arequirements.txtand no lock,uv pip install -q -r requirements.txtexits 0 (AC-2).repository_gapfindings (eb66deb): a CHANGELOG### Fixedentry, and the twoworktree-manager.tscomments that still said only pip reachesCI_INSTALL_SKIP.Known limitation, per the AC text, not changed here: the no-lock fallback
uv pip install -q -r <file>has no project venv. It installs into whatever environment uv discovers (an activeVIRTUAL_ENVor conda env, here conda base), and fails if there is none. #1196's pip fallback behaves the same way. Theuv.lockpath,uv sync --frozen, is the lockfile-faithful one.Refs #1203
Test plan
timeout 600 npx vitest run src/lib/stacks.test.ts— 144 passednpm run build— passednpm run lint— passedCloses #1217
🤖 Generated with Claude Code