Repository navigation
fix: link Elixir umbrella and path dependencies as project references - #670
Merged
Merged
Conversation
vibgrate-team
force-pushed
the
cursor/elixir-umbrella-refs-2785
branch
from
November 12, 2026 23:29
1bc32e7 to
abe2830
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.
Summary
Elixir umbrella apps now show up as linked projects.
{:core, in_umbrella: true}andpath:dependencies becomeprojectReferenceswhen the target is another Elixir project in the same scan, and Hex rows and drift are unchanged.parseMixExsstill skipsgit:,github:,path:, andin_umbrella:for Hex. It now also keepsin_umbrella: truenames andpath:paths. An umbrella dependency resolves to<umbrella>/<apps_path>/<name>, withapps_pathdefaulting toapps. A path dependency resolves relative to itsmix.exs. The reference uses the same shape as Maven and npm workspace references (path,name,refType: "workspace"), and only when that directory was scanned.Related issues
Closes #667
Checklist
pnpm testpassespnpm lintis cleanpnpm typecheckis cleangraph.json/ report output (content-hashed IDs, stable sorts; no time, randomness, or filesystem-order dependence)git commit -s, DCO)Notes for reviewers
The fixture
test/fixtures/elixir-umbrellacoversapps/webdepending onapps/coreviain_umbrella: true, andapps/coredepending onlibs/logger_jsonviapath:. Missing targets andin_umbrella: falsestay out of both the rows and the references.pnpm lint,pnpm typecheck, andpnpm testpassed (5819 tests). Docs are unchanged: this extends existing project-reference handling, not a new command.