!zghijEASpYQWYFzriI:nixos.org

Hydra

395 Members
111 Servers

Load older messages


SenderMessageTime
11 Jan 2022
@grahamc:nixos.org@grahamc:nixos.org:)01:07:28
@grahamc:nixos.org@grahamc:nixos.orgI like to see PRs come with a lot of tests, which typically pushes the Perl from yucky Perl to tolerable01:07:59
@grahamc:nixos.org@grahamc:nixos.orgimho01:08:01
@ius:nltrix.net@ius:nltrix.netAre there any samples/excepts of the database anywhere? The builds/buildoutputs table in particular I guess01:10:06
@ius:nltrix.net@ius:nltrix.netI wanted to give debugging it a shot (though writing anything but SQL might not be my forte)01:11:10
@grahamc:nixos.org@grahamc:nixos.orgwell ... I can try and get you an export, but it is quite large. are you on github?01:12:24
@ius:nltrix.net@ius:nltrix.netSure, same nickname.01:12:40
@grahamc:nixos.org@grahamc:nixos.orgmind if I DM?01:13:07
@ius:nltrix.net@ius:nltrix.netnot at all01:13:15
@ius:nltrix.net@ius:nltrix.netbtw, while digging in I noticed something else01:14:13
@ius:nltrix.net@ius:nltrix.net
$ rg IndexBuildOutputsOnPath
upgrade-12.sql
1:create index IndexBuildOutputsOnPath on BuildOutputs(path);
01:14:28
@ius:nltrix.net@ius:nltrix.net That index doesn't seem to be part of hydra.sql.. 01:15:21
@ius:nltrix.net@ius:nltrix.net(which I assume is the full up-to-date schema)01:15:35
@grahamc:nixos.org@grahamc:nixos.orgyeah, it should be01:17:54
@grahamc:nixos.org@grahamc:nixos.orgthat is Interesting01:18:01
@grahamc:nixos.org@grahamc:nixos.orgnice, I got hydra to send github statuses for builds that didn't change in a PR02:05:59
@janne.hess:helsinki-systems.dedas_jHmm looks like the gcroot stuff doesn't work as I expected… it's currently keeping results of the last X evaluations of the jobset. Shouldn't it keep the last X evaluations per job?09:23:19
@janne.hess:helsinki-systems.dedas_jTo elaborate, I have a job that doesn't evaluate anymore and the latest build (some evals ago) has been gc'ed even though it's the latest one09:23:50
@grahamc:nixos.org@grahamc:nixos.orgthat is the way I'd expect it to work14:29:30
@grahamc:nixos.org@grahamc:nixos.org * the way it currently works is the way I'd expect it to work14:29:37
@janne.hess:helsinki-systems.dedas_jso it does look like we have different ideas how it's supposed to work :D14:29:51
@grahamc:nixos.org@grahamc:nixos.orgit could be very expensive to find the most recent job that builds/evaluates, especially because does it not evaluate because it was removed, or does it not evaluate because it is broken -- I don't think we differentiate14:31:32
@janne.hess:helsinki-systems.dedas_jI can try a RunCommand for that particular jobset that sets the latest job result as "Keep" (if I can figure out how I do that)14:32:11
@grahamc:nixos.org@grahamc:nixos.orgthat is an interesting idea!14:33:56
@grahamc:nixos.org@grahamc:nixos.orgyou would keep stale GC roots around for jobsets that are deleted, but that is probably f ine14:42:21
@andreas.schraegle:helsinki-systems.deajs124doesn't that happen already?14:42:46
@grahamc:nixos.org@grahamc:nixos.orgI don't think so14:43:14
@grahamc:nixos.org@grahamc:nixos.orgbut maybe?14:43:16
@janne.hess:helsinki-systems.dedas_jI don't think so, no14:43:24
@janne.hess:helsinki-systems.dedas_jit goes over all jobsets, marks the roots to keep, and then goes over all root and deletes unmarked ones14:44:09

Show newer messages


Back to Room ListRoom Version: 6