Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Parent steps sometimes need a target tag, even when child steps are set to run on workers

Open SeanStanway-Octopus opened this issue 3 months ago • 0 comments

Severity

2 customers reported previously

Version

2025.4.1996

Latest Version

None

What happened?

Customer's are attempting to use parent-child steps to group steps that all can be run on a worker, but since they're running this as parent-child, it's forcing the deployment tags to be added for some steps, even when this is unwanted. (i.e. Run A Script + Run an Azure Script = Needs deployment tag).

This is also odd since if you use two Run an Azure Script steps, the tag is allowed to be blank (i.e. Run an Azure Script + Run an Azure Script = Can have blank deployment tag).

Reproduction

  1. Go into any process
  2. Add a Run an Azure Script step, and set this to be run on a worker
  3. Add a child step to the step above, then select Run an Azure Script, and set this to be run on a worker
  4. Save the process without modifying the overall parent-child container, which should go through successfully.
  5. If you then add another child step of the Run a Script type, when attempting to save this will error stating Please select one or more target tags that 'Run an Azure Script' step will apply to

Error and Stacktrace


More Information

Related discussion: [Internal Slack Link]

Workaround

The workaround if a customer is coming across this would be to add a tag to their deployment target that can be used as a throw away. However, this can sometimes not be feasible if they don't want the deployment mimicking that particular target.

SeanStanway-Octopus avatar Oct 01 '25 11:10 SeanStanway-Octopus