HomePhabricator
Diffusion Comm 7617de987f2d

[identity] Remove blob holders on logout and account deletion

Description

[identity] Remove blob holders on logout and account deletion

Summary:
Final diff for ENG-9368.

  • Besides Tunnelbroker and Backup data, blob holders are also removed
  • Some renames

Depends on D13651

Test Plan:
Mocked this by creating a device by Commtest, manually added some holders prefixed by its device ID, then logging it out (also with commtest).
Checked Identity logs and DDB by querying for indexed_tag=deviceID. Verified that holders were gone.

Final testing will be done on staging:

  • Log in a device, jot down its device ID, start a DM thread, set avatar to image, then reset back to emoji.
  • Simulate blob service connection error - change blob URL client to fake, or comment-out the call and return failure.
  • Log out the device.
  • Verify Identity logs and DDB by querying for indexed_tag=deviceID. Holders should be gone.

Reviewers: varun, will, kamil

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D13652

Details

Provenance
bartekAuthored on Oct 5 2024, 3:55 AM
Reviewer
kamil
Differential Revision
D13652: [identity] Remove blob holders on logout and account deletion
Parents
rCOMMbc71ac4c9c70: [identity] Pass Blob client to AuthenticatedService
Branches
Unknown
Tags
Unknown