Skip to content

Conversation

@jleni
Copy link
Member

@jleni jleni commented Jan 14, 2026

Summary

  • Adds cache_save: false to all mise-action steps that have cache: false
  • Prevents ~800MB cache uploads on every CI run that are never used

Problem

The mise-action has two cache options:

  • cache: false → don't restore from cache
  • cache_save: true (DEFAULT) → still save to cache

With only cache: false set, mise was:

  1. Not restoring from cache ✓
  2. Still uploading ~800MB to GitHub Actions cache on every run ✗
  3. Creating duplicate entries per branch/PR ref ✗
  4. These caches are NEVER used since cache: false prevents restore ✗

Result: ~8GB of useless mise caches accumulating in GitHub Actions cache.

Solution

Add cache_save: false to all 8 workflows that had cache: false:

  • _checks-expo.yaml
  • _checks-links.yaml
  • _checks-playwright.yaml
  • _checks-rs.yaml
  • _checks-ts.yaml
  • _gen_proto.yaml
  • _publish-npm.yaml
  • _pulumi-wif.yaml

Test plan

  • Verify mise cache is not saved after merge
  • Clear existing mise caches from affected repos

Related

After merging, also need to fix zondax/actions/setup-node-env which uses mise with default caching (creating caches from release workflows).

The mise-action has two cache options:
- cache: false (don't restore from cache)
- cache_save: true (default - still save to cache)

With only `cache: false`, mise was still uploading ~800MB caches
to GitHub Actions cache on every run, creating duplicate entries
per ref that are never restored (since cache: false).

This adds `cache_save: false` to all workflows using mise with
`cache: false`, preventing wasteful cache uploads.

Affected workflows:
- _checks-expo.yaml
- _checks-links.yaml
- _checks-playwright.yaml
- _checks-rs.yaml
- _checks-ts.yaml
- _gen_proto.yaml
- _publish-npm.yaml
- _pulumi-wif.yaml

Note: Projects using S3/sccache for caching don't benefit from
GitHub Actions cache for mise, making these uploads pure waste.
jleni added a commit to Zondax/actions that referenced this pull request Jan 14, 2026
Updates mise-action to v3 and disables GitHub Actions caching:
- cache: false (don't restore)
- cache_save: false (don't save)

This prevents wasteful ~800MB cache uploads on every run.
Projects using S3/sccache don't benefit from GitHub cache for mise.

Related: Zondax/_workflows#72
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