What is a "blocked stack" and how to resolve it
Last updated: November 24, 2026
A stack can stop accepting new runs for two reasons:
Locked: someone has locked the stack for their own use.
Blocked: an unfinished run is stopping other runs from starting.
Locked stacks
A writer on the stack can lock it so that only they can trigger runs and tasks, for example during maintenance. While a stack is locked:
Trigger is unavailable to everyone else.
Autodeploy is off.
The lock never expires.
Lock a stack
Open the stack's Tracked runs tab.
Click Lock, next to Trigger.
Optionally, add a note, for example why you're locking it.
Click Lock stack.
A banner at the top of the runs list shows who locked the stack, when, and the note.
Unlock a stack
Click Unlock in the same place. Only the person who locked the stack, or a Spacelift admin, can unlock it.
With spacectl
spacectl stack lock --id <stack-id> --note "<reason>"spacectl stack unlock --id <stack-id>If the stack is already locked, spacectl stack lock fails with already locked by <user>.
Blocked stacks
Spacelift runs only one state-changing run on a stack at a time. These are called blocking runs:
Tracked runs
Tasks
Destroy runs
A blocking run holds up the stack until it reaches a final state, such as finished, failed, discarded or canceled. New runs wait in Queued until then. Common blockers:
A tracked run waiting in Unconfirmed for someone to confirm or discard it
A run waiting for approval under an approval policy
A run waiting for a worker (Ready)
A run that's still running
Proposed runs, including drift detection runs, don't block a stack.
A run can also wait in Queued for other reasons, such as stack dependencies on other stacks finishing. If the stack looks idle but runs won't start, check for unfinished runs on this stack and its upstream stacks.
Find the blocking run
Open the queued run. If another run is blocking it, its state list links to the blocking run.
Check the stack's runs for a tracked run, task or destroy run that hasn't finished, especially one in Unconfirmed.
With spacectl, run
spacectl stack show --id <stack-id> --output json. TheBlockerfield shows the ID of the blocking run.
Clear the blocking run
Blocking run is… | What to do |
|---|---|
Unconfirmed | Review the plan, then Confirm or Discard it. |
Waiting for approval | Approve or reject it, or cancel the run. |
Queued or Ready | Discard it if you don't need it. |
Initializing or planning | Wait for it, or Stop it. |
Applying | Wait for it to finish. |
Spacelift also ends runs that stall:
A run left in Unconfirmed for seven days without any change is discarded.
A blocking run that no worker picks up within seven days is canceled.
Any run that hasn't finished within 30 days of being created is moved to a final state.
Still stuck?
If you can't find what's locking or blocking the stack, contact support with:
The stack ID
The ID of the run that won't start
The full error message, if there is one