Skip to content

[tools] substantially lighten dependency_analyser - #21

Merged
denbeigh2000 merged 4 commits into
mainfrom
denbeigh/light-dependency-analyser
Mar 27, 2026
Merged

denbeigh2000 merged 4 commits into
mainfrom
denbeigh/light-dependency-analyser

Conversation

@denbeigh2000

Copy link
Copy Markdown
Member

with this change, we strip down dependency analyser, and make deps-fetching
configurable to ensure the tool is acceptably fast to run in the development
loop.


Mix.start()
Mix.shell(Mix.Shell.Process)
Mix.env(:test)

@denbeigh2000 denbeigh2000 Mar 26, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i had misgivings while writing this, but...

for the services that i, personally, need to care about right now:

  • prod deps are a subset of test deps
  • dev deps are disjoint from both of the others, but also aren't currently provided through bazel

so, i'm hardcoding env to be test in the dependency resolver, with a plan to break this api later when i add a proper delineation between dev and test dependencies in mix_library

@denbeigh2000
denbeigh2000 marked this pull request as ready for review March 27, 2026 15:18
@denbeigh2000
denbeigh2000 merged commit a12a6f7 into main Mar 27, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant