Page MenuHomePhabricator

[protos][identity] Add RPC for fetching multiple device lists
ClosedPublic

Authored by bartek on Apr 8 2024, 2:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 16, 8:47 AM
Unknown Object (File)
Fri, Apr 26, 6:18 PM
Unknown Object (File)
Thu, Apr 25, 10:14 AM
Unknown Object (File)
Mon, Apr 22, 1:01 PM
Unknown Object (File)
Mon, Apr 22, 11:25 AM
Unknown Object (File)
Apr 17 2024, 12:34 AM
Unknown Object (File)
Apr 13 2024, 6:23 PM
Unknown Object (File)
Apr 13 2024, 4:34 PM
Subscribers

Details

Summary

Addresses ENG-7591.

Depends on D11551

Test Plan
  • Added integration test
  • Registered a few users and tested the RPC manually

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Apr 8 2024, 2:50 AM
bartek added inline comments.
services/commtest/tests/identity_device_list_tests.rs
245–255 ↗(On Diff #38884)

I could've simplified that.

ashoat added inline comments.
shared/protos/identity_auth.proto
211 ↗(On Diff #38884)

Accidental double //

213 ↗(On Diff #38884)

The payload structure described in GetDeviceListResponse does not include signatures, which makes the reference to SignedDeviceList here confusing

shared/protos/identity_auth.proto
213 ↗(On Diff #38884)

This payload structure is finally going to have signatures when I add them later this month, but I probably should replace SignedDeviceList payloads with just device list payloads - the SignedDeviceList is a Rust/Flow struct, not a proto message, so it shouldn't be mentioned.

This revision is now accepted and ready to land.Apr 10 2024, 10:59 AM

Rebase before landing, fix comment in proto