Skip to content

fix: report delete, paste and restore failures on network errors - #4192

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/workers-network-error
Nov 5, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/workers-network-error

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

When delete, paste or trash restore fails at network level, the usual error toast now shows and a deleted item no longer keeps its spinner. The toast also no longer gets an empty request id in its details.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: delete, paste and restore workers report network errors without a response as failed; createHttpError leaves out the x-request-id header without an id
  • test case 2: browser: aborted DELETE/COPY/MOVE show the error toasts (desktop and Pixel 7), retry works afterwards, real HTTP errors still show the request id

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit c736ed4 into main Nov 5, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/workers-network-error branch November 5, 2026 08:44
@openclouders openclouders mentioned this pull request Nov 5, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete, paste and restore fail silently on a network error

2 participants