Page MenuHomePhabricator

Resolve deleted packages properly as having no mailable members
ClosedPublic

Authored by epriestley on Jul 21 2021, 9:22 PM.
Tags
None
Referenced Files
F15481269: D21707.id51714.diff
Tue, Apr 8, 7:34 PM
F15455989: D21707.diff
Sun, Mar 30, 6:17 AM
F15451331: D21707.diff
Fri, Mar 28, 9:30 PM
F15435527: D21707.id51712.diff
Tue, Mar 25, 8:46 AM
F15423345: D21707.id51712.diff
Sat, Mar 22, 3:03 PM
F15421626: D21707.diff
Sat, Mar 22, 1:25 AM
F15420871: D21707.id51714.diff
Fri, Mar 21, 6:26 PM
F15418392: D21707.diff
Thu, Mar 20, 11:01 PM
Subscribers
None

Details

Summary

Fixes T13648. If a package recipient has been destroyed, this query currently fails to return an expanded recipient value.

Instead, make sure all input PHIDs get an output. For destroyed packages, the output will just be an empty list.

Test Plan
  • Added a package to a revision as a reviewer.
  • Destroyed the package.
  • Commented on the revision.
  • Processed the publishing worker with bin/worker execute.
  • Before: fatal after expanding the destroyed package.
  • After: clean publish.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jul 21 2021, 9:50 PM
This revision was automatically updated to reflect the committed changes.