Page MenuHomePhabricator

[backup-service][backup-client] rename `username` -> `user_identifier`
ClosedPublic

Authored by kamil on Oct 29 2024, 9:19 AM.
Tags
None
Referenced Files
F3513328: D13808.id45665.diff
Sat, Dec 21, 11:34 PM
F3513327: D13808.id45457.diff
Sat, Dec 21, 11:34 PM
F3513325: D13808.id45430.diff
Sat, Dec 21, 11:34 PM
F3513323: D13808.id45604.diff
Sat, Dec 21, 11:34 PM
F3513297: D13808.id.diff
Sat, Dec 21, 11:34 PM
F3513284: D13808.diff
Sat, Dec 21, 11:33 PM
Unknown Object (File)
Wed, Dec 4, 12:18 AM
Unknown Object (File)
Wed, Nov 27, 8:30 AM
Subscribers

Details

Summary

ENG-6145.

username is consfusing, as it could be the Wallet address too

Depends on D13807

Test Plan

run commtest

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
native/native_rust_library/src/backup.rs
328 ↗(On Diff #45430)

this is going to be updated later as part of Native changes for minimal version of backup

kamil published this revision for review.Oct 30 2024, 9:29 AM
varun requested changes to this revision.Nov 1 2024, 2:17 PM
varun added inline comments.
native/native_rust_library/src/backup.rs
334 ↗(On Diff #45457)

confused why we use user_id here

This revision now requires changes to proceed.Nov 1 2024, 2:17 PM
kamil requested review of this revision.Nov 3 2024, 11:25 PM
kamil added inline comments.
native/native_rust_library/src/backup.rs
334 ↗(On Diff #45457)

We don't have a user_identifier (username/wallet) here. The initial version of the backup used user_id - and the point of this whole stack is to change this, this diff is only about renaming service and client prop.

Later in the stack in D13837 I implemented code that uses user_identifier correctly, in D13849 I updated rest of the code to start using this and this particular method is removed.

I know this is confusing, but there was not better option to slice it for diffs, I could either cause CI falling or submit one diff with squashed all commits form this stack.

This revision is now accepted and ready to land.Nov 4 2024, 7:31 AM