Page MenuHomePhabricator

[lib] Add blobServiceUpload upload action
ClosedPublic

Authored by patryk on Sep 12 2023, 1:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 3:16 AM
Unknown Object (File)
Mon, Nov 11, 6:17 PM
Unknown Object (File)
Thu, Oct 31, 12:52 PM
Unknown Object (File)
Thu, Oct 31, 12:52 PM
Unknown Object (File)
Thu, Oct 31, 12:52 PM
Unknown Object (File)
Thu, Oct 31, 12:52 PM
Unknown Object (File)
Thu, Oct 31, 12:52 PM
Unknown Object (File)
Thu, Oct 31, 12:51 PM
Subscribers

Details

Summary

This diff introduces new upload action for blob service uploads.

Depends on D9154.

Test Plan

Tested later in the stack.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

patryk held this revision as a draft.
patryk edited the test plan for this revision. (Show Details)

I'm not sure what's wrong about the uuid dependency (failed CI). Perhaps the wrong version is hoisted, which is strange

lib/actions/upload-actions.js
128

arguably we could name it blobSource or blobInput, but I don't have strong preference

bartek requested changes to this revision.Sep 18 2023, 5:11 AM

Requesting changes to fix failing CI - most likely wrong uuid version is being resolved, try the yarn why uuid command to confirm.

lib/utils/blob-service-upload.js
18

A good thing would be to destructure options to avoid repeatitions

const { timeout, onProgress, abortHandler } = options ?? {};

// ...
if (timeout) { ... }
This revision now requires changes to proceed.Sep 18 2023, 5:11 AM
This revision is now accepted and ready to land.Sep 20 2023, 3:15 AM