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
F18789925: D21707.diff
Wed, Oct 15, 11:46 AM
F18783164: D21707.diff
Mon, Oct 13, 4:23 AM
F18771718: D21707.id51714.diff
Wed, Oct 8, 9:19 PM
F18763644: D21707.id.diff
Tue, Oct 7, 1:15 AM
F18734442: D21707.id.diff
Sep 30 2025, 10:54 PM
F18726729: D21707.diff
Sep 30 2025, 6:53 AM
F18674296: D21707.diff
Sep 25 2025, 2:08 PM
F18633745: D21707.id51712.diff
Sep 16 2025, 8:57 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.