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
Unknown Object (File)
Wed, Nov 27, 8:30 AM
Unknown Object (File)
Wed, Nov 27, 3:33 AM
Unknown Object (File)
Wed, Nov 27, 2:53 AM
Unknown Object (File)
Tue, Nov 26, 7:56 AM
Unknown Object (File)
Mon, Nov 25, 6:01 PM
Unknown Object (File)
Mon, Nov 25, 4:53 PM
Unknown Object (File)
Sat, Nov 23, 7:17 PM
Unknown Object (File)
Sat, Nov 23, 1:31 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
Branch
backup-work-6
Lint
No Lint Coverage
Unit
No Test Coverage

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.Sun, Nov 3, 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.Mon, Nov 4, 7:31 AM