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
Sipke Schoorstra
6430d9beec
Serialize missing Fault details
2023-08-14 14:34:11 +02:00
Sipke Schoorstra
ebd6375f7f
Implement workflow inbox cleanup service
2023-08-13 12:31:58 +02:00
Sipke Schoorstra
af34276d60
Delete ActivityExecutionRecords when deleting workflow instances ( #4324 )
...
* Delete ActivityExecutionRecords when deleting workflow instances
* Enable Hangfire for testing, code formatting
2023-08-12 22:22:40 +02:00
Sipke Schoorstra
b829a0acef
Update Event Trigger endpoint to resume HTTP bookmarks
2023-08-12 21:58:15 +02:00
Sipke Schoorstra
a2b587d0d1
Order workflow definitions by name by default
2023-08-12 21:09:24 +02:00
Sipke Schoorstra
e2e861af05
Use FireAndForget strategy instead of Background worker
...
For some reason, the background worker causes duplicate handling of notifications
2023-08-12 21:09:07 +02:00
Sipke Schoorstra
6b68bd8f6d
Prevent WorkflowInbox from triggering new workflows
...
when targeting a specific workflow instance
2023-08-12 21:08:14 +02:00
Sipke Schoorstra
7c99037de2
EF Core NoTracking ( #4323 )
...
* Use NoTracking for EF Core
* Use Activity ID as Node ID for modern tooling
* Fix DispatchWorkflow activity
* Update tests and remove redundant ToolVersion
2023-08-12 16:41:16 +02:00
Sipke Schoorstra
0b8d97c422
Fix WriteHttpResponse when NoContent ( #4322 )
2023-08-12 11:47:07 +02:00
Sipke Schoorstra
74eec314fe
Create variable in local scope ( #4321 )
2023-08-12 11:04:30 +02:00
RuslanSay
a0bc324b83
V3 improve dispatch endpoint ( #4317 )
...
* add versionOptions to Dispatch endpoint
* Add DispatchWorkflow API client
2023-08-11 22:59:51 +02:00
Sipke Schoorstra
3ba6a548e1
Update ForEach activity with local variables ( #4315 )
...
* Update ForEach activity with local variables
* Add option to include activity instance ID as part of bookmark hash
2023-08-11 21:59:39 +02:00
Sipke Schoorstra
57d06244ec
Remove unused constructor argument
2023-08-11 11:35:02 +02:00