| 28 Nov 2025 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Now the problem is hydra API doesn't respond so I can't get the list of failed derivations | 08:48:38 |
vcunat | Ah, failed derivations? 🤔 | 08:49:00 |
vcunat | Via non-presence of substitutes? | 08:49:44 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @vcunat:matrix.org Via non-presence of substitutes? That requires evaluating Nixpkgs | 08:50:30 |
vcunat | If you have .drv, you have it anyway, I think. | 08:50:52 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | So I want to use /eval/{eval-id}/builds
https://editor.swagger.io/?url=https://raw.githubusercontent.com/NixOS/hydra/master/hydra-api.yaml | 08:51:57 |
vcunat | That seems way more difficult than checking presence of binary in the cache. | 08:54:18 |
vcunat | But it's your call. | 08:54:23 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | So how can I register a hydra account with password | 08:55:23 |
vcunat | https://github.com/nix-community/nix-review-tools can be an inspiration for crawling this. | 08:55:26 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @vcunat:matrix.org https://github.com/nix-community/nix-review-tools can be an inspiration for crawling this. But we have hydra API | 08:57:07 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | https://hydra.nixos.org/eval/1820546#tabs-still-fail | 08:57:54 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I guess I'm not going to click that expand button several times | 08:58:11 |
vcunat | I meant that you can crawl Hydra the same way as nix-review-tools. | 08:58:57 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | ...okay | 09:01:59 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I hope I don't need to get around anubis | 09:02:32 |
vcunat | (perhaps others can suggest, too) | 09:02:34 |
vcunat | * (perhaps other people can suggest, too) | 09:02:38 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | So who's managing the hydra instance now? | 09:03:57 |
vcunat | The infra-build team has access to do that (including myself). | 09:07:09 |
vcunat | I don't think we're using those. | 09:08:02 |
Janne | You can look at zhf.fail, I just parse the DOM | 09:08:02 |
vcunat | IIRC some things were missing the API and the workaround was like that. | 09:08:33 |
Janne | Maybe I should put the cache of that in s3 so people can access the data without adding more load to hydra 🤔 | 09:08:54 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @janne:hess.ooo You can look at zhf.fail, I just parse the DOM 🫠 | 09:08:58 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Okay | 09:09:02 |
vcunat | Well, it's one of the reasons why I suggested to check for presence of log and presence of binaries. | 09:09:55 |
vcunat | (neither hit hydra.nixos.org) | 09:10:45 |
leona | oh and crawling hydra is very much not fun. I tried doing it for finding broken builds with something similar to gist.github.com/Mindavi/6b33251a3a7a207e95d0ca289da312cb. And I had to go down to <10 simultaneous connections to not break hydra | 09:12:01 |
leona | and even then it struggled so much that I stopped it | 09:12:11 |