leanprover / leanprover/lean-action

Redundant mathlib caching

Open
#3 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Shell
Stars
45
Forks
22
Avg merge
4d 15h
Merged PRs (30d)
1

Description

One area for improvement is that currently the action caches the mathlib cache generated by lake exe cache get which seems redundant and takes up significant space in the GitHub cache.

One potential fix for this would be to exclude certain subfolders of .lake from the cache. This behavior of the cache action may be relevant.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the action's caching configuration and the step that runs lake exe cache get. Review the linked glob exclude-patterns documentation and cache-action behavior, then verify that redundant mathlib cache content is excluded without breaking the remaining cache workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.