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
F11652337: D21707.diff
Sat, Apr 1, 12:23 AM
Unknown Object (File)
Mon, Mar 27, 5:39 AM
Unknown Object (File)
Feb 28 2023, 4:00 PM
Unknown Object (File)
Feb 27 2023, 6:12 PM
Unknown Object (File)
Feb 23 2023, 11:42 PM
Unknown Object (File)
Feb 21 2023, 5:17 PM
Unknown Object (File)
Feb 12 2023, 11:54 AM
Unknown Object (File)
Feb 8 2023, 7:00 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.