Repository navigation
fix(core): orient dependency edges in cycle detection (0.1.33) - #127
Merged
EYH0602 merged 1 commit intoOct 15, 2026
Merged
Conversation
detect_cycles mixed parent->child links with dependent->dependency links, so cross-branch diamonds were reported as ARA110 cycles and a dependency on one's own descendant was missed. Reverse DependsOn edges for the check only. Clears ARA110 on all 58 affected internal trees.
EYH0602
added a commit
that referenced
this pull request
Oct 17, 2026
Bring the 0.1.33 dependency-cycle direction fix (#127) and its design record onto the integration branch. #121 squash-merged the earlier reader-overhead work, so the only conflicts were the workspace version and the matching CHANGELOG entry; both resolve to the 0.1.33 side. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
detect_cyclesran one DFS overChildlinks (parent → child, downstream) andDependsOnlinks (dependent → dependency, upstream). Mixing directions:ls/find/statusrefuse the artifact.The ara-eval large-artifact survey found ARA110 on 58 internal trees (DissClaimer, MSI, Lara-dev, sierra); none has a cycle once edges are oriented consistently.
Fix
In
detect_cyclesonly, orientDependsOnedges from dependency to dependent. Link data, layout and viewer are unchanged; ARA208's redundant-ancestor drop stays.Verification
dependency_diamond_across_branches_is_not_a_cycleanddependency_on_own_descendant_is_a_cyclefail before, pass after; existing cycle tests unchanged.cargo fmt --check,cargo clippy -D warningspass.Design note:
docs/dependency-cycle-direction.md. Version 0.1.33, CHANGELOGFixed.