Skip to content

Build the engine once for every elixir+otp combination #466

@doorgan

Description

@doorgan

Currently if you have a workspace with multiple workspace folders and all of them use the same elixir+otp versions, we will try to build the engine for each one of them.
In other words, if your workspace has 3 folders, 3 engines will be built

To reduce work and speed up statup times, we should only try to build the engine once for each elixir+otp pair during the same session, and cache the engine path for any subsequent engine restart.
If we try to build the same engine twice at the same time, only a single build should run and both engines should use the results of that single run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stabilityAbout improving stability through logging, refactoring, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions