Page MenuHomePhabricator

[backup] Return keyserver device ID in latest backup info endpoint
ClosedPublic

Authored by bartek on Mar 20 2025, 4:02 AM.
Tags
None
Referenced Files
F6214511: D14467.id47478.diff
Thu, Apr 24, 1:09 AM
F6204030: D14467.id.diff
Wed, Apr 23, 9:05 PM
F6197065: D14467.diff
Wed, Apr 23, 3:10 PM
Unknown Object (File)
Fri, Apr 11, 4:19 AM
Unknown Object (File)
Fri, Apr 11, 3:48 AM
Unknown Object (File)
Thu, Apr 10, 2:32 PM
Unknown Object (File)
Thu, Apr 10, 9:15 AM
Unknown Object (File)
Mon, Apr 7, 11:15 AM
Subscribers

Details

Summary

Address server-side of ENG-10236. Implemented approach 2 from task comments.

Depends on D14466

Test Plan

Using Postman, called the endpoint for user with- and without keyserver. Verified that returned device ID matches my keyserver device ID.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Mar 23 2025, 11:51 PM
bartek added inline comments.
shared/comm-lib/src/backup/mod.rs
15 ↗(On Diff #47477)

I missed committing this

kamil added inline comments.
services/backup/src/identity/mod.rs
59 ↗(On Diff #47478)

If this is easy I would add tests for it, in e.g. identity_integration_tests.rs

This revision is now accepted and ready to land.Mar 24 2025, 3:56 AM
services/backup/src/identity/mod.rs
59 ↗(On Diff #47478)

We have test_device_list_multifetch which tests this RPC call

Add serde rename directive

This revision was landed with ongoing or failed builds.Mar 24 2025, 6:55 AM
This revision was automatically updated to reflect the committed changes.