Skip to content

Handle build_engine.exs failures #346

@mhanberg

Description

@mhanberg

Description

When the engine fails to build due to dependency issues, the most likely cause is we updated a dependency in the engine and it needs to fetch new ones.

This often happens with local builds as the builds are scoped to the same version.

Solution

There are a few potential solutions

  • alert the user they need to run expert engine clean.
  • automatically retry and add force: true
  • automatically delete the engine folder and retry.
  • when making a local build, append a hash of mix.lock so that when deps change after a new local build, it rebuilds correctly

mhanberg: I think the last option is the best solution as this should only happen for local builds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions