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
Unknown Object (File)
Tue, May 7, 1:01 AM
Unknown Object (File)
Sat, Apr 27, 10:13 AM
Unknown Object (File)
Mon, Apr 22, 10:29 PM
Unknown Object (File)
Apr 8 2024, 3:11 PM
Unknown Object (File)
Apr 3 2024, 1:15 AM
Unknown Object (File)
Mar 10 2024, 12:18 PM
Unknown Object (File)
Feb 12 2024, 12:43 PM
Unknown Object (File)
Feb 12 2024, 6:33 AM
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).