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)
Sun, Feb 25, 2:37 AM
Unknown Object (File)
Wed, Feb 21, 6:11 AM
Unknown Object (File)
Feb 15 2024, 7:43 AM
Unknown Object (File)
Feb 13 2024, 9:32 AM
Unknown Object (File)
Feb 10 2024, 7:29 AM
Unknown Object (File)
Feb 4 2024, 1:18 AM
Unknown Object (File)
Jan 20 2024, 3:28 AM
Unknown Object (File)
Jan 19 2024, 8:34 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.