fix(kanban): atomic column rename with rollback on cascade failure #143
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_archipelagos!143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_fix_kanban_rename_atomic"
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
Renaming a kanban column used to save the new name server-side and then fan out per-task moves in parallel. When any of those moves failed, the project already held the new swimlane name but some tasks still pointed at the old one and the cards disappeared from the board. The fix snapshots both the project and the affected tasks before the optimistic change, and on partial failure rolls everything back — server-side first so a reload can't resurrect the half-renamed state, then client-side. If the rollback itself has errors, they're appended to the banner so the user knows the UI is stale and a reload is needed.
Related Issue
Closes #139
Changes
Test Results
cargo check / clippy -D warnings / fmt --checkclean onhero_archipelagos_kanban;cargo check --workspaceclean; manually verified the happy-path rename still works on the shared test instance.Manual verification
Rename rolled back — N task(s) failed to migrate …, column reverts to old name, cards return to their original swimlane