Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lainets opened this issue Apr 18, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@lainets
Copy link
Contributor

lainets commented Apr 18, 2023

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.

@lainets lainets added the enhancement New feature or request label Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant