Skip to content

Lock command executor to prevent stale workspace situations #376

@idursun

Description

@idursun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions