!zghijEASpYQWYFzriI:nixos.org

Hydra

396 Members
113 Servers

Load older messages


SenderMessageTime
18 Oct 2021
@grahamc:nixos.org@grahamc:nixos.orgthat one ... I understand... since recovering a system with zero free inodes or bytes is kinda tricky13:18:22
@janne.hess:helsinki-systems.dedas_jBut it's also a weird UX because your Hydra just stops evaluating stuff and you don't know why until you check systemctl status13:18:59
@grahamc:nixos.org@grahamc:nixos.orgoh yeah good point13:19:07
@janne.hess:helsinki-systems.dedas_jCould be worked around by the queue runner and evaluator posting their current timestamp into postgres and displaying a warning in the web ui if the difference to the current timestamp is too large13:19:44
@janne.hess:helsinki-systems.dedas_jThat would also show if something bad happened13:20:05
@grahamc:nixos.org@grahamc:nixos.orgI'd like to add a prometheus exporter to the evaluator and queue runner. I've sent a proposal for the queue runner work to a client but they weren't ready to spend the time & money on it13:20:11
@janne.hess:helsinki-systems.dedas_jCan't you just use the json exporter and pluck /queue-runner-status into that?13:21:18
@grahamc:nixos.org@grahamc:nixos.orgthe instrumentation work I proposed was focused on identifying why it gets "stuck"13:21:54
@grahamc:nixos.org@grahamc:nixos.orgbut another thing is having the exporter in the runner itself means you get liveness checks for "free"13:22:13
@janne.hess:helsinki-systems.dedas_jWouldn't something like opentracing be more suitable for that task? I haven't used it myself but it seems quite fitting and could also be used for more detailed inspection13:23:29
@grahamc:nixos.org@grahamc:nixos.orgI'm open13:23:46
@janne.hess:helsinki-systems.dedas_jMy C++ skills are more limited than my Perl skills :/13:24:06
@grahamc:nixos.org@grahamc:nixos.orgmine aren't winning any awards but I don't mind diving in13:26:38
@janne.hess:helsinki-systems.dedas_jI already learned Perl the hard way in the last days, no need to drive myself too insane :D13:27:29
@janne.hess:helsinki-systems.dedas_j (Disclaimer: I'm not a Perl developer and I have zero training!) 13:28:00
@grahamc:nixos.org@grahamc:nixos.orghehe13:29:14
@grahamc:nixos.org@grahamc:nixos.orgwhat're you learning perl for?? :)13:29:21
@janne.hess:helsinki-systems.dedas_jnot learning, just doing13:30:14
@janne.hess:helsinki-systems.dedas_jit's for switch-to-configuration.pl (the link works btw)13:30:27
@grahamc:nixos.org@grahamc:nixos.orgah13:30:34
@grahamc:nixos.org@grahamc:nixos.orgoh my gosh13:30:43
@janne.hess:helsinki-systems.dedas_jit's actually less awful than I expected. I'm used to doing hacks all the time and Perl just lets me do them13:31:09
@janne.hess:helsinki-systems.dedas_jNot like Python which is always like "oh no you can't do that that's not the way we intended"13:31:28
@grahamc:nixos.org@grahamc:nixos.orgI find it so bizarre that our most important, least safe things we do are written in longish bash & perl scripts without any code quality standards or tests13:35:43
@janne.hess:helsinki-systems.dedas_jThere are some tests now (at least for stc)13:41:03
@grahamc:nixos.org@grahamc:nixos.orgnice13:41:22
20 Oct 2021
@grahamc:nixos.org@grahamc:nixos.orga small PRs reducing warning noise: https://github.com/NixOS/hydra/pull/1043 a small PR making GitHubPulls not use jq https://github.com/NixOS/hydra/pull/104202:14:02
@janne.hess:helsinki-systems.dedas_j grahamc (he/him): wouldn't it be nicer to do something like return ($self->{config}->{enable_bitbucket_status} // 0) == 1;? 06:48:41
@grahamc:nixos.org@grahamc:nixos.orgsounds nice13:43:17
@grahamc:nixos.org@grahamc:nixos.org das_j: 14:40:31

Show newer messages


Back to Room ListRoom Version: 6