Skip to content

Disable known GitHub cache clients in release workflows - #27846

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 the docs Rust cache, automatic tool caching, and Docker builds. Remove the docs Rust cache and Docker GitHub cache configuration, and explicitly disable the known cache clients in binary builds and publishing jobs. Unrelated test and benchmark caches are unchanged.

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

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]` and
`[email protected]` do not honor the variable, so the explicit client
opt-outs in #27846 remain necessary. Unrelated workflows and artifact
transfers are unchanged.

Port of astral-sh/uv#21196.

Co-authored-by: Zanie Blue <[email protected]>
@zanieb zanieb added the ci Related to internal CI tooling label Aug 18, 2026
@zaniebot
zaniebot force-pushed the agent/disable-release-caches branch from 23b30e8 to 9092dd4 Compare August 18, 2026 21:44
@zanieb
zanieb marked this pull request as ready for review August 18, 2026 21:46
@zanieb
zanieb enabled auto-merge (squash) August 18, 2026 21:46
@zanieb
zanieb merged commit 92e33e5 into astral-sh:main Aug 18, 2026
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Related to internal CI tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants