lean4-htt/tests/lake
Mac Malone 50785098d8
feat: lake: cache staging (#13144)
This PR adds three new `lake cache` subcommands for staged cache
uploads: `stage`, `unstage`, and `put-staged`. These are designed to
function as parallels for the commands of the same name in Mathlib's
`lake exe cache`.

- `lake cache stage`: Copies the build outputs of a mappings file from
the Lake cache to a staging directory.
- `lake cache unstage`: Copies the build outputs from a staging
directory back into the Lake cache.
- `lake cache put-staged`: Uploads build outputs from a staging
directory to a remote cache service. Unlike `lake cache put`, this
command does not load the workspace configuration. As a result, platform
and toolchain settings must be supplied manually via `--platform` and
`--toolchain` if needed.

This PR also removes deprecation warnings when using environment
variables to configure the cache service for `lake cache put` (and `lake
cache put-staged`).

🤖 Prepared with Claude Code

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-27 03:16:09 +00:00
..
examples feat: lake: fixedToolchain package configuration (#12935) 2026-03-17 02:37:55 +00:00
tests feat: lake: cache staging (#13144) 2026-03-27 03:16:09 +00:00
.gitattributes
.gitignore
build.sh
clean-build.sh
lakefile.toml feat: lake: cached compressed module artifacts (#12914) 2026-03-16 04:36:19 +00:00
Makefile
time-build.sh