Skip to content

Build failures should probably be more fatal #1411

@KristofferC

Description

@KristofferC

Right now, a build failure prints an error message but then nothing actually fails. The project and manifest files are still updated. The package can still be imported. It doesn't really make sense, if a package fails to build then it is unusable and we shouldn't pretend that everything is fine.

There are two ways to handle this:

  • Just remove the package from packages if it fails to build. On next add it will get downloaded again and another build attempt will be tried.
  • Somehow keep the package around but indicate that it hasn't been built yet. On next add there is no need to download the package but we know that it hasn't been built so let's try that again. The problem here is that maybe the package got in a bad state from failing to build the first time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions