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
F18791331: D10221.diff
Thu, Oct 16, 9:50 AM
F18768362: D10221.id.diff
Wed, Oct 8, 3:13 AM
F18710081: D10221.id24593.diff
Mon, Sep 29, 1:24 AM
F18618862: D10221.diff
Sep 15 2025, 1:08 AM
F18115103: D10221.id24588.diff
Aug 13 2025, 6:22 AM
F18115102: D10221.id24593.diff
Aug 13 2025, 6:22 AM
F18086523: D10221.id24593.diff
Aug 5 2025, 10:22 PM
F17983078: D10221.id24588.diff
Aug 1 2025, 7:59 PM
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
Lint
Lint Skipped
Unit
Tests Skipped