temporalio 1.6.0 → 1.6.1.test.only.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of temporalio might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Cargo.lock +9 -17
- data/lib/temporalio/api/activity/v1/message.rb +1 -1
- data/lib/temporalio/api/batch/v1/message.rb +4 -1
- data/lib/temporalio/api/command/v1/message.rb +2 -1
- data/lib/temporalio/api/common/v1/message.rb +2 -1
- data/lib/temporalio/api/enums/v1/activity.rb +1 -1
- data/lib/temporalio/api/enums/v1/batch_operation.rb +1 -1
- data/lib/temporalio/api/enums/v1/common.rb +2 -1
- data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
- data/lib/temporalio/api/errordetails/v1/message.rb +2 -1
- data/lib/temporalio/api/history/v1/message.rb +1 -1
- data/lib/temporalio/api/namespace/v1/message.rb +1 -1
- data/lib/temporalio/api/taskqueue/v1/message.rb +2 -1
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +1 -1
- data/lib/temporalio/client/connection.rb +33 -3
- data/lib/temporalio/client/schedule.rb +4 -5
- data/lib/temporalio/client/workflow_execution.rb +2 -2
- data/lib/temporalio/client/workflow_handle.rb +13 -7
- data/lib/temporalio/client.rb +4 -6
- data/lib/temporalio/internal/bridge/client.rb +3 -1
- data/lib/temporalio/internal/bridge/worker.rb +3 -1
- data/lib/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rb +9 -0
- data/lib/temporalio/runtime.rb +2 -2
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/workflow_replayer.rb +2 -0
- data/lib/temporalio/worker.rb +24 -4
- data/lib/temporalio/workflow.rb +8 -9
- data/rbi/temporalio/api/activity/v1/message.rbi +78 -12
- data/rbi/temporalio/api/batch/v1/message.rbi +229 -2
- data/rbi/temporalio/api/command/v1/message.rbi +22 -2
- data/rbi/temporalio/api/common/v1/message.rbi +100 -8
- data/rbi/temporalio/api/enums/v1/activity.rbi +1 -0
- data/rbi/temporalio/api/enums/v1/batch_operation.rbi +9 -0
- data/rbi/temporalio/api/enums/v1/common.rbi +18 -0
- data/rbi/temporalio/api/enums/v1/failed_cause.rbi +3 -0
- data/rbi/temporalio/api/errordetails/v1/message.rbi +59 -2
- data/rbi/temporalio/api/history/v1/message.rbi +22 -2
- data/rbi/temporalio/api/namespace/v1/message.rbi +70 -2
- data/rbi/temporalio/api/taskqueue/v1/message.rbi +113 -2
- data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +379 -57
- data/rbi/temporalio/client/connection.rbi +2 -0
- data/rbi/temporalio/internal/bridge/worker.rbi +2 -0
- data/rbi/temporalio/worker.rbi +9 -2
- data/rbi/temporalio/workflow/future.rbi +1 -1
- data/sig/temporalio/api/activity/v1/message.rbs +37 -2
- data/sig/temporalio/api/batch/v1/message.rbs +86 -0
- data/sig/temporalio/api/command/v1/message.rbs +10 -0
- data/sig/temporalio/api/common/v1/message.rbs +47 -7
- data/sig/temporalio/api/enums/v1/activity.rbs +9 -5
- data/sig/temporalio/api/enums/v1/batch_operation.rbs +33 -3
- data/sig/temporalio/api/enums/v1/common.rbs +23 -0
- data/sig/temporalio/api/enums/v1/failed_cause.rbs +15 -6
- data/sig/temporalio/api/errordetails/v1/message.rbs +19 -0
- data/sig/temporalio/api/history/v1/message.rbs +10 -0
- data/sig/temporalio/api/namespace/v1/message.rbs +32 -0
- data/sig/temporalio/api/taskqueue/v1/message.rbs +44 -0
- data/sig/temporalio/api/workflowservice/v1/request_response.rbs +174 -18
- data/sig/temporalio/client/connection.rbs +14 -1
- data/sig/temporalio/internal/bridge/client.rbs +5 -1
- data/sig/temporalio/internal/bridge/worker.rbs +5 -1
- data/sig/temporalio/worker.rbs +8 -2
- metadata +1 -1
|
@@ -20,11 +20,13 @@ module Temporalio
|
|
|
20
20
|
attr_accessor default_heartbeat_throttle_interval: Float
|
|
21
21
|
attr_accessor max_worker_activities_per_second: Float?
|
|
22
22
|
attr_accessor max_task_queue_activities_per_second: Float?
|
|
23
|
+
attr_accessor max_eager_activity_reservations_per_workflow_task: Integer
|
|
23
24
|
attr_accessor graceful_shutdown_period: Float
|
|
24
25
|
attr_accessor nondeterminism_as_workflow_fail: bool
|
|
25
26
|
attr_accessor nondeterminism_as_workflow_fail_for_types: Array[String]
|
|
26
27
|
attr_accessor deployment_options: DeploymentOptions?
|
|
27
28
|
attr_accessor plugins: Array[String]
|
|
29
|
+
attr_accessor disable_payload_error_limit: bool
|
|
28
30
|
|
|
29
31
|
def initialize: (
|
|
30
32
|
namespace: String,
|
|
@@ -44,11 +46,13 @@ module Temporalio
|
|
|
44
46
|
default_heartbeat_throttle_interval: Float,
|
|
45
47
|
max_worker_activities_per_second: Float?,
|
|
46
48
|
max_task_queue_activities_per_second: Float?,
|
|
49
|
+
max_eager_activity_reservations_per_workflow_task: Integer,
|
|
47
50
|
graceful_shutdown_period: Float,
|
|
48
51
|
nondeterminism_as_workflow_fail: bool,
|
|
49
52
|
nondeterminism_as_workflow_fail_for_types: Array[String],
|
|
50
53
|
deployment_options: DeploymentOptions?,
|
|
51
|
-
plugins: Array[String]
|
|
54
|
+
plugins: Array[String],
|
|
55
|
+
disable_payload_error_limit: bool
|
|
52
56
|
) -> void
|
|
53
57
|
end
|
|
54
58
|
|
data/sig/temporalio/worker.rbs
CHANGED
|
@@ -30,6 +30,7 @@ module Temporalio
|
|
|
30
30
|
attr_reader default_heartbeat_throttle_interval: Float
|
|
31
31
|
attr_reader max_activities_per_second: Float?
|
|
32
32
|
attr_reader max_task_queue_activities_per_second: Float?
|
|
33
|
+
attr_reader max_eager_activity_reservations_per_workflow_task: Integer
|
|
33
34
|
attr_reader graceful_shutdown_period: Float
|
|
34
35
|
attr_reader disable_eager_activity_execution: bool
|
|
35
36
|
attr_reader illegal_workflow_calls: Hash[String, :all | Array[Symbol | IllegalWorkflowCallValidator] | IllegalWorkflowCallValidator]
|
|
@@ -41,6 +42,7 @@ module Temporalio
|
|
|
41
42
|
attr_reader deployment_options: Worker::DeploymentOptions
|
|
42
43
|
attr_reader patch_activation_callback: Proc?
|
|
43
44
|
attr_reader debug_mode: bool
|
|
45
|
+
attr_reader disable_payload_error_limit: bool
|
|
44
46
|
|
|
45
47
|
def initialize: (
|
|
46
48
|
client: Client,
|
|
@@ -64,6 +66,7 @@ module Temporalio
|
|
|
64
66
|
default_heartbeat_throttle_interval: Float,
|
|
65
67
|
max_activities_per_second: Float?,
|
|
66
68
|
max_task_queue_activities_per_second: Float?,
|
|
69
|
+
max_eager_activity_reservations_per_workflow_task: Integer,
|
|
67
70
|
graceful_shutdown_period: Float,
|
|
68
71
|
disable_eager_activity_execution: bool,
|
|
69
72
|
illegal_workflow_calls: Hash[String, :all | Array[Symbol | IllegalWorkflowCallValidator] | IllegalWorkflowCallValidator],
|
|
@@ -74,7 +77,8 @@ module Temporalio
|
|
|
74
77
|
activity_task_poller_behavior: PollerBehavior,
|
|
75
78
|
deployment_options: Worker::DeploymentOptions,
|
|
76
79
|
patch_activation_callback: Proc?,
|
|
77
|
-
debug_mode: bool
|
|
80
|
+
debug_mode: bool,
|
|
81
|
+
disable_payload_error_limit: bool
|
|
78
82
|
) -> void
|
|
79
83
|
|
|
80
84
|
def with: (**Object kwargs) -> Options
|
|
@@ -128,6 +132,7 @@ module Temporalio
|
|
|
128
132
|
?default_heartbeat_throttle_interval: Float,
|
|
129
133
|
?max_activities_per_second: Float?,
|
|
130
134
|
?max_task_queue_activities_per_second: Float?,
|
|
135
|
+
?max_eager_activity_reservations_per_workflow_task: Integer,
|
|
131
136
|
?graceful_shutdown_period: Float,
|
|
132
137
|
?disable_eager_activity_execution: bool,
|
|
133
138
|
?illegal_workflow_calls: Hash[String, :all | Array[Symbol | IllegalWorkflowCallValidator] | IllegalWorkflowCallValidator],
|
|
@@ -138,7 +143,8 @@ module Temporalio
|
|
|
138
143
|
?activity_task_poller_behavior: PollerBehavior,
|
|
139
144
|
?deployment_options: Worker::DeploymentOptions,
|
|
140
145
|
?patch_activation_callback: Proc?,
|
|
141
|
-
?debug_mode: bool
|
|
146
|
+
?debug_mode: bool,
|
|
147
|
+
?disable_payload_error_limit: bool
|
|
142
148
|
) -> void
|
|
143
149
|
|
|
144
150
|
def _initialize_from_options: -> void
|