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

Show last successful build #12

Open
bhipple opened this issue May 6, 2020 · 2 comments
Open

Show last successful build #12

bhipple opened this issue May 6, 2020 · 2 comments

Comments

@bhipple
Copy link
Contributor

bhipple commented May 6, 2020

When all builds are failing, it would be nice to show the time of the last successful build. Example:

$ hydra-check topydo
Build Status for nixpkgs.topydo.x86_64-linux on unstable
✖ (Failed) topydo-0.13 from 2020-04-28 - https://hydra.nixos.org/build/117837434

Last Builds:
✖ (Failed) topydo-0.13 from 2020-04-23 - https://hydra.nixos.org/build/117370448
✖ (Failed) topydo-0.13 from 2020-04-19 - https://hydra.nixos.org/build/116905954
✖ (Failed) topydo-0.13 from 2020-04-05 - https://hydra.nixos.org/build/116125014
✖ (Failed) topydo-0.13 from 2020-04-02 - https://hydra.nixos.org/build/115754788
✖ (Failed) topydo-0.13 from 2020-03-27 - https://hydra.nixos.org/build/115542554
✖ (Failed) topydo-0.13 from 2020-03-24 - https://hydra.nixos.org/build/115470065
✖ (Failed) topydo-0.13 from 2020-03-16 - https://hydra.nixos.org/build/114750985
✖ (Failed) topydo-0.13 from 2020-03-08 - https://hydra.nixos.org/build/114102922
✖ (Failed) topydo-0.13 from 2020-03-04 - https://hydra.nixos.org/build/113823833

Hydra knows and displays the last successful build in this case:
https://hydra.nixos.org/build/117837434

In particular, this information is nice to have when looking at build failures in nixpkgs-review and determining whether it might be time to set meta.broken = true on the package (or look for a new version that might fix it).

@makefu
Copy link
Member

makefu commented May 6, 2020

I like the idea, however it seems there is no api endpoint we could trigger for and we must reside to parsing the html (again).

@makefu
Copy link
Member

makefu commented Apr 3, 2022

Hi @bhipple sorry for not showing more love to hydra-check, i just want to let you know i still think the issue is worth solving, however i currently do not have much time left to implement it.
If you would be willing to create a Pull Request i'd love to test and approve it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants