!zghijEASpYQWYFzriI:nixos.org

Hydra

342 Members
99 Servers

Load older messages


SenderMessageTime
25 Sep 2024
@k900:0upti.meK900Yeah that's by job ID13:15:34
@k900:0upti.meK900Which is the number13:15:37
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nl#💡 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.nl@rick:matrix.ciphernetics.nlI think so, yeah13:16:59
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nlI'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.nl@rick:matrix.ciphernetics.nlI ran into that too while building that script 13:17:59
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nlStill 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.nl@rick:matrix.ciphernetics.nlMake sure to rate-limit your bot. Maybe the nixpkgs-review-tools data is public?15:02:22
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nlWould be great if we could not all scrape hydra 😁15:02:39
@rick:matrix.ciphernetics.nl@rick:matrix.ciphernetics.nlI managed to get myself blocked for a short while by overloading hydra15:03:04
26 Sep 2024
@fabianhjr:matrix.orgFabián Heredia set a profile picture.01:16:06
27 Sep 2024
@sigmasquadron:matrix.orgSigmaSquadron joined the room.00:18:20
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk

re: this: https://github.com/NixOS/hydra/blob/95003f2eb503f71979856470c7caea946f1ae7f0/doc/manual/src/notifications.md

is this hydra-notify component deployed on prod hydra? are any plugins enabled? i tried looking here for hints, it seems it is deployed but

a) idk if hydra-dev is actually prod
b) whether any plugins are configured
c) whether there's any interest on the infra people's side to deploy one for build notifications

08:43:42
@k900:0upti.meK900It's deployed but turned off08:44:00
@k900:0upti.meK900And the reason it's turned off is because it takes up stupid amounts of RAM and no one has figured out why08:44:14
@k900:0upti.meK900(or as far as I can tell attempted to)08:44:18
@k900:0upti.meK900And that machine is already severely RAM starved08:44:45
@k900:0upti.meK900Because it is running nixpkgs evals08:44:50
@vcunat:matrix.orgvcunatThe other reason is that we're not aware of any use for it at hydra.nixos.org09:16:32
@k900:0upti.meK900Honestly I don't think anyone would have cared about it09:17:22
@k900:0upti.meK900If it didn't use half the RAM on the box09:17:26
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk
In reply to @vcunat:matrix.org
The other reason is that we're not aware of any use for it at hydra.nixos.org
wouldn't it be useful for notifying maintainers of build failures, with mechanisms other than email?
13:13:35
@vcunat:matrix.orgvcunatProbably. But I believe there's no code for that. Even this code was unreliable, sending mass notifications in some edge cases IIRC.13:46:04

Show newer messages


Back to Room ListRoom Version: 6