Currently, most of the commands executions are batched inside a tea.Cmd which potentially can run multiple commands around the same time, which can lead to stale workspaces if the commands snapshot. (e.g. auto refresh happening around the time user opens the details view).
To prevent, and serialise the command execution, we need to add a sync mechanism to the MainCommandRunner implementation.
Currently, most of the commands executions are batched inside a
tea.Cmdwhich potentially can run multiple commands around the same time, which can lead to stale workspaces if the commands snapshot. (e.g. auto refresh happening around the time user opens the details view).To prevent, and serialise the command execution, we need to add a sync mechanism to the
MainCommandRunnerimplementation.