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)
Sat, Dec 21, 11:34 PM
Unknown Object (File)
Sat, Dec 21, 11:34 PM
Unknown Object (File)
Sat, Dec 21, 11:34 PM
Unknown Object (File)
Sat, Dec 21, 11:34 PM
Unknown Object (File)
Sat, Dec 21, 11:34 PM
Unknown Object (File)
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
Branch
backup-work
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

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