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)
Wed, Nov 13, 7:56 PM
Unknown Object (File)
Wed, Nov 13, 4:48 PM
Unknown Object (File)
Wed, Nov 13, 12:50 PM
Unknown Object (File)
Tue, Nov 12, 4:04 PM
Unknown Object (File)
Oct 11 2024, 7:22 PM
Unknown Object (File)
Oct 11 2024, 7:22 PM
Unknown Object (File)
Oct 11 2024, 7:05 PM
Unknown Object (File)
Oct 11 2024, 7:02 PM
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
No Lint Coverage
Unit
No Test Coverage