Quickly sandbox your AI agent.
Python
Isolate release build caches between attempts
Tyler Payneaeed34244de2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex f6ca462..0f3a6c5 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -101,6 +101,7 @@ jobs:UVR_PLAN: ${{ inputs.plan }}UVR_RUNNER: ${{ toJSON(matrix.runner) }}QUICKSAND_AUTO_INSTALL: "1"+ UV_CACHE_DIR: ${{ runner.temp }}/quicksand-uv-${{ github.run_id }}-${{ github.run_attempt }}-${{ strategy.job-index }}run: |uv venv --seed --clearuv sync --package quick-sandbox --all-extras --group devdiff --git a/docs/contributor-guide/04-releasing.md b/docs/contributor-guide/04-releasing.mdindex 13b4820..d527480 100644--- a/docs/contributor-guide/04-releasing.md+++ b/docs/contributor-guide/04-releasing.md@@ -40,6 +40,12 @@ Build jobs use uv 0.12.13 and install `quick-sandbox`, its extras, and the explinot needed to build wheels and are intentionally excluded from this bootstrapenvironment.+Each build job uses an isolated `UV_CACHE_DIR` for that run and attempt.+uv treats filenames in `--find-links` directories as immutable, so a persistent+cache can silently install an earlier wheel when an unreleased version is rebuilt.+Disabling the setup action's cache does not disable a self-hosted runner's local+uv cache. Docker's build cache remains available across attempts.+Agent and CUA overlay Python installs inherit the host's `PIP_INDEX_URL`,`PIP_EXTRA_INDEX_URL`, `UV_DEFAULT_INDEX`, `UV_INDEX_URL`, and`UV_EXTRA_INDEX_URL` through `run_python_install()` in the image tools. The guest