makeomatic / makeomatic/ms-files-gce

when bucket is created for the first time, reference to it is not saved

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Which results in an error:

```
at GCETransport.initResumableUpload (/src/node_modules/ms-files-gce/lib/index.js:227:40)
at Files.initFileUpload (/src/lib/actions/upload.js:36:19)
at Files.tryCatcher (/src/node_modules/bluebird/js/release/util.js:11:23)
at Promise._settlePromiseFromHandler (/src/node_modules/bluebird/js/release/promise.js:489:31)
at Promise._settlePromise (/src/node_modules/bluebird/js/release/promise.js:546:18)
at Promise._settlePromise0 (/src/node_modules/bluebird/js/release/promise.js:591:10)
at Promise._settlePromises (/src/node_modules/bluebird/js/release/promise.js:674:18)
at Async._drainQueue (/src/node_modules/bluebird/js/release/async.js:125:16)
at Async._drainQueues (/src/node_modules/bluebird/js/release/async.js:135:10)
at Immediate.Async.drainQueues [as _onImmediate] (/src/node_modules/bluebird/js/release/async.js:16:14)
at processImmediate [as _immediateCallback] (timers.js:383:17)
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the first-time bucket creation flow and trace the failure from lib/actions/upload.js:36 into ms-files-gce/lib/index.js:227. Check how the newly created bucket reference is handled, then verify that a first upload completes without this error and that the reference is available afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, javascript, node.js
Domain
backend, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.