Page MenuHomePhabricator

Send mail to audit comment author too
ClosedPublic

Authored by sophiebits on Mar 30 2014, 7:26 PM.
Tags
None
Referenced Files
F14345105: D8650.diff
Thu, Dec 19, 1:03 AM
Unknown Object (File)
Mon, Dec 16, 4:45 PM
Unknown Object (File)
Sun, Dec 15, 1:53 PM
Unknown Object (File)
Tue, Dec 10, 2:01 PM
Unknown Object (File)
Tue, Dec 10, 6:49 AM
Unknown Object (File)
Mon, Dec 9, 4:47 PM
Unknown Object (File)
Wed, Dec 4, 11:15 AM
Unknown Object (File)
Wed, Nov 27, 5:32 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rPdeba531401f7: Send mail to audit comment author too
Summary

Previously, you would not receive a mail message for the first comment you make on an audit, but you would for subsequent comments because everyone who's made a comment would be CCed on the email. This mirrors DifferentialTransactionEditor's getMailTo which always adds $object->getAuthorPHID().

Test Plan

With self mail turned on, made the first comment on a commit and received an email for it. With self mail turned off, commented on a different commit and saw in bin/mail list-outbound that the message was voided.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sophiebits retitled this revision from to Send mail to audit comment author too.
sophiebits updated this object.
sophiebits edited the test plan for this revision. (Show Details)
sophiebits added a reviewer: epriestley.
epriestley edited edge metadata.

Thanks! That lint error is approximately T1486 (in this case, it's actually "symbol caches aren't dropped/dirtied when we add new functions to the extension function list"). We added these in D8280, but I'm guessing your caches predate that.

Since this arises rarely and only for developers and there isn't an obvious five-line fix, I haven't gotten around to fixing it. The best workaround at the moment is to nuke these files:

rm libphutil/src/.phutil_module_cache
rm arcanist/src/.phutil_module_cache
rm phabricator/src/.phutil_module_cache
This revision is now accepted and ready to land.Mar 31 2014, 2:51 PM
epriestley updated this revision to Diff 20526.

Closed by commit rPdeba531401f7 (authored by @spicyj, committed by @epriestley).