Page MenuHomePhabricator

[identity] Make apply_devicelist_update more generic
ClosedPublic

Authored by bartek on Thu, Jun 27, 7:32 AM.
Tags
None
Referenced Files
F2184288: D12589.id41751.diff
Wed, Jul 3, 8:46 PM
F2184101: D12589.id41757.diff
Wed, Jul 3, 8:41 PM
F2181176: D12589.id41758.diff
Wed, Jul 3, 5:11 PM
F2178617: D12589.id41752.diff
Wed, Jul 3, 11:10 AM
F2175699: D12589.id41757.diff
Wed, Jul 3, 3:10 AM
Unknown Object (File)
Tue, Jul 2, 4:34 AM
Unknown Object (File)
Tue, Jul 2, 4:15 AM
Unknown Object (File)
Mon, Jul 1, 8:00 PM
Subscribers

Details

Summary

Currently, apply_devicelist_update requires a device list validator, and also has side effects (removes device data when it's removed from the list).
Usually we want this, but there are usecases when either of them is not needed - when these actions are performed externally.

Depends on D12588

Test Plan

Commtest. Confirmed that UpdateDeviceList RPC still works as expected - validates the device list and removes device data.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage