Skip to content

Avoid pip cache files in the service checkout - #15

Merged
batteryshark merged 1 commit into
mainfrom
fix/installer-cache
Oct 26, 2026
Merged

batteryshark merged 1 commit into
mainfrom
fix/installer-cache

Conversation

@batteryshark

Copy link
Copy Markdown
Owner

Fix

The Linux installer's service account uses the checkout as its home directory. Pip's default HTTP cache therefore creates an untracked .cache/pip under the checkout, causing a subsequent clean-worktree upgrade preflight to refuse to proceed.

Pass --no-cache-dir to the dependency installation command. Existing caches are not deleted or hidden; operators can preserve/move them outside the checkout before retrying a clean-worktree upgrade.

Verification

  • Regression test executes the actual dependency-install command with stand-ins, checking that the cache-disable option reaches pip without running privileged installation, downloads or services.
  • Deployment/private-write tests: 10 passed.
  • Installer shell syntax and diff whitespace checks passed.

No runtime, secret-provider or UI changes.

@batteryshark
batteryshark merged commit 5a12e46 into main Oct 26, 2026
1 check passed
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.

1 participant