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
Unknown Object (File)
Sat, Dec 14, 9:09 PM
Unknown Object (File)
Thu, Dec 12, 3:25 AM
Unknown Object (File)
Tue, Dec 10, 11:24 PM
Unknown Object (File)
Sun, Dec 8, 1:19 AM
Unknown Object (File)
Wed, Dec 4, 5:24 AM
Unknown Object (File)
Sat, Nov 30, 6:35 AM
Unknown Object (File)
Tue, Nov 26, 4:16 PM
Unknown Object (File)
Tue, Nov 26, 7:36 AM
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.