Page MenuHomePhabricator

Fix Herald test adapter for commits
ClosedPublic

Authored by epriestley on Aug 17 2016, 3:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 29, 10:38 AM
Unknown Object (File)
Wed, May 28, 3:30 AM
Unknown Object (File)
Tue, May 27, 11:25 AM
Unknown Object (File)
Apr 28 2025, 10:39 AM
Unknown Object (File)
Apr 27 2025, 3:00 AM
Unknown Object (File)
Mar 30 2025, 12:57 PM
Unknown Object (File)
Mar 28 2025, 12:25 PM
Unknown Object (File)
Mar 27 2025, 11:14 PM
Subscribers
None

Details

Summary

Fixes T11488. I broke this in D16360, I think by doing a little extra refactoring after testing it.

This code is very old, before commits always needed to have repositories attached in order to do policy checks.

Modernize it by mostly just using the repository which is present on the Commit object, and using the existing edge cache.

Test Plan

Ran a commit through the Herald test adapter.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable