Repository navigation
test: document resolve_program resolution in lock-kind contexts - #14737
Merged
Merged
Conversation
punchagan
force-pushed
the
cram-resolve-program-lock-context
branch
3 times, most recently
from
May 27, 2026 11:44
07dfa0a to
4f0a544
Compare
punchagan
marked this pull request as ready for review
May 27, 2026 11:47
This test aims to capture the current behavior when resolving programs in stanzas like `(ocamllex ...)` or `(menhir ...)`. The resolution currently falls through to `Pkg_rules.which` that currently scans every locked package's binary index. So, any binary installed by any locked package is discoverable from any stanza. But, this dependency also means that resolving the programs for these stanzas has a dependency on building all the lockdir packages which is one of the problems to be fixed for ocaml#8652. Signed-off-by: Puneeth Chaganti <[email protected]>
punchagan
force-pushed
the
cram-resolve-program-lock-context
branch
from
May 27, 2026 14:04
4f0a544 to
6e554d9
Compare
Alizter
approved these changes
May 27, 2026
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.
This test aims to capture the current behavior when resolving programs
in stanzas like
(ocamllex ...)or(menhir ...). The resolutioncurrently falls through to
Pkg_rules.whichthat currently scans everylocked package's binary index. So, any binary installed by any locked
package is discoverable from any stanza.
But, this dependency also means that resolving the programs for these
stanzas has a dependency on building all the lockdir packages which is
one of the problems to be fixed for #8652.