Skip to content

Return the latest finished or running build's info in build_log_json #32

Description

@lainets

Currently, the build_log_json return the info for the latest finished update but it would make sense to instead give the info of any running build instead if one exists. The reason why this happens is that the logic selects the update by updated_time but that is only set for finished updates.

I'd say that it would also be better to return a pending build if one exists and no build is running. This should be a very rare occurrence but it would make it clear to the user that a update was received but is just hasn't been started for some reason.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions