Commit graph

1 commit

Author SHA1 Message Date
José Valim edefa6649a Avoid compile-connected dependencies
Before this commit, LivebookWeb had runtime dependencies into
the project, causing large compilation cycles.

Using the following command in Elixir v1.17.3+

    $ mix xref graph --format stats --label compile-connected

Would reveal:

    Top 10 files with most incoming dependencies:
      * lib/livebook_web.ex (97)
      * lib/livebook/config.ex (3)
      * proto/lib/livebook_proto/deployment_group.pb.ex (2)

After this patch:

    Top 10 files with most incoming dependencies:
      * lib/livebook/config.ex (3)
      * proto/lib/livebook_proto/deployment_group.pb.ex (2)
      * lib/livebook_web/plugs/memory_provider.ex (2)
2024-08-07 01:16:30 +02:00