!zghijEASpYQWYFzriI:nixos.org

Hydra

395 Members
112 Servers

Load older messages


SenderMessageTime
21 Jan 2022
@grahamc:nixos.org@grahamc:nixos.orgoh cool20:28:53
@janne.hess:helsinki-systems.dedas_jIt actually works20:29:10
@grahamc:nixos.org@grahamc:nixos.orgnice!20:29:13
@janne.hess:helsinki-systems.dedas_jI hate hashrefs so much20:29:14
@grahamc:nixos.org@grahamc:nixos.orgI mean lists and list flatenning and all of that is generally awful20:29:39
@janne.hess:helsinki-systems.dedas_j I'm always like %{%whatever and perl is always like "why would you do it this ugly way?" 20:29:45
@grahamc:nixos.org@grahamc:nixos.orgit is why I write (and ask for) small functions with tests20:29:49
@janne.hess:helsinki-systems.dedas_j
In reply to @grahamc:nixos.org
it is why I write (and ask for) small functions with tests
oh no :D
20:30:13
@janne.hess:helsinki-systems.dedas_jI didn't write one :/20:30:20
@grahamc:nixos.org@grahamc:nixos.orgwell... I can help ...20:30:27
@janne.hess:helsinki-systems.dedas_jnot sure how testable it is… most stuff comes from the framework and the weird plugin20:30:44
@grahamc:nixos.org@grahamc:nixos.orgyeah20:30:50
@janne.hess:helsinki-systems.dedas_jthere's already a PR if you want to take a look at the implementation… I really don't know how I would hook a test framework in it20:31:05
@ma27:nicht-so.sexyma27 grahamc (he/him): which LDAP fix? 21:58:08
@ma27:nicht-so.sexyma27btw anything missing to merge https://github.com/NixOS/hydra/pull/1091 ? :) 21:58:29
@grahamc:nixos.org@grahamc:nixos.org ma27: https://github.com/NixOS/hydra/pull/1132 22:12:55
22 Jan 2022
@ncfavier:matrix.orgnfis there a way to filter a list of jobs by failure mode? (dependency failed/timeout/etc)12:20:06
23 Jan 2022
@cgroves:matrix.org@cgroves:matrix.org joined the room.22:09:24
24 Jan 2022
@vcunat:matrix.orgvcunat
In reply to @ncfavier:matrix.org
is there a way to filter a list of jobs by failure mode? (dependency failed/timeout/etc)
No, I don't think so.
11:31:32
@vcunat:matrix.orgvcunatThere's some JSON API, I think, so perhaps there it might be easy to post-process.11:32:43
@janne.hess:helsinki-systems.dedas_j You can use the pretty documentation by opening https://petstore.swagger.io and pasting https://raw.githubusercontent.com/NixOS/hydra/master/hydra-api.yaml into the Explore bar on top 11:34:01
@grahamc:nixos.org@grahamc:nixos.org das_j: I'm looking at the runcommand log PR, and I think in general it looks pretty good. Obviously I'm inclined to follow up with some tests, but I'm wondering about the naming of the log files. I'm somewhat inclined to give them either a UUID stored in the DB, or use the runcommandlog record's ID. What do you think? 14:24:57
@grahamc:nixos.org@grahamc:nixos.orgI'd want to use that ID for accessing the log's contents instead of passing in a filename to the controller, and also for determining where to write it on disk14:25:22
@janne.hess:helsinki-systems.dedas_jYeah that makes a lot more sense, my approach was just the one with the least resistance ;)14:25:58
@grahamc:nixos.org@grahamc:nixos.orga UUID is nice because it gives something to do the directory sharding by14:27:00
@grahamc:nixos.org@grahamc:nixos.orgbut they're not as nice to query by14:28:19
@grahamc:nixos.org@grahamc:nixos.orgI'm not sure we need any security properties here around URL enumeration 14:28:46
@grahamc:nixos.org@grahamc:nixos.orgthough if we assume postgres >=13 (released in 2020) we get UUID generation in the database for cheap migrations: gen_random_uuid 14:32:53
@janne.hess:helsinki-systems.dedas_jI think it's fair to expect everyone to upgrade to 13. I'm still too lazy for the 14 upgrade :14:33:30
@janne.hess:helsinki-systems.dedas_j * I think it's fair to expect everyone to upgrade to 13. I'm still too lazy for the 14 upgrade :(14:33:32

Show newer messages


Back to Room ListRoom Version: 6