Page MenuHomePhabricator

Use authoritative PHIDs for Herald "Task Projects" condition
ClosedPublic

Authored by epriestley on Jul 26 2014, 12:07 PM.
Tags
None
Referenced Files
F14061908: D10060.diff
Mon, Nov 18, 9:19 AM
F14061496: D10060.id24186.diff
Mon, Nov 18, 6:48 AM
F14049974: D10060.diff
Thu, Nov 14, 3:43 PM
F14036482: D10060.diff
Sun, Nov 10, 10:25 AM
F14022032: D10060.diff
Wed, Nov 6, 2:53 PM
F14002180: D10060.diff
Fri, Oct 25, 4:03 PM
F13996832: D10060.id24188.diff
Thu, Oct 24, 12:21 AM
F13989690: D10060.id.diff
Mon, Oct 21, 10:21 PM
Subscribers

Details

Summary

Fixes T5707. After work on T5245, the $task object may not have the correct set of task PHIDs attached to it when Herald is invoked.

Instead, just fetch the authoritative set. This is simple, and Herald is not super performance sensitive (happens on a write) so hitting the DB once is fine.

Test Plan

Created a task with projects, verified the projects field contained the correct values when processed by Herald.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Use authoritative PHIDs for Herald "Task Projects" condition.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: joshuaspence, chad, btrahan.
This revision is now accepted and ready to land.Jul 26 2014, 1:47 PM
epriestley updated this revision to Diff 24188.

Closed by commit rP0b5fcb36ae8c (authored by @epriestley).