1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-28 04:00:17 +01:00

(stable) Fix an issue where Herald rules could fail to evaluate at post-commit time

Summary: Ref T13480. Some Herald fields need audit information, which recent changes to Herald adapters discarded. For now, just load it unconditionally.

Test Plan: Triggered an Audit-related rule locally.

Maniphest Tasks: T13480

Differential Revision: https://secure.phabricator.com/D20962
This commit is contained in:
epriestley 2020-02-03 05:04:01 -08:00
parent cc11dff7d3
commit 46fcd135ae

View file

@ -52,6 +52,7 @@ final class HeraldCommitAdapter
->withPHIDs(array($commit_phid))
->needCommitData(true)
->needIdentities(true)
->needAuditRequests(true)
->executeOne();
if (!$commit) {
throw new Exception(