feat(web): discard interrupted uploads from activity dialog #955
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/dismiss-interrupted-uploads-web"
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?
Summary
Web half of the interrupted-uploads cleanup: a Discard action in the media activity dialog for sessions shown as Interrupted (derived status stale only, never label-text matching).
Test plan
Depends on: #952 (merge first). Until it deploys, Discard clicks show the card's generic retry error. Version bump 1.21.60.
- POST /api/upload-activity/{sessionId}/cancel client: any 2xx resolves without parsing the body (empty/malformed included), 404/409 map to typed errors, network and other statuses reject unchanged - testable discard controller: per-session phase/error state, stale-only gate keyed on derivedStatus, duplicate-click guard, immediate store refetch on success plus one bounded ~2s reconciliation attempt