Skip to content

Max age of cache to use? #688

Closed
Closed

Description

@horgh

Hi,

I noticed that with v5.1.0, the action will use mise from the cache while the cache key is unchanged. I'm wondering if in practice that could cause us to stick with older mise versions for long periods of time, e.g. months. This would be the case in repos that get activity often enough for GitHub not to evict the cache. In many repos I work on, we get activity at least every week, so I think the cache will remain active for indefinite periods of time.

While not updating every time makes sense to me, I wonder if having some kind of default where we will bust the cache if it's old would make sense, as periodically getting new mise versions would be nice.

I realize that I can set auto_update to update more often, but I was wondering if a middle ground would make sense.

Thank you for mise, it's awesome!

Activity

  1. added a commit that references this issue on Oct 15, 2026
    e7cf35f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions