Commit graph

956 commits

Author SHA1 Message Date
Sipke Schoorstra 2f22396fdf Fix Dapper migrations and multiple filter bug 2023-09-06 19:24:34 +02:00
Sipke Schoorstra d7649b0118 Fix numerical version parsing 2023-09-06 17:57:25 +02:00
Sipke Schoorstra 69744bd63c Fix naming collision between workflow input and activity input 2023-09-06 13:50:08 +02:00
herblinernexxbizz 6eda27b034
update connector (#4402) 2023-09-06 10:52:29 +02:00
Sipke Schoorstra 72d8550907 Update PostgreSQL for Dapper Upsert dialect 2023-09-06 10:25:31 +02:00
herblinernexxbizz cd2591430e
Add PostgreSql dapper provider (#4398)
* Add PostgreSql dapper provider
2023-09-06 10:09:27 +02:00
GitHub Action f892f5431a Updated designer version to 3.0.3-preview.199 2023-09-05 11:28:31 +00:00
Sipke Schoorstra 4fe7518976 Add initial support for persisting workflow input 2023-08-31 21:04:19 +02:00
Sipke Schoorstra fe02011c8b
Fix Dapper persistence provider (#4381) 2023-08-30 22:01:25 +02:00
Sipke Schoorstra 9d4add767b
Make Liquid TextEncoder configurable (#4380) 2023-08-30 19:09:05 +02:00
Sipke Schoorstra 6329a3b805
Use mapping expression for correct EF core projections (#4376) 2023-08-30 18:23:59 +02:00
Sipke Schoorstra 45d194125d
Remove WorkflowStateStore (#4374)
* Remove WorkflowStateStore and use WorkflowInstanceStore instead

* Delete RunningWorkflows actor

* Cleanup
2023-08-30 15:42:16 +02:00
yspanj 2c014a9524
Fixed IsNameUnique for InMemory WorkflowDefinition store (#4370) 2023-08-29 23:29:57 +02:00
Sipke Schoorstra e2c3ab0efd
Refactor proto files and fix snapshot loading of running workflows grain (#4371) 2023-08-29 23:29:31 +02:00
Sipke Schoorstra deb6b34c98 Merge remote-tracking branch 'origin/v3' into v3 2023-08-29 15:06:36 +02:00
Sipke Schoorstra 29b5436a56 Use configured cluster host instead of always finding smallest IP
Use configured cluster host instead of always finding smallest IP
2023-08-29 15:06:30 +02:00
Sipke Schoorstra 17581d6786 Expire current member immediately if replica inactive 2023-08-29 15:05:53 +02:00
Abhijit d9fd79a307
Upgraded nupkg DistributedLock to v2.3.3 (#4360)
DistributedLock v2.3.2 was indirectly referencing System.Drawing.Common v5.0.0 nupkg which has one critical vulnerability.
2023-08-29 12:46:32 +02:00
Sipke Schoorstra f0158245db Fix ListAsync of Redis cluster member store 2023-08-28 23:42:33 +02:00
Sipke Schoorstra d5ab498af5
Implement stale member handling (#4369)
* Update ACA provider to remove stale members

* Move monitor to separate actor

* Implement reentrancy for tasks that take a longer time

* Update version from protoactor project
2023-08-28 22:26:44 +02:00
Sipke Schoorstra 2eb13deb8d Update ACA Cluster Provider to remove dead members retroactively 2023-08-26 12:07:58 +02:00
Sipke Schoorstra 7358613653 Fix orphaned completion callback handling 2023-08-26 02:02:02 +02:00
Sipke Schoorstra ca25b78457
Fix Break behavior (#4365)
* Fix Break behavior

* Ensure removal of completion callbacks
2023-08-26 01:11:10 +02:00
MariusVuscanNx 06f92d8d7e
Enrich trigger validation to take into consideration path and method uniquness (#4363) 2023-08-25 09:11:22 +02:00
Sipke Schoorstra 4d37c2a1da
Fix Default Workflow Runtime Race condition (#4362)
* Refactor Telnyx activities to use instance ID for correlating events

* Ensure SetVariable sets value in correct scope

* Fix race condition between new instances that are being resumed

* Fix tests
2023-08-24 21:41:45 +02:00
Sipke Schoorstra a30ac939ee
Refactor safe serializer (#4361) 2023-08-24 13:15:28 +02:00
Sipke Schoorstra 48b2e29b00
Refactor activity state serializer (#4357) 2023-08-23 21:57:10 +02:00
Sipke Schoorstra a02bacbbde
Support serialization of non(de)serializable values (#4356) 2023-08-23 20:56:12 +02:00
Sipke Schoorstra 73482a8e4c
Enhanced Logging for Activity Outcomes and Outputs (#4352)
* Add result to logs

* Include outcomes and outputs with activity execution log

* Include outputs with completed activity events
2023-08-23 13:34:30 +02:00
Sipke Schoorstra 1e7f954311
Implement HTTP correlation ID selectors (#4349) 2023-08-23 10:48:12 +02:00
Sipke Schoorstra 46c9a76259 Move input accessors to Jint service to control order 2023-08-22 14:59:31 +02:00
Sipke Schoorstra 9416461f78 Fix SendHttpRequestActivity response handling logic
This fixes a bug where the "unmatched status code" activity would be scheduled even if the returned status code was defined as an expected outcome.
2023-08-22 13:42:23 +02:00
Sipke Schoorstra 68a20de07f Ignore MemoryBlockReference from Argument when serializing to JSON 2023-08-22 00:21:02 +02:00
Sipke Schoorstra 10533131e3 Add fault information to journal 2023-08-21 22:45:56 +02:00
Sipke Schoorstra 0413cbebf6 Fix duplicate workflow inbox message effect 2023-08-21 21:17:40 +02:00
Sipke Schoorstra 10218c27ff Serialize activity state using activity state serializer
This fixes the issue where an activity's input contains objects that cannot be deserialized.
2023-08-21 11:12:17 +02:00
Sipke Schoorstra 776e3c141b Revert PolymorphicObjectConverter changes 2023-08-21 11:10:11 +02:00
Sipke Schoorstra 1eaaecd132 Fall back to JsonObject
When deserialization dails due to the target type not being deserializable, return a JsonObject instead. This enable e.g. ActivityExecutionLogRecord to store JSON information for ActivityState, which does not need to be reconstructed into the original type. An improvement could be considered to store activity execution log record activity state in a non-polymorphic structure in the first place.
2023-08-21 11:00:21 +02:00
Sipke Schoorstra e73d618b1a Remove IsHandled filter when delivering messages 2023-08-21 10:18:12 +02:00
Sipke Schoorstra 15ca560882 Update StopAudioPlayback 2023-08-19 13:37:28 +02:00
Sipke Schoorstra 687768bd3e Prevent multiple activity completion
This enables CodeActivity to explicitly complete itself
2023-08-18 10:01:03 +02:00
Sipke Schoorstra c25f33434c Fix Telnyx response models 2023-08-17 22:41:21 +02:00
Sipke Schoorstra 061ecc1476 Fix PlayAudio 2023-08-17 20:48:08 +02:00
Sipke Schoorstra e43e36b157 Fix hashing 2023-08-17 20:27:35 +02:00
Sipke Schoorstra 1cc7a91fc5 Fix Telnyx bookmark resumption 2023-08-16 19:49:45 +02:00
Sipke Schoorstra 8c3f2658e8 Include hash in trigger comparer
This ensures triggers are updated when anything changes
2023-08-16 13:44:03 +02:00
Sipke Schoorstra a684d3d8b5 Don't invoke CatchAll if To and From workflows were triggered 2023-08-14 21:12:25 +02:00
Sipke Schoorstra 7ad3da2c2a Minor cleanup 2023-08-14 14:47:35 +02:00
Sipke Schoorstra 811827c393 Fix unintended attempt to convert dictionary to array 2023-08-14 14:38:33 +02:00
Sipke Schoorstra ebc585b11a Restore getGuidString and getShortGuid functions and deprecate them 2023-08-14 14:34:40 +02:00