Skip to content

Upload hangs with no events emitted #53

Description

@stathismor

Once in a while, when uploading an asset, upload would hang with no event being emitted. The theory is that sometimes uploadAssets never calls the callback or emits any events. In that case, events logged would look like:

...

19:50:47 event upload-progress test-asset.pkg {
  percentage: 0.49955797361536614,
  transferred: 332384,
  length: 66535621,
  remaining: 66203237,
  eta: 199,
  runtime: 0,
  delta: 332384,
  speed: 332384
}

19:50:47  upload-progress test-asset.pkg {
  percentage: 1.5830317417492805,
  transferred: 1053280,
  length: 66535621,
  remaining: 65482341,
  eta: 62,
  runtime: 0,
  delta: 720896,
  speed: 1053280
}

19:50:47 event duplicated-asset test-asset.pkg

20:50:47 Error: Timeout reached while executing task publishReleaseAsync

The last line at 20:50:47 is a timeout check wrapper workaround that is used to identify upload has stalled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions