!zghijEASpYQWYFzriI:nixos.org

Hydra

374 Members
107 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
25 Sep 2024
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.ukbasically an endpoint for a job12:40:39
@k900:0upti.meK900Don't think so 12:49:35
@rick:matrix.ciphernetics.nlRick (Mindavi)https://github.com/Mindavi/nixpkgs-mark-broken/blob/77cb016ea6ae570ec4bb861cd3f00f82e69b200f/nixpkgs-broken.py#L1413:14:35
@rick:matrix.ciphernetics.nlRick (Mindavi)I think there's something13:14:44
@rick:matrix.ciphernetics.nlRick (Mindavi)But maybe not exactly what you'd like13:15:20
@k900:0upti.meK900Yeah that's by job ID13:15:34
@k900:0upti.meK900Which is the number13:15:37
@rick:matrix.ciphernetics.nlRick (Mindavi)#💡 the hydra endpoint /{project-id}/{jobset-id}/{job-id}/latest (as documented here: https://github.com/NixOS/hydra/issues/1036) will return the latest _working_ build for a job! This makes it very easy to see how long a job has been broken already.13:15:41
@k900:0upti.meK900I think13:15:51
@rick:matrix.ciphernetics.nlRick (Mindavi)I think so, yeah13:16:59
@rick:matrix.ciphernetics.nlRick (Mindavi)I'm at least aware there are some gaps where you'd expect endpoints so it's likely the one you want is missing 13:17:53
@rick:matrix.ciphernetics.nlRick (Mindavi)I ran into that too while building that script 13:17:59
@rick:matrix.ciphernetics.nlRick (Mindavi)Still hoping for someone adding those endpoints, but I presume it'll be rewritten before those are added 😅. I looked at the perl but already didn't understand the existing endpoints, let alone adding some13:21:45
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.ukwhere are endpoints defined in the code?13:56:30
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.ukalso, under what conditions are logs a 404? e.g. for this build failure, no logs are available: https://hydra.nixos.org/build/27153002413:57:04
@k900:0upti.meK900Because > Cancelled by user13:57:30
@k900:0upti.meK900There was no build to begin with13:57:33
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.ukah right, just saw that after asking, thx13:57:52
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.ukjust for context i'm thinking of building a matrix bot that periodically fetches job pages for selected packages, and notifies subscribers in case of failures13:59:17
@rick:matrix.ciphernetics.nlRick (Mindavi)Make sure to rate-limit your bot. Maybe the nixpkgs-review-tools data is public?15:02:22

Show newer messages


Back to Room ListRoom Version: 6