Skip to content

refactor: introduce LakefileConfig & well-formed workspaces#13282

Merged
tydeu merged 7 commits intoleanprover:masterfrom
tydeu:lake/lakefile-config
Apr 7, 2026
Merged

refactor: introduce LakefileConfig & well-formed workspaces#13282
tydeu merged 7 commits intoleanprover:masterfrom
tydeu:lake/lakefile-config

Conversation

@tydeu
Copy link
Copy Markdown
Member

@tydeu tydeu commented Apr 5, 2026

This PR introduces LakefileConfig, which can be constructed from a Lake configuration file without all the information required to construct a full Package. Also, workspaces now have a well-formedness property attached which ensures the workspace indices of its packages match their index in the workspace. Finally, the facet configuration map now has its own type: FacetConfigMap.

Created by splitting off the major self-contained (but overlapping) refactors from #11662.

@tydeu tydeu added changelog-lake Lake lake-ci Run all Lake tests labels Apr 5, 2026
@tydeu tydeu force-pushed the lake/lakefile-config branch from 61b6177 to a6c9693 Compare April 5, 2026 02:00
@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 Apr 5, 2026
mathlib-nightly-testing bot pushed a commit to leanprover-community/batteries that referenced this pull request Apr 5, 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 Apr 5, 2026
mathlib-nightly-testing bot pushed a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Apr 5, 2026
leanprover-bot added a commit to leanprover/reference-manual that referenced this pull request Apr 5, 2026
@leanprover-bot leanprover-bot added the breaks-manual This is not necessarily a blocker for merging, but there needs to be a plan. label Apr 5, 2026
@leanprover-bot
Copy link
Copy Markdown
Collaborator

leanprover-bot commented Apr 5, 2026

Reference manual CI status:

@mathlib-lean-pr-testing mathlib-lean-pr-testing bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Apr 5, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

Mathlib CI status (docs):

@tydeu tydeu marked this pull request as ready for review April 6, 2026 23:33
@tydeu tydeu added this pull request to the merge queue Apr 6, 2026
Merged via the queue into leanprover:master with commit 96d502b Apr 7, 2026
33 checks passed
@tydeu tydeu deleted the lake/lakefile-config branch April 7, 2026 00:13
volodeyka pushed a commit that referenced this pull request Apr 16, 2026
This PR introduces `LakefileConfig`, which can be constructed from a
Lake configuration file without all the information required to
construct a full `Package`. Also, workspaces now have a well-formedness
property attached which ensures the workspace indices of its packages
match their index in the workspace. Finally, the facet configuration map
now has its own type: `FacetConfigMap`.

Created by splitting off the major self-contained (but overlapping)
refactors from #11662.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaks-manual This is not necessarily a blocker for merging, but there needs to be a plan. 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