I created a remote branch with GitKraken via JIRA.
Moving commits between branches I end up wanting to replace the remote branch with a new set of commits (this is admittedly a social concern, there is no technical reason this needs doing, one branch name is as good as another).
I remotely delete the branch AWS CodeCommit, close the PR in CodeCommit
Refreshing in JIRA shows the PR disappear.
I now want to create a replacement branch with the same name. I press Create Branch but get the error
Branch XXXX already exists
Branch XXXX was just deleted, the error must be based on a stale copy of the set of branches. Hitting refresh again and trying again doesn't unblock the process. I believe it will eventually clear after several minutes, but that is far too long.
Could a refresh be scheduled asynchronously whenever this error occurs so it doesn't persist as long? That would seem to be a good balance between caching the branch list for performance / scale and UX suffering from stale data.