Skip to content

pixi environment caches: saved from main only - #98

Open
Tobias-Fischer wants to merge 1 commit into
mainfrom
ci/pixi-cache-main-only
Open

Tobias-Fischer wants to merge 1 commit into
mainfrom
ci/pixi-cache-main-only

Conversation

@Tobias-Fischer

Copy link
Copy Markdown
Collaborator

PR runs saved their own pixi environment cache for every lock file and platform (0.1–0.3 GB each). That filled the repository's 10 GB and evicted jazzy's build caches (#61).

  • New pixi-cache.yaml: saves the pixi caches from main, on all five runner types. It runs when pixi.toml or pixi.lock change on main, or when started by hand.
  • Every other setup-pixi only restores (cache-write: false).
  • PRs restore main's cache (they can read their base branch's caches). A PR that changes the lock file installs the environment fresh, which takes about a minute.

After merging, start pixi-cache.yaml once by hand: this PR doesn't change the lock file, so the push won't trigger it.

🤖 Generated with Claude Code

PR runs saved a pixi cache per lock file and platform (0.1-0.3 GB each), which
filled the repository's 10 GB and evicted the build caches of running PRs.
pixi-cache.yaml saves them from main (when pixi.toml/pixi.lock change, or by
hand) on all five runner types; everything else only restores.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Tobias-Fischer Tobias-Fischer added the build:humble PR build: build only humble (with other build:<distro> labels: only those) label Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build:humble PR build: build only humble (with other build:<distro> labels: only those)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant