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)
Tue, Jan 21, 9:15 AM
Unknown Object (File)
Sat, Jan 18, 7:46 AM
Unknown Object (File)
Sat, Jan 18, 5:17 AM
Unknown Object (File)
Dec 29 2024, 4:39 PM
Unknown Object (File)
Dec 20 2024, 4:28 PM
Unknown Object (File)
Dec 11 2024, 7:26 AM
Unknown Object (File)
Dec 8 2024, 11:31 AM
Unknown Object (File)
Dec 3 2024, 1:02 AM
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
Branch
hcommit
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13344
Build 17120: Run Core Tests
Build 17119: arc lint + arc unit