Skip to content

[Bug][v4][Planning] Engine pbehavior

  1. 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 as create and pbhenter triggers.

    • If action leaves one pbehavior and enters another pbehavior engine-axe emits pbhleaveandenter trigger. Engine-action and engine-webhook should handle it as pbhenter and pbhleave triggers.

  2. 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.

  3. 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.

  4. Periodical process and worker process in engine-pbehavior uses the same pbehavior service which is not concurrent safe. Use separate service for each process.

  5. Redis lock interface 1e40a2f2

  6. Bug during pbh service restore from redis : old cache value are not overwritten if new cache value is empty.

  7. Delayed actions are not stored in local cache after create.

Edited by Zarina Yakubova