3
0
Commit Graph

29 Commits

Author SHA1 Message Date
Tomaž Jerman
244b0cf8ed Rework workflow step scheduling to improve stacktraces
The initial implementation caused them to be flaky when working
with loops.
2021-08-17 09:18:50 +02:00
Denis Arh
89ae50dbae Add RBAC functions for workflow for check&grant 2021-07-15 20:36:57 +02:00
Denis Arh
1750da6195 Fix wf session locking & canceling issue 2021-07-14 10:49:33 +02:00
Denis Arh
a7e2eec9fd Improve expr types, add r/w locking 2021-07-14 10:49:32 +02:00
Denis Arh
e46211c709 Refactor workflow execution, prevent couple of race conditions 2021-06-30 14:30:59 +02:00
Tomaž Jerman
2dbf536faa Improve workflow error handling
- prevent the try-catch step from ending the exec session
- prevent pre-run validation checks to cycle the exec
2021-05-25 09:01:24 +02:00
Vivek Patel
044d02bb76 Adds expr functions for KV, KVV, Vars manipulation
- Adds/Refactors methods for Set, Merge, Filter, Delete
- Renames expr/Vars.Merge to MustMerge, updates its usage
- Appends kvFunctions to parser in pkg/expr
- Update/Fixes tests and example testable
2021-05-21 06:58:52 +02:00
Denis Arh
28e1774cd2 Rework/cleanup log stacktrace level, add LOG_STACKTRACE_LEVEL to control it 2021-05-21 06:58:41 +02:00
Denis Arh
5a153093e1 Fixed the rest of wf tests 2021-05-14 13:23:43 +02:00
Denis Arh
70dedcaaba Refactor & move websocket code under pkg 2021-05-13 14:08:54 +02:00
Vivek Patel
1e126f8981 Refactors sending pending prompts via websocket and Adds gorilla/websocket to go.mod 2021-05-13 14:08:54 +02:00
Denis Arh
1a54155d83 Improve workflow session handling & storing 2021-04-01 21:10:51 +02:00
Denis Arh
fdf916b7f9 Rework/simplify expr.Vars handling 2021-04-01 21:10:51 +02:00
Denis Arh
565a64d0c1 Add workflow ID to errors & logs 2021-03-30 17:44:15 +02:00
Denis Arh
f31ac4a30f Workflow execution logging is now configurable
Use WORKFLOW_EXEC_DEBUG=true to enable it
2021-03-24 21:14:09 +01:00
Denis Arh
bb2ad03193 Unref scope, result, input vars when creating stacktrace frame 2021-03-23 22:10:52 +01:00
Denis Arh
664c3c2004 Improve error tracking when error handler is used 2021-03-22 12:30:30 +01:00
Denis Arh
b63fdabf55 Improved wf stacktrace, add more info 2021-03-20 14:48:15 +01:00
Denis Arh
0b1c61ba86 Support for wf exec tracing 2021-03-18 20:17:45 +01:00
Denis Arh
79ed77a379 Fixed typos across the codebase (can not, cannot) 2021-03-17 17:25:05 +01:00
Denis Arh
0910317632 Log warn (not error) when wf step execution fails 2021-03-14 16:00:22 +01:00
Denis Arh
babaa5c553 Use standard naming for created-at 2021-03-12 13:12:08 +01:00
Denis Arh
f7c89b0c5f Fix delay exec, document func&iter step behaviour 2021-03-12 13:12:07 +01:00
Denis Arh
7e78867733 Implement delay & prompt steps 2021-03-12 13:12:07 +01:00
Denis Arh
8335b69197 Fix break/continue 2021-03-12 13:12:07 +01:00
Denis Arh
5438097648 Refactor, add generic step, add error&termination logic 2021-03-12 13:12:07 +01:00
Denis Arh
7d6fca5856 Improve wf ses. wait logic, complete triggered wf proc 2021-03-12 13:12:07 +01:00
Denis Arh
fb307bbcae Wfexec logging tweaks, add debug wf step kind 2021-03-12 13:12:07 +01:00
Denis Arh
13b57c8d72 Automation workflow implementation 2021-03-12 13:12:07 +01:00