Restart: Clear failed dependencies

[?]
Oct 9, 2015, 1:39 PM
MR4QK7CESZDHDSAD54MMYNM33SU4IE6OS6SS73BWCEM3E4PB47ZAC

Dependencies

  • [2] RYTQLATY Keep track of failed paths in the Hydra database
  • [3] GSMOFPKF Fix restarting a build
  • [4] H4KMCXGU Use triggers for all notifications on Builds table changes
  • [5] VHV6GI4L Add a jobset eval action to restart all aborted/cancelled builds
  • [6] J5ITV54P Make restartBuilds faster
  • [7] ATJ54SPX Use PostgreSQL notifications for queue events
  • [8] UOINKJ2J Add an action to cancel all builds in a jobset eval
  • [*] 2GK5DOU7 * Downloading closures.

Change contents

  • replacement in src/lib/Hydra/Helper/Nix.pm at line 448
    [4.826][4.826:845]()
    my @paths;
    [4.826]
    [4.845]
    my %paths;
  • replacement in src/lib/Hydra/Helper/Nix.pm at line 454
    [4.994][3.0:69]()
    push @paths, $_->path foreach $build->buildoutputs->all;
    [4.994]
    [4.21]
    $paths{$_->path} = 1 foreach $build->buildoutputs->all;
    $paths{$_->path} = 1 foreach $build->buildstepoutputs->all;
  • replacement in src/lib/Hydra/Helper/Nix.pm at line 473
    [4.1577][2.2953:3072]()
    # FIXME: clear the dependencies?
    $db->resultset('FailedPaths')->search({ path => [ @paths ]})->delete;
    [4.1577]
    [4.1608]
    $db->resultset('FailedPaths')->search({ path => [ keys %paths ]})->delete;