@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

When "phabricator.silent" is enabled, don't call webhooks

Summary: Ref T13078. The `phabricator.silent` configuration flag should disable webhook calls, since this is consistent with the documented and desired behavior.

Test Plan: Enabled `phabricator.silent`, made test hook calls, saw them fail with a "silent" failure reason.

Maniphest Tasks: T13078

Differential Revision: https://secure.phabricator.com/D19084

+7
+7
src/applications/herald/worker/HeraldWebhookWorker.php
··· 32 32 $status)); 33 33 } 34 34 35 + // If we're in silent mode, permanently fail the webhook request and then 36 + // return to complete this task. 37 + if (PhabricatorEnv::getEnvConfig('phabricator.silent')) { 38 + $this->failRequest($request, 'hook', 'silent'); 39 + return; 40 + } 41 + 35 42 $hook = $request->getWebhook(); 36 43 37 44 if ($hook->isDisabled()) {