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)
Sun, Jan 19, 10:27 PM
Unknown Object (File)
Sun, Jan 19, 10:27 PM
Unknown Object (File)
Sun, Jan 19, 10:27 PM
Unknown Object (File)
Sun, Jan 19, 10:26 PM
Unknown Object (File)
Dec 16 2024, 1:56 PM
Unknown Object (File)
Dec 16 2024, 1:56 PM
Unknown Object (File)
Dec 16 2024, 1:56 PM
Unknown Object (File)
Dec 16 2024, 1:56 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
Lint Not Applicable
Unit
Tests Not Applicable