Page MenuHomePhabricator

[identity] Introduce PlatformDetails DDB attribute
ClosedPublic

Authored by bartek on Jun 3 2024, 4:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 21, 9:22 PM
Unknown Object (File)
Fri, Jun 21, 12:42 PM
Unknown Object (File)
Fri, Jun 21, 4:21 AM
Unknown Object (File)
Sat, Jun 15, 11:44 AM
Unknown Object (File)
Fri, Jun 14, 9:05 PM
Unknown Object (File)
Fri, Jun 14, 5:55 AM
Unknown Object (File)
Mon, Jun 10, 7:17 PM
Unknown Object (File)
Mon, Jun 10, 10:39 AM
Subscribers

Details

Summary

Resolves this comment
We want to store Redux state version and Desktop version (full type PlatformDetails) in DDB.

Test Plan
  • Registered a device before this diff
  • Registered a device with this diff applied

Then:

  • Used awslocal dynamodb scan --table-name identity-devices to make sure platform details are there
  • Modified GetInboundKeys RPC handler to print out devices data to console when fetched them from DDB. Made sure PlatformDetails is present and correct for both devices.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable