Skip to content

fix: revert the tags selection when a tag change fails - #4167

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/revert-failed-tag-change
Nov 5, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/revert-failed-tag-change

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

When adding or removing a tag fails, the tags field now goes back to the tags the file really has, so a failed tag no longer looks saved and isn't sent again with the next change. A newer change that went through isn't overwritten by an older one that failed.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: failed add, failed remove, add worked but remove failed, resource switched while saving, overlapping saves
  • test case 2: browser: failed add then next add, failed remove, partial failure, switching files during a failing save, two quick saves, normal add/create/remove/comma input, desktop and Pixel 7

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 410492e into main Nov 5, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/revert-failed-tag-change branch November 5, 2026 06:56
@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.

A failed tag change isn't reverted and gets saved with the next change

2 participants