roopakv / orbs

Swissknife! A set of useful commands / jobs in circle workflows
MIT License
29 stars 25 forks source link

Failed job only runs failed tests on `Rerun workflow from start` #101

Open jameskip opened 2 years ago

jameskip commented 2 years ago

When rerunning a failed workflow in CircleCI only failed tests are rerun.

Expected workflow to run all tests as if it were a new workflow.

Screen Shot 2022-03-23 at 5 34 56 PM
roopakv commented 2 years ago

hey hey could you please give a bit more context.

Right now your screenshot doesnt give me enough data to debug what is going on here.

jameskip commented 2 years ago

Sure! Here's an example:

Scenario Given we have a workflow that has Failed in CircleCI When I click Rerun workflow from start under actions on my pipeline Then I expect the workflow to begin from beginning with no state persisting from the previous run

Actual result Instead of running all tests again, only failed tests are rerun. We get No specs was found... in the console. See attached screenshot.