This is more consistent with the other event handlers, of dealing with IDs and not objects.
GE7LFZHQHT2ENWSZRNF6KWNBRXTHLA2SQGHT5ARACU4CZWDPWOZQC
4ZCUCACYWDLCZUKIH2OLFC4NCPBE2YO7Y7AZ7WL3AESZQ3TSIYXQC
32KJOERMPFWZZZCIN6TGGVX72GMAJT6VCCIP7S65EHNF3KM42KWAC
IE2PRAQUCQVFPJ4CAIJRPXXEFC5VBAE3EO5I5FG4XWEDRNONNHKQC
my ($build, @deps) = @_;
my ($buildId, @deps) = @_; my $build = $db->resultset('Builds')->find($buildId) or die "build $buildId does not exist\n";
my ($buildId, @deps) = @_;
my $build = $db->resultset('Builds')->find($buildId)
or die "build $buildId does not exist\n";
buildFinished($build);
buildFinished($build->id);
my $build = $db->resultset('Builds')->find($buildId) or die "build $buildId does not exist\n"; buildFinished($build, @payload[1..$#payload]);
buildFinished($build, @payload[1..$#payload]);
buildFinished($buildId, @payload[1..$#payload]);