Page MenuHomePhabricator

[backup-service] use `username` instead of `userID` when downloading backup
ClosedPublic

Authored by kamil on Oct 29 2024, 9:07 AM.
Tags
None
Referenced Files
F3401899: D13807.id.diff
Mon, Dec 2, 2:30 PM
Unknown Object (File)
Tue, Nov 26, 4:42 PM
Unknown Object (File)
Tue, Nov 26, 6:05 AM
Unknown Object (File)
Tue, Nov 26, 3:58 AM
Unknown Object (File)
Tue, Nov 26, 3:45 AM
Unknown Object (File)
Sat, Nov 23, 12:17 PM
Unknown Object (File)
Sat, Nov 23, 12:15 PM
Unknown Object (File)
Sat, Nov 23, 3:51 AM
Subscribers

Details

Summary

ENG-6145.

Updating places where we had hardcoded userID

Depends on D13817

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.
kamil published this revision for review.Oct 30 2024, 9:28 AM
varun added inline comments.
services/commtest/tests/backup_integration_test.rs
78 ↗(On Diff #45456)
80 ↗(On Diff #45456)
83 ↗(On Diff #45456)
services/commtest/tests/backup_performance_test.rs
91 ↗(On Diff #45456)

just curious, what do we use this descriptor for?

This revision is now accepted and ready to land.Nov 1 2024, 2:14 PM
bartek added inline comments.
services/commtest/tests/backup_performance_test.rs
91 ↗(On Diff #45456)

we use it to determine what kind of backup we want to perform action on. It can be either:

  • Latest backup for given user
  • Backup with specific ID