api-preview-docs icon indicating copy to clipboard operation
api-preview-docs copied to clipboard

"Auto-cancel redundant builds" should be smarter about conditional workflows

Open johnjensenish opened this issue 6 years ago • 1 comments
trafficstars

Hello, we are attempting to us conditional workflows and pipeline parameters so that we can easily deploy our website. So we have two workflows: 1) a full build and 2) just deploy the site.

Problem steps:

  1. Merge a change to to origin/production, which triggers a full build (default pipeline parameters)
  2. Soon after, make a change to the blog which uses the circleci API to trigger a pipeline build (i.e. parameters: { "build": false, "deploy-site": true })
  3. Observe on the circleci site that the first build has been canceled.

Since the selected workflows aren't the same, I don't think these builds should be considered "redundant".

johnjensenish avatar Jul 27 '19 00:07 johnjensenish

Note this issue won’t occur for the default branch...

johnjensenish avatar Jul 27 '19 01:07 johnjensenish