[Bug][v4][Planning] Engine pbehavior
-
There are 2 cases when triggers for actions and webhooks don't work :
-
If action enters pbehavior on creation engine-axe emits
createandpbhenter
trigger. Engine-action and engine-webhook should handle it ascreate
andpbhenter
triggers. -
If action leaves one pbehavior and enters another pbehavior engine-axe emits
pbhleaveandenter
trigger. Engine-action and engine-webhook should handle it aspbhenter
andpbhleave
triggers.
-
-
If alarm is meta alarm engine-axe duplicates pbehavior steps to children alarms. This is not valid because engine-pbehavior doesn't consider parent state when resolves children state and resets pbehavior steps. So parent pbehavior shouldn't affect children.
-
If alarm is meta alarm engine-action creates new pbehavior for parent and for each child on action pbehavior. Parent pbehavior shouldn't affect children.
-
Periodical process and worker process in engine-pbehavior uses the same pbehavior service which is not concurrent safe. Use separate service for each process.
-
Redis lock interface 1e40a2f2
-
Bug during pbh service restore from redis : old cache value are not overwritten if new cache value is empty.
-
Delayed actions are not stored in local cache after create.