Web UI: upload resume hardening (smoke-test findings, #21) #47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/upload-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Nikola's #21 smoke-test surfaced two real bugs behind the "restarts after closing the site" + "progress bar bouncing between two percentages" symptoms:
404/410= genuinely gone (discard), anything else = unreachable (keep the URL; start pessimistically and let the first PATCH's 409 route into the retry path, which re-syncs the true offset via HEAD).activeUploadsset guards per-destination; reselecting mid-upload now says "already uploading — its progress will continue".Also: retry path now throws cleanly when the server reports the upload expired instead of silently starting over.
node --checkverified inline.