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:
@@ -52,6 +52,7 @@ final class HeraldCommitAdapter
|
||||
->withPHIDs(array($commit_phid))
|
||||
->needCommitData(true)
|
||||
->needIdentities(true)
|
||||
->needAuditRequests(true)
|
||||
->executeOne();
|
||||
if (!$commit) {
|
||||
throw new Exception(
|
||||
|
||||
Reference in New Issue
Block a user