!zghijEASpYQWYFzriI:nixos.org

Hydra

396 Members
112 Servers

Load older messages


SenderMessageTime
11 Jan 2022
@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
@janne.hess:helsinki-systems.dedas_j

also fyi:

        # If the jobset has been hidden and disabled for more than one
        # week, then don't keep its builds anymore.
        if ($jobset->enabled == 0 && ($project->hidden == 1 || $jobset->hidden == 1) && (time() - ($jobset->lastcheckedtime || 0) > (7 * 24 * 3600))) {
            print STDERR "*** skipping disabled jobset ", $project->name, ":", $jobset->name, "\n";
            next;
        }
14:46:01
@grahamc:nixos.org@grahamc:nixos.orgoh that is a nice enough feature14:46:46
@janne.hess:helsinki-systems.dedas_jwould be even nicer if anyone knew about it :D14:46:56
@grahamc:nixos.org@grahamc:nixos.orgI am constantly amazed by features I find14:47:18
@janne.hess:helsinki-systems.dedas_j

also:

        # Don't delete roots that are less than a day old, to prevent
        # a race where hydra-eval-jobs has added a root but
        # hydra-evaluator hasn't added them to the database yet.
14:47:41
@grahamc:nixos.org@grahamc:nixos.orggot it14:47:56
@grahamc:nixos.org@grahamc:nixos.orgwell, hydra-eval-jobset can't take more than 1h to complete, so that 1d is generously sufficient14:48:32
@grahamc:nixos.org@grahamc:nixos.orgre: https://github.com/NixOS/hydra/blob/ff26ce0d06d222ac0ee2908b72130e179e779165/src/script/hydra-eval-jobset#L4114:49:03
@janne.hess:helsinki-systems.dedas_jso many things I learn today :D14:49:23
@grahamc:nixos.org@grahamc:nixos.orgyou can pick a random file in Hydra, read it top to bottom, and learn a great deal14:49:38
@grahamc:nixos.org@grahamc:nixos.orgwriting this test was very educational: https://github.com/NixOS/hydra/pull/1101/files#diff-4136e9d36533256d985deeaf2febd84bf03160ae5ea5030b6e658bdc7efbfcbc14:50:00
@janne.hess:helsinki-systems.dedas_joh finally a full list of events14:50:27
@grahamc:nixos.org@grahamc:nixos.orgno this is not a full list14:50:33
@grahamc:nixos.org@grahamc:nixos.orgjust a full list from the evaluator14:50:39
@janne.hess:helsinki-systems.dedas_joh finally a full list of events from the evaluator14:50:53
@grahamc:nixos.org@grahamc:nixos.orgfor example the order builds are inserted in to the builds table is randomized on purpose so the scheduler doesn't get bogged down in KDE: https://github.com/NixOS/hydra/commit/109cc35edf29dde584f7b4b7375c1ac639162cbe14:51:33
@grahamc:nixos.org@grahamc:nixos.orgit is complicated having a bunch of experimental branches that I'm using all at the same time, sigh15:25:31
@grahamc:nixos.org@grahamc:nixos.org

whew. Here we go, a cleaned up list of things brewing:

More predictable statuses for integrations like GitHub:

  • https://github.com/NixOS/hydra/pull/1101
  • https://github.com/DeterminateSystems/hydra/pull/5
  • https://github.com/DeterminateSystems/hydra/pull/6

Dynamic RunCommand hooks:

  • https://github.com/NixOS/hydra/pull/1103
  • https://github.com/DeterminateSystems/hydra/pull/4
  • https://github.com/DeterminateSystems/hydra/pull/4

Schema cleanup:

  • https://github.com/NixOS/hydra/pull/1093
15:57:15
@grahamc:nixos.org@grahamc:nixos.org *

whew. Here we go, a cleaned up list of things brewing:

More predictable statuses for integrations like GitHub:

  • https://github.com/NixOS/hydra/pull/1101
  • https://github.com/DeterminateSystems/hydra/pull/5
  • https://github.com/DeterminateSystems/hydra/pull/6

Dynamic RunCommand hooks:

  • https://github.com/NixOS/hydra/pull/1103
  • https://github.com/DeterminateSystems/hydra/pull/4

Schema cleanup:

  • https://github.com/NixOS/hydra/pull/1093
15:59:37
@ius:nltrix.net@ius:nltrix.net grahamc (he/him): I reproduced it using some test data and dropped by analysis on the most relevant ticket I could find https://github.com/NixOS/hydra/issues/901#issuecomment-1010158760 16:51:56
@ius:nltrix.net@ius:nltrix.netNot sure if you got pinged (as I edited to mention you), so if not ^^^^^^16:52:13

Show newer messages


Back to Room ListRoom Version: 6