Skip to content

Disable known GitHub cache clients in release workflows - #4317

Merged
zanieb merged 1 commit into
astral-sh:mainfrom
zaniebot:agent/disable-release-caches
Aug 18, 2026
Merged

zanieb merged 1 commit into
astral-sh:mainfrom
zaniebot:agent/disable-release-caches

Conversation

@zaniebot

@zaniebot zaniebot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Release workflows can restore shared GitHub caches through automatic tool caching and Docker builds. Explicitly disable caching in release invocations of setup-uv, setup-python, and maturin-action, and remove the Docker GitHub cache configuration. Unrelated test and benchmark caches are unchanged.

Port of astral-sh/uv#21168. This retains the docs dependency-group migration from #4315 and disables caching on its new setup-uv step.

@zanieb
zanieb marked this pull request as ready for review August 18, 2026 18:18
@AlexWaygood
AlexWaygood requested a review from woodruffw August 18, 2026 18:21
@zaniebot
zaniebot force-pushed the agent/disable-release-caches branch from ca42f0e to b64f011 Compare August 18, 2026 18:23
zanieb added a commit that referenced this pull request Aug 18, 2026
Release jobs can consume shared GitHub caches when an action's cache
defaults change. Set `ACTIONS_CACHE_MODE: none` in `release.yml` and
every reusable workflow it calls so compatible clients skip cache reads
and writes. Each reusable workflow needs its own setting because
workflow-level environment variables are not inherited by called
workflows. CI calls to those shared workflows use the same setting.

This does not revoke cache credentials. The pinned `[email protected]`
does not honor the variable, so the explicit client opt-outs in #4317
remain necessary. Unrelated workflows and artifact transfers are
unchanged.

Port of astral-sh/uv#21196.

Co-authored-by: Zanie Blue <[email protected]>
@zanieb
zanieb merged commit 93d0d4f into astral-sh:main Aug 18, 2026
40 checks 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.

2 participants