Page MenuHomePhabricator

[services] Backup - Blob Get Client - Cleanup
ClosedPublic

Authored by karol on Sep 9 2022, 4:44 AM.
Tags
None
Referenced Files
F3360152: D5097.id16549.diff
Sun, Nov 24, 12:19 PM
Unknown Object (File)
Sat, Nov 23, 4:26 AM
Unknown Object (File)
Fri, Nov 22, 6:06 AM
Unknown Object (File)
Tue, Nov 19, 1:24 AM
Unknown Object (File)
Mon, Nov 18, 10:44 AM
Unknown Object (File)
Sun, Nov 10, 6:57 AM
Unknown Object (File)
Sun, Oct 27, 8:14 PM
Unknown Object (File)
Sun, Oct 27, 8:14 PM

Details

Summary

Depends on D5096

Linear task: https://linear.app/comm/issue/ENG-1734/improve-error-handling-system-in-the-blob-client

Removing ERROR_MESSAGES in both client.

For the put client, deferring handling an error to only one place in the code.

Test Plan
cd services/backup/blob_client
cargo check

after running localstack, blob, and backup (in this particular order), this still works:

yarn run-integration-tests backup
yarn run-performance-tests backup

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Sep 9 2022, 10:38 AM
karol edited the summary of this revision. (Show Details)

update

tomek added inline comments.
services/backup/blob_client/src/put_client.rs
185–188 ↗(On Diff #16689)

The formatting should be done earlier in the stack

This revision was landed with ongoing or failed builds.Sep 19 2022, 7:28 AM
This revision was automatically updated to reflect the committed changes.