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
F15566817: D21707.diff
Thu, May 1, 11:55 PM
F15555428: D21707.id51712.diff
Mon, Apr 28, 11:20 AM
F15528662: D21707.id51712.diff
Tue, Apr 22, 1:04 PM
F15525993: D21707.id.diff
Mon, Apr 21, 6:22 PM
F15523249: D21707.id51712.diff
Mon, Apr 21, 12:09 AM
F15521179: D21707.diff
Sun, Apr 20, 11:52 AM
F15516916: D21707.diff
Fri, Apr 18, 10:07 PM
F15481269: D21707.id51714.diff
Tue, Apr 8, 7:34 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.