Skip to content

refactor: lake: download arts by default in cache get#12927

Merged
tydeu merged 1 commit intoleanprover:masterfrom
tydeu:lake/replace-download-arts
Mar 16, 2026
Merged

refactor: lake: download arts by default in cache get#12927
tydeu merged 1 commit intoleanprover:masterfrom
tydeu:lake/replace-download-arts

Conversation

@tydeu
Copy link
Copy Markdown
Member

@tydeu tydeu commented Mar 16, 2026

This PR changes lake cache get to download artifacts by default. Artifacts can be downloaded on demand with the new --mappings-only option (--download-arts is now obsolete).

In the future, the plan is to have Lake download mappings when cloning dependencies. Then, lake cache get will primarily be used to download artifacts eagerly. Thus, it makes sense to have that as the default.

@tydeu tydeu added changelog-lake Lake lake-ci Run all Lake tests labels Mar 16, 2026
@tydeu tydeu force-pushed the lake/replace-download-arts branch from 6eecf32 to f7f7cfe Compare March 16, 2026 01:28
@tydeu tydeu marked this pull request as ready for review March 16, 2026 02:29
@tydeu tydeu added this pull request to the merge queue Mar 16, 2026
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Mar 16, 2026
@leanprover-bot
Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2026-03-09 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2026-03-16 02:32:30)

mathlib-nightly-testing bot pushed a commit to leanprover-community/batteries that referenced this pull request Mar 16, 2026
@github-actions github-actions bot added the mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN label Mar 16, 2026
mathlib-nightly-testing bot pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Mar 16, 2026
Merged via the queue into leanprover:master with commit ea8fca2 Mar 16, 2026
19 checks passed
@mathlib-lean-pr-testing mathlib-lean-pr-testing bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Mar 16, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

Mathlib CI status (docs):

@tydeu tydeu deleted the lake/replace-download-arts branch March 16, 2026 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR changelog-lake Lake lake-ci Run all Lake tests mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants