Skip to content

@uppy/transloadit and @uppy/golden-retriever: No Resume Pop up if assembly execution has already started#6278

Draft
qxprakash wants to merge 16 commits into
transloadit:mainfrom
qxprakash:fix-issue-6017
Draft

@uppy/transloadit and @uppy/golden-retriever: No Resume Pop up if assembly execution has already started#6278
qxprakash wants to merge 16 commits into
transloadit:mainfrom
qxprakash:fix-issue-6017

Conversation

@qxprakash

@qxprakash qxprakash commented May 1, 2026

Copy link
Copy Markdown
Collaborator

This is still WIP , I found few flaws in this which I would like to discuss in a call before moving ahead

This PR fixes #6017

should be merged after #6267

Adds , AssemblyStatus.ok to Status bar

and don't show "Resume" popup in case , where files have been uploaded to assembly and then user refreshes

@changeset-bot

changeset-bot Bot commented May 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2295ca9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@qxprakash qxprakash marked this pull request as draft May 1, 2026 14:44

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4860ad9f8a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1867 to +1870
Object.entries(currentUploads).filter(([, upload]) =>
upload.fileIDs.some((id) => {
const f = files[id]
return f && !f.progress.complete && !f.error

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Defer pruning currentUploads until upload finalization

Pruning currentUploads in the postprocess-complete event can remove an upload that is still inside #runUpload(). In Transloadit wait flows, postprocess-complete is emitted as soon as assembly completion is observed, before the postprocessor step fully returns, so this branch can delete currentUploads[uploadID] mid-run. After that, #runUpload() reads getCurrentUpload() as missing, exits early, and upload() can emit a complete payload with empty successful/failed arrays (and skip any remaining postprocessors).

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When restoring a Transloadit assembly the UI doesn't indicate that anything is happening

1 participant