Allow delete old builds and workflows


There have been number of requests to allow cleaning old builds, to list a few:


Those threads have been closed automatically due to lack of updates (or discussion cleaning following the CircleCI 2.0 release). However, this feature has not been implemented or is not available, so I'd like to re-store the request here.


First, this is a desired feature especially for teams using topic branches heavily (eg. w/ GitFlow, etc.).

Second, despite mentioned challenges to implement such feature, there seem to be agreement from CircleCI team members about validity of the request.

Finally, the backlog of comments to the linked threads suggests there is a demand for it from CircleCI users.

  • Mateusz Loskot
  • Jun 29 2018
  • Taking votes
  • Attach files
  • Etienne Marais commented
    September 27, 2019 08:42

    I would love this functionality to make it into circle please. We experiment with different workflows and would love the ability to delete old/stale and experimental branches along with their builds, artefacts, output logs etc. It eases the security conscious mind that old debug builds can be removed that if a breach occurs, the data is safe.

  • Sylvain Legault commented
    March 27, 2019 11:56

    There seems to be a bug where if you merge the PR while some task are running the circleci build will remain there even if there are no longer any related PR. As an administrator I should be allow to clean my dashboard without having to recreate the user branch. I'm not sure what are the challenge, if github can send a webhook when the build is removed, it should be just as simple as exposing the webhook to the dashboard.

  • Philip Kwesiga commented
    March 21, 2019 21:33

    Adding to this, there may be cases where certain information is printed especially for public repositories that should be concealed. Being able to delete or limit access to those particular workflows or builds would make less a thing to worry about.