Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

Resume uploads after a crash or reload (durable upload queue) #79365

Description

@adamsilverstein

What problem does this address?

#74366 adds retry logic and offline handling so an in-progress upload can recover from transient network failures. However, the upload queue currently lives only in memory. If the browser tab is closed, the page is reloaded, or the browser/OS crashes mid-upload, all queued and in-progress uploads are lost and the user must start over.

Anne specifically called out making uploads "resume after a crash or going offline" for the 7.1 cycle. The "going offline" half is addressed by the retry work in #74366; this issue covers the missing half: durable resume after a crash or reload.

Proposed approach

Persist the upload queue to durable storage (e.g. IndexedDB) so it survives a reload/crash:

  • Persist pending and in-progress queue items (file data + processing/upload state)
  • On editor load, detect an interrupted queue and offer to resume (or auto-resume)
  • Resume from the last completed pipeline step where possible, rather than restarting
  • Clean up persisted entries on completion/cancel and bound storage usage

Acceptance criteria

  • Upload queue state persists across page reload and browser crash
  • Interrupted uploads are detected on next editor load and can be resumed
  • Resume continues from the furthest completed step (processing vs. upload) where feasible
  • Persisted data is cleaned up on success/cancel; storage is bounded
  • Graceful behavior when durable storage is unavailable (fall back to current in-memory behavior)
  • e2e coverage for the reload/resume flow

Complements the retry/offline work in #74366. Part of #76756.

Activity

  1. changed the title [-]Client Side Media: Resume uploads after a crash or reload (durable upload queue)[/-] [+]Resume uploads after a crash or reload (durable upload queue)[/+] on Jun 26, 2026
  2. adamsilverstein commented on Jul 13, 2026

    @adamsilverstein
    MemberAuthor

    Punting from 7.1.

  3. moved this to 📋 Iteration/Tracking Issues in WordPress 7.1 Editor Taskson Jul 13, 2026
  4. moved this from 📋 Iteration/Tracking Issues to 🦵 Punted to 7.2 in WordPress 7.1 Editor Taskson Jul 13, 2026
  5. moved this to 🏗️ In Progress in WordPress 7.2 Editor Taskson Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions