https://github.com/malob/hydra-tools
Early WIP package for extracting useful information from Hydra.
https://github.com/malob/hydra-tools
nix
Last synced: about 1 month ago
JSON representation
Early WIP package for extracting useful information from Hydra.
- Host: GitHub
- URL: https://github.com/malob/hydra-tools
- Owner: malob
- License: bsd-3-clause
- Created: 2022-11-11T03:47:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-29T21:49:09.000Z (about 3 years ago)
- Last Synced: 2025-05-18T09:10:57.093Z (about 1 year ago)
- Topics: nix
- Language: Haskell
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# hydra-tools
Early WIP package for extracting useful information from [Hydra](https://hydra.nixos.org).
Executable currently only dumps JSON of the `EvalInfo` of a jobset evaluation, which includes problematic dependencies.
```shell
❯ nix run . -- 1785043 > evalinfo.json # takes ~8 mins
Collecting build information ...
Finding problematic dependencies ...
❯ cat evalinfo.json | jq
{
"id": 1785043,
"builds": {
...
"197545751": {
"status": "Succeeded",
"id": 197545751,
"job": "emacsPackages.gsettings.aarch64-darwin",
"stoptime": 1667511372,
"nixname": "emacs-gsettings-20210407.2045",
"system": "aarch64-darwin"
},
"197545752": {
"status": "Dependency failed",
"id": 197545752,
"job": "python310Packages.delorean.aarch64-darwin",
"stoptime": 1667446743,
"nixname": "python3.10-Delorean-1.0.0",
"system": "aarch64-darwin"
},
"197545753": {
"status": "Succeeded",
"id": 197545753,
"job": "xcpretty.aarch64-darwin",
"stoptime": 1667499672,
"nixname": "xcpretty-0.3.0",
"system": "aarch64-darwin"
},
...
},
"problemdeps": {
"196768182": [
197581319
],
"197078638": [
197559962
],
"197124145": [
197573925
],
"197198562": [
197545752,
...
197952260
],
...
}
}
```