hashicorp / hashicorp/tfc-workflows-tooling

Queuing a Run when Workspace is Running

Open
#121 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
58
Forks
26
PR merge metrics
No merged PRs in 30d

Description

As multiple integrations attempt to trigger runs on a workspace, it can happen that one integration triggers a run on a workspace while it is locked and applying an existing run.

In the current logic, when a new run is attempted as the workspace has an existing run, it fails out with an error stating that the workspace is locked.

In desired behavior, if a workspace is locked due to an existing/pending run, it should queue the the run.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.