Delay policy is not working
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
SUMMARY
All action Chains are running together. It should run after the execution of first action-chain is complete.
st2 3.7.0, on Python 3.8.10
Steps to reproduce the problem
we have created a policy to make sure action-chain run one after another
name: action_name.concurrency
description: Limits the concurrent executions for action.
enabled: true
resource_ref: pack.action_name
policy_type: action.concurrency
parameters:
action: delay
threshold: 1
Sample policy.yaml
Expected Results
Execution of the new action chain should start only after the previous one is completed
Actual Results
Multiple actions are running at the same time which is affecting our logic which checks the previous output.
Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the supplied policy.yaml configuration on StackStorm 3.7.0 and Python 3.8.10, using multiple executions of the action chain. The work is done when the concurrency threshold of 1 prevents a new action-chain execution from starting until the previous one completes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100