!zghijEASpYQWYFzriI:nixos.org

Hydra

394 Members
110 Servers

Load older messages


SenderMessageTime
10 Jan 2022
@grahamc:nixos.org@grahamc:nixos.orgI'm thinking about adding the sha256 hash of a path's input to the "revision" of a PathInput. Right now it is just a timestamp which causes problems if you evaluate the same path input twice in the same second and it has changed15:51:29
@grahamc:nixos.org@grahamc:nixos.orgre: https://github.com/NixOS/hydra/pull/109616:01:34
@grahamc:nixos.org@grahamc:nixos.organy reason this is a bad idea?16:01:42
@janne.hess:helsinki-systems.dedas_j
In reply to @andreas.schraegle:helsinki-systems.de
which remindes me, hydra-eval-jobs started segfaulting for us yesterday and I haven't figured out why, yet.
https://github.com/NixOS/nix/pull/5875
17:00:08
@grahamc:nixos.org@grahamc:nixos.orgexciting17:00:30
@andreas.schraegle:helsinki-systems.deajs124
In reply to @grahamc:nixos.org
exciting
I'd prefer it boring, tbh
17:01:26
@janne.hess:helsinki-systems.dedas_j
In reply to @grahamc:nixos.org
any reason this is a bad idea?
Don't really see one
17:08:06
@grahamc:nixos.org@grahamc:nixos.org dang das_j good stuff 18:44:27
@janne.hess:helsinki-systems.dedas_jI'm surprised myself :D18:44:36
@janne.hess:helsinki-systems.dedas_jJust emptying out our local patches18:44:44
@grahamc:nixos.org@grahamc:nixos.orgnice18:45:04
@janne.hess:helsinki-systems.dedas_j oof theres still sed -i 's/evalSettings.restrictEval = true/evalSettings.restrictEval = false/' "$(find -name hydra-eval-jobs.cc)" 👀 18:45:24
@grahamc:nixos.org@grahamc:nixos.org das_j: I'm inclined to just hit merge on this PR. 18:58:52
@janne.hess:helsinki-systems.dedas_jI won't keep you from it ;)19:05:30
@janne.hess:helsinki-systems.dedas_j

we have these blessed PRs that we've been running for some time now:

          # restart buttons
          "836" = "sha256-BKtSgJQarVxkveeU4QqtOtqpgq76826COvL5BdRPvbc=";
          # GitInput: Avoid fetch if rev is available
          "868" = "sha256-dTFGWhfiANs5Z5ScmZxFaCZPZfAVBJOceEOvVMHShSw=";
          # queue-runner status in topbar
          "869" = "sha256-iFpMV4Z5VE7YmvnAHAydUQYk0FNKNarPYqRHEAuT4/w=";
          # tailon
          "957" = "sha256-M7MiBcG3DCezdyg7HgNnLWPlJcU2NgLUyI1LXlihXrU=";
          # improved UI
          "965" = "sha256-VJ6JwPFWwT5qy+dBsqecnvKtmHZ+VemCqYE6EmiWQQM=";
          # print whats being evaluated
          "1094" = "sha256-U6m8XySqZ/j6qYWGvSeZ7zLip25NGk4PREMo4HJS/X8=";
          # fix warnings and logging
          "1098" = "sha256-RD9zvAjzVLFq0hzZiFg7JrPvLdlwL249wQLlx9OKU4s=";
19:05:57
@grahamc:nixos.org@grahamc:nixos.orghttps://github.com/NixOS/hydra/pull/1101 is in prep to this commit: https://github.com/NixOS/hydra/commit/6f387b363cc9b687c859756d153908add8065149 which proposes sending cached_build_finished and cached_build_queued events to be able to send status events externally in a non-spammy way21:56:50
@ius:nltrix.net@ius:nltrix.net joined the room.23:20:37
11 Jan 2022
@ius:nltrix.net@ius:nltrix.netHas anyone investigated why the search is so slow (particularly on NixOS hydra, but I guess it's a general defect at least in theory)?00:51:33
@grahamc:nixos.org@grahamc:nixos.orgI've done a lot of research in to it, and there are a bunch of options on making it faster00:53:09
@grahamc:nixos.org@grahamc:nixos.orgit depends on what you're searching for00:53:32
@ius:nltrix.net@ius:nltrix.netPerhaps it's in part my novice interactions with Hydra (I hardly know 'er), but it's not helping in getting me familiar. (end of rant part)00:54:35
@ius:nltrix.net@ius:nltrix.netNow I did do some sleuthing, and found e.g. https://github.com/NixOS/hydra/pull/85400:54:52
@grahamc:nixos.org@grahamc:nixos.orgyeah, and the comments on https://github.com/NixOS/hydra/pull/853 include some of my research00:55:11
@grahamc:nixos.org@grahamc:nixos.orgin general I haven't worked on making them faster because of time limits :)00:55:25
@ius:nltrix.net@ius:nltrix.netYes, I saw that ticket as well.00:55:38
@ius:nltrix.net@ius:nltrix.net Anyhow, it's exactly the issue I'm experiencing. Times out on buildoutputs.path ILIKE ?, which relates to: https://github.com/NixOS/hydra/blob/master/src/lib/Hydra/Controller/Root.pm#L477-L487 00:56:38
@grahamc:nixos.org@grahamc:nixos.orgwhat is your use case for search?00:57:00
@ius:nltrix.net@ius:nltrix.netBoth seem to involve derivation paths, so I'm wondering why there's a LIKE in the first place?00:57:11
@ius:nltrix.net@ius:nltrix.netI wanted to search a nix path in this case00:57:22
@ius:nltrix.net@ius:nltrix.net To be really precise, my input was: yah9mf7x2ycalb28gg9ximh49g0akkrn-audit-riscv64-unknown-linux-gnu-2.8.5-bin 00:57:54

Show newer messages


Back to Room ListRoom Version: 6