TUI permits concurrent duplicate submissions #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Sort and duplicate models continue handling Enter while an operation is active. Pressing Enter again can call
startSorting()ininternal/ui/tui/sort.go#L123orstartDuplicating()ininternal/ui/tui/duplicate.go#L136a second time.This starts concurrent Spotify mutations and replaces the result channel monitored by the UI. It can cause the same playlist to be reordered concurrently or create multiple destination playlists.
A model-level replay confirmed that both models still attempt submission while their
sortingorduplicatingflag is already true.