Page MenuHomePhabricator

Send mail to audit comment author too
ClosedPublic

Authored by sophiebits on Mar 30 2014, 7:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 11:32 PM
Unknown Object (File)
Wed, Apr 17, 2:48 PM
Unknown Object (File)
Sun, Apr 14, 4:59 PM
Unknown Object (File)
Thu, Apr 4, 12:25 PM
Unknown Object (File)
Thu, Apr 4, 11:16 AM
Unknown Object (File)
Sat, Mar 30, 11:25 AM
Unknown Object (File)
Fri, Mar 29, 1:03 PM
Unknown Object (File)
Mar 15 2024, 3:52 AM
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).