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)
Sun, Dec 29, 4:39 PM
Unknown Object (File)
Fri, Dec 20, 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
Unknown Object (File)
Nov 29 2024, 4:31 AM
Unknown Object (File)
Nov 26 2024, 1:33 AM
Unknown Object (File)
Nov 22 2024, 12:27 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