Page MenuHomePhabricator

Fix several issues with application interactions while importing commits
ClosedPublic

Authored by epriestley on Aug 11 2014, 5:49 PM.
Tags
None
Referenced Files
F14061695: D10221.id24588.diff
Mon, Nov 18, 8:02 AM
F14053838: D10221.diff
Fri, Nov 15, 7:58 PM
F14042027: D10221.diff
Mon, Nov 11, 11:49 PM
F14026124: D10221.diff
Thu, Nov 7, 11:46 PM
F13990355: D10221.diff
Tue, Oct 22, 2:58 AM
Unknown Object (File)
Oct 1 2024, 2:44 AM
Unknown Object (File)
Oct 1 2024, 2:44 AM
Unknown Object (File)
Sep 17 2024, 7:24 AM
Subscribers

Details

Summary
  • Fixes T5851. Currently, if a commit has Fixes T123, we generate an email with just that before generating the commit email. Don't send/publish transactions about a commit before it imports (this is a tiny bit hacky, but well-contained and I don't think it causes any problems).
  • Fixes T4864. Currently, we try to parse Differential information even if Differential is not installed. Instead, do this only if Differential is installed.
  • Fixes T5771. Currently, if we can't figure out who the committer/author of a commit is, we don't publish a Fixes T123 transaction. Instead, fall back to acting as "Diffusion" if we can't find a better actor. Most of this diff expands the role of application actors. The existing application actors (Herald and Harbormaster) seem to be working well.
Test Plan
  • Pushed a commit with Fixes T123 and verified it did not generate email directly. (The task half of the transaction still does, correctly.)
  • Uninstalled Differential and pushed a commit, got a clean import instead of an exception.
  • Commented out author/committer PHIDs and pushed stuff, saw a "Diffusion" actor.

Diff Detail

Repository
rP Phabricator
Branch
comactor
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2153
Build 2157: [Placeholder Plan] Wait for 30 Seconds