Page MenuHomePhabricator

D14541.id35186.diff
No OneTemporary

D14541.id35186.diff

diff --git a/src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php b/src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php
--- a/src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php
+++ b/src/applications/harbormaster/conduit/HarbormasterSendMessageConduitAPIMethod.php
@@ -256,10 +256,15 @@
// If the build has completely paused because all steps are blocked on
// waiting targets, this will resume it.
+ $build = $build_target->getBuild();
+
PhabricatorWorker::scheduleTask(
'HarbormasterBuildWorker',
array(
- 'buildID' => $build_target->getBuild()->getID(),
+ 'buildID' => $build->getID(),
+ ),
+ array(
+ 'objectPHID' => $build->getPHID(),
));
return null;
diff --git a/src/applications/harbormaster/editor/HarbormasterBuildTransactionEditor.php b/src/applications/harbormaster/editor/HarbormasterBuildTransactionEditor.php
--- a/src/applications/harbormaster/editor/HarbormasterBuildTransactionEditor.php
+++ b/src/applications/harbormaster/editor/HarbormasterBuildTransactionEditor.php
@@ -98,6 +98,9 @@
'HarbormasterBuildWorker',
array(
'buildID' => $build->getID(),
+ ),
+ array(
+ 'objectPHID' => $build->getPHID(),
));
}
diff --git a/src/applications/harbormaster/engine/HarbormasterBuildEngine.php b/src/applications/harbormaster/engine/HarbormasterBuildEngine.php
--- a/src/applications/harbormaster/engine/HarbormasterBuildEngine.php
+++ b/src/applications/harbormaster/engine/HarbormasterBuildEngine.php
@@ -81,6 +81,9 @@
'HarbormasterTargetWorker',
array(
'targetID' => $target->getID(),
+ ),
+ array(
+ 'objectPHID' => $target->getPHID(),
));
}
diff --git a/src/applications/harbormaster/storage/HarbormasterBuildable.php b/src/applications/harbormaster/storage/HarbormasterBuildable.php
--- a/src/applications/harbormaster/storage/HarbormasterBuildable.php
+++ b/src/applications/harbormaster/storage/HarbormasterBuildable.php
@@ -184,6 +184,9 @@
'HarbormasterBuildWorker',
array(
'buildID' => $build->getID(),
+ ),
+ array(
+ 'objectPHID' => $build->getPHID(),
));
return $build;

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 15, 6:06 AM (3 w, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7685069
Default Alt Text
D14541.id35186.diff (2 KB)

Event Timeline