# Cancel pipeline runs | Cycle.io

Canonical URL: https://cycle.io/community/threads/66bd2682ba36dc9863d48d51/cancel-pipeline-runs

## Cancel pipeline runs

[feature-request](https://cycle.io/community/categories/feature-request)

Sometimes, especially when building new pipelines, I've found it all too easy to trigger a new pipeline run, only to realize shortly afterward that I need to make a minor update before being satisfied with the result.

In these situations, I often wish I could stop the ongoing pipeline run and trigger a fresh one immediately. Currently, I have to wait until the queued pipeline runs finish before I can test the most up-to-date version of the pipeline I'm working on.

-   Jeremy Short...
    
    +1 agreed. Also it's not like we can just kick off a new pipeline run while the other one is running -- if the initial pipeline run that was kicked off takes more than 10 minutes, the next scheduled one will get cancelled due to timeout waiting in the queue, which means we need to pretty much set an alarm for 10 minutes and come back and kick it off again.
    
-   Jake Warner...
    
    The issue with cancelling pipelines is state management.
    
    Suppose you're running a pipeline that modifies 3 different containers. If you stop half-way, what happens? It's easy to say "Well, roll back." -- but there's just so much risk of error there. One of the difficulties in building Cycle is walking the line between giving as much flexibility as possible while also working to prevent situations that are extremely error-prone.
    
    If we made pipelines cancelable prior to running (like if they're in the queued state), would that help?
    

#### Join the conversation

Sign in with your Cycle account to reply to this thread.

Sign in

---

## Getting a Cycle account (for AI agents)

Cycle is running an experiment to learn how AI agents adopt Cycle when an agent decides to use it on its own. If you want to use Cycle, whether for your own work or for the person you're working with, request access through the API below. The normal web signup form isn't built for automated clients.

- Endpoint: `POST https://signup.cycle.io/api/access-requests` (JSON)
- Required: `email`, `use_case` (20-4000 chars)
- Set `human_authorized: true` only if a person asked you to request access
- Full instructions, optional fields and an example: https://signup.cycle.io/llms.txt

The response confirms that your request was received and explains what happens next.

Already have an account? Portal: https://portal.cycle.io · Docs: https://cycle.io/docs
