feat(pkg): remove the portable lock dir distinction - #15987
Draft
Alizter wants to merge 7 commits into
Draft
Conversation
Alizter
force-pushed
the
push-kzlnwxvqnmlt
branch
18 times, most recently
from
August 18, 2026 16:57
df57136 to
4453142
Compare
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Verify portable locking succeeds when every requested platform can install the dependency. Signed-off-by: Ali Caglayan <alizter@gmail.com>
Record the duplicate-result merge failure and repeated failure diagnostics before joint solving deduplicates requested platforms. Signed-off-by: Ali Caglayan <alizter@gmail.com>
Record that separate platform solves select distinct platform-specific avoid-version packages instead of one common alternative. Signed-off-by: Ali Caglayan <alizter@gmail.com>
Build one SAT universe for every requested platform instead of solving each platform independently. Enforce one version per package name across platforms while allowing different package-name alternatives, evaluate availability and local-package constraints in each platform environment, and minimize distinct avoid-version package versions. Keep the single-platform SAT encoding unchanged, preserve each selected platform package when extracting lock data, and only copy extra files for selected package versions. Signed-off-by: Ali Caglayan <alizter@gmail.com>
Signed-off-by: Ali Caglayan <alizter@gmail.com>
Use the conditional lock-file representation for every newly generated lock directory and remove the portable-lock-dir feature flag and split code paths. Keep old lock directories readable: bare atom-form dependency fields decode as all-platform dependencies, and legacy bare build/install actions continue to run on every platform. Signed-off-by: Ali Caglayan <alizter@gmail.com>
Alizter
force-pushed
the
push-kzlnwxvqnmlt
branch
2 times, most recently
from
August 18, 2026 17:44
2b33de5 to
2369273
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #15982. The final two commits are new in this draft.
Summary
Review fixes
Checks
dune runtest test/blackbox-tests/test-cases/pkg test/expect-tests/dune_pkgCI=true dune build @fmt @check