hydra-eval-jobset: Fix two minor bugs

[?]
Jan 10, 2022, 5:28 PM
O4QHGXYIVGJVSI52EMSROPKZ7RSQ4MU4PZHPBHHFNBR7G3E7GEAQC

Dependencies

  • [2] DC2RV54X Fixup #717 "Add the project name to declarative inputs"
  • [3] SW7STLQ7 Cache flake-based jobset evaluations
  • [4] BCFAS6VO declarative projects: support fully static, declarative configuration
  • [5] RXVJFQ5A Evaluator cleanups
  • [6] WVD3YYON hydra-evaluator: Add some debug code
  • [7] CCIORPJ5 When manually scheduling an eval, force re-instantiation of store derivations
  • [8] 5SHCWE7X * Prevent repeated evaluation of a jobset with the same inputs. This
  • [9] ROFDFIZB Fix non-static declarative jobsets
  • [10] PDZD5QOR hydra-evaluator: handle the case where there is no previous jobset eval
  • [11] VIJBYUAV Add the project name to declarative inputs
  • [*] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • replacement in src/script/hydra-eval-jobset at line 610
    [3.4666][2.0:129]()
    $inputInfo->{"projectName"} = [ fetchInput($plugins, $db, $project, $jobset, "", "string", $project->name, 0) ];
    [3.4666]
    [3.341]
    $inputInfo->{"projectName"} = [ fetchInput($plugins, $db, $project, $jobset, "projectName", "string", $project->name, 0) ];
  • replacement in src/script/hydra-eval-jobset at line 655
    [3.55][3.725:854]()
    if (defined $prevEval && $prevEval->hash eq $argsHash && !$dryRun && !$jobset->forceeval && $prevEval->flake eq $flakeRef) {
    [3.55]
    [3.1961]
    if (defined $prevEval && $prevEval->hash eq $argsHash && !$dryRun && !$jobset->forceeval && (!defined($flakeRef) || ($prevEval->flake eq $flakeRef))) {