Repository navigation
test(pkg): dependency cycles are tolerated or crash - #15619
Merged
Merged
Conversation
Alizter
force-pushed
the
push-slxvukqtykum
branch
2 times, most recently
from
July 30, 2026 14:22
756e60b to
700e40d
Compare
Dependency cycles reachable from the local packages are user-writable input: hand-written lock directories can close a cycle through their dependency lists, and workspace packages can depend on each other. Validation silently accepts both, deferring lockdir cycles to a build failure, and querying the transitive dependencies of a workspace cycle crashes with a Code_error. Signed-off-by: Ali Caglayan <[email protected]>
Alizter
force-pushed
the
push-slxvukqtykum
branch
from
July 31, 2026 13:47
700e40d to
b139438
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.
Description
Add regression coverage for dependency cycles reachable from local packages:
dune describe pkg list-locked-dependencies --transitivewith an internal error.This captures the current behavior before the combined dependency-graph traversal and user-facing cycle diagnostics are introduced.
Related Issue and Motivation
Part of #8652.
Checklist