temporalio 1.10.0 → 1.11.0
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.
- checksums.yaml +4 -4
- data/Cargo.lock +763 -768
- data/Gemfile +3 -2
- data/ext/Cargo.toml +3 -3
- data/lib/temporalio/api/activity/v1/message.rb +1 -1
- data/lib/temporalio/api/common/v1/message.rb +2 -1
- data/lib/temporalio/api/schedule/v1/message.rb +1 -1
- data/lib/temporalio/api/taskqueue/v1/message.rb +2 -1
- data/lib/temporalio/api/worker/v1/message.rb +1 -1
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +1 -1
- data/lib/temporalio/client/connection.rb +4 -4
- data/lib/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rb +52 -0
- data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver.rb +211 -0
- data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rb +56 -0
- data/lib/temporalio/contrib/aws/s3_driver.rb +22 -0
- data/lib/temporalio/contrib/open_telemetry.rb +1 -1
- data/lib/temporalio/converters/external_storage_concurrency.rb +4 -6
- data/lib/temporalio/converters/payload_converter/binary_protobuf.rb +1 -1
- data/lib/temporalio/converters/payload_converter/json_protobuf.rb +1 -1
- data/lib/temporalio/converters/storage_driver_limiter.rb +6 -8
- data/lib/temporalio/converters/storage_driver_retrieve_context.rb +1 -2
- data/lib/temporalio/converters/storage_driver_store_context.rb +1 -2
- data/lib/temporalio/env_config.rb +89 -8
- data/lib/temporalio/internal/bridge/api/activity_result/activity_result.rb +2 -2
- data/lib/temporalio/internal/bridge/api/activity_task/activity_task.rb +3 -1
- data/lib/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rb +2 -1
- data/lib/temporalio/internal/bridge/testing.rb +4 -2
- data/lib/temporalio/internal/worker/workflow_instance/child_workflow_handle.rb +2 -2
- data/lib/temporalio/internal/worker/workflow_instance/context.rb +35 -24
- data/lib/temporalio/internal/worker/workflow_instance/external_workflow_handle.rb +6 -4
- data/lib/temporalio/internal/worker/workflow_instance/nexus_client.rb +3 -2
- data/lib/temporalio/internal/worker/workflow_instance/outbound_implementation.rb +52 -19
- data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +8 -2
- data/lib/temporalio/internal/worker/workflow_instance.rb +47 -26
- data/lib/temporalio/internal/worker/workflow_worker.rb +1 -2
- data/lib/temporalio/search_attributes.rb +4 -2
- data/lib/temporalio/testing/workflow_environment.rb +10 -2
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/interceptor.rb +16 -8
- data/lib/temporalio/worker/workflow_replayer.rb +1 -1
- data/lib/temporalio/worker.rb +19 -12
- data/lib/temporalio/workflow/child_workflow_handle.rb +4 -1
- data/lib/temporalio/workflow/event_group.rb +157 -0
- data/lib/temporalio/workflow/external_workflow_handle.rb +9 -2
- data/lib/temporalio/workflow/future.rb +1 -1
- data/lib/temporalio/workflow/info.rb +4 -0
- data/lib/temporalio/workflow/nexus_client.rb +11 -3
- data/lib/temporalio/workflow.rb +114 -22
- data/rbi/temporalio/api/activity/v1/message.rbi +71 -2
- data/rbi/temporalio/api/common/v1/message.rbi +95 -0
- data/rbi/temporalio/api/schedule/v1/message.rbi +44 -4
- data/rbi/temporalio/api/taskqueue/v1/message.rbi +67 -0
- data/rbi/temporalio/api/worker/v1/message.rbi +22 -2
- data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +126 -12
- data/rbi/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rbi +8 -0
- data/rbi/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbi +27 -0
- data/rbi/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rbi +17 -0
- data/rbi/temporalio/contrib/aws/s3_driver.rbi +5 -0
- data/rbi/temporalio/env_config.rbi +39 -4
- data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +0 -19
- data/rbi/temporalio/internal/bridge/api/activity_task/activity_task.rbi +213 -2
- data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +50 -4
- data/rbi/temporalio/internal/bridge/testing.rbi +17 -4
- data/rbi/temporalio/internal/bridge/worker.rbi +4 -4
- data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +33 -24
- data/rbi/temporalio/internal/worker/workflow_instance/nexus_client.rbi +4 -2
- data/rbi/temporalio/internal/worker/workflow_instance/outbound_implementation.rbi +17 -6
- data/rbi/temporalio/internal/worker/workflow_instance/scheduler.rbi +1 -1
- data/rbi/temporalio/internal/worker/workflow_instance.rbi +5 -2
- data/rbi/temporalio/testing/workflow_environment.rbi +4 -0
- data/rbi/temporalio/worker/interceptor.rbi +24 -0
- data/rbi/temporalio/worker.rbi +8 -8
- data/rbi/temporalio/workflow/child_workflow_handle.rbi +3 -2
- data/rbi/temporalio/workflow/event_group.rbi +104 -0
- data/rbi/temporalio/workflow/external_workflow_handle.rbi +5 -4
- data/rbi/temporalio/workflow/info.rbi +3 -0
- data/rbi/temporalio/workflow/nexus_client.rbi +8 -4
- data/rbi/temporalio/workflow.rbi +70 -21
- data/sig/temporalio/api/activity/v1/message.rbs +31 -0
- data/sig/temporalio/api/common/v1/message.rbs +35 -0
- data/sig/temporalio/api/schedule/v1/message.rbs +20 -0
- data/sig/temporalio/api/taskqueue/v1/message.rbs +24 -0
- data/sig/temporalio/api/worker/v1/message.rbs +10 -0
- data/sig/temporalio/api/workflowservice/v1/request_response.rbs +58 -0
- data/sig/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rbs +13 -0
- data/sig/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbs +68 -0
- data/sig/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rbs +14 -0
- data/sig/temporalio/contrib/aws/s3_driver.rbs +8 -0
- data/sig/temporalio/env_config.rbs +20 -2
- data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +6 -41
- data/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs +99 -0
- data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +22 -0
- data/sig/temporalio/internal/bridge/testing.rbs +7 -3
- data/sig/temporalio/internal/bridge/worker.rbs +4 -4
- data/sig/temporalio/internal/worker/workflow_instance/context.rbs +19 -13
- data/sig/temporalio/internal/worker/workflow_instance/nexus_client.rbs +2 -1
- data/sig/temporalio/internal/worker/workflow_instance/outbound_implementation.rbs +8 -5
- data/sig/temporalio/internal/worker/workflow_instance/scheduler.rbs +1 -1
- data/sig/temporalio/internal/worker/workflow_instance.rbs +2 -1
- data/sig/temporalio/testing/workflow_environment.rbs +8 -4
- data/sig/temporalio/worker/interceptor.rbs +24 -8
- data/sig/temporalio/worker.rbs +12 -12
- data/sig/temporalio/workflow/child_workflow_handle.rbs +2 -1
- data/sig/temporalio/workflow/event_group.rbs +37 -0
- data/sig/temporalio/workflow/external_workflow_handle.rbs +3 -2
- data/sig/temporalio/workflow/info.rbs +2 -0
- data/sig/temporalio/workflow/nexus_client.rbs +4 -2
- data/sig/temporalio/workflow.rbs +27 -11
- metadata +16 -1
data/sig/temporalio/worker.rbs
CHANGED
|
@@ -21,9 +21,9 @@ module Temporalio
|
|
|
21
21
|
attr_reader identity: String
|
|
22
22
|
attr_reader logger: Logger
|
|
23
23
|
attr_reader max_cached_workflows: Integer
|
|
24
|
-
attr_reader max_concurrent_workflow_task_polls: Integer
|
|
24
|
+
attr_reader max_concurrent_workflow_task_polls: Integer?
|
|
25
25
|
attr_reader nonsticky_to_sticky_poll_ratio: Float
|
|
26
|
-
attr_reader max_concurrent_activity_task_polls: Integer
|
|
26
|
+
attr_reader max_concurrent_activity_task_polls: Integer?
|
|
27
27
|
attr_reader no_remote_activities: bool
|
|
28
28
|
attr_reader sticky_queue_schedule_to_start_timeout: Float
|
|
29
29
|
attr_reader max_heartbeat_throttle_interval: Float
|
|
@@ -37,8 +37,8 @@ module Temporalio
|
|
|
37
37
|
attr_reader workflow_failure_exception_types: Array[singleton(Exception)]
|
|
38
38
|
attr_reader workflow_payload_codec_thread_pool: ThreadPool?
|
|
39
39
|
attr_reader unsafe_workflow_io_enabled: bool
|
|
40
|
-
attr_reader workflow_task_poller_behavior: PollerBehavior
|
|
41
|
-
attr_reader activity_task_poller_behavior: PollerBehavior
|
|
40
|
+
attr_reader workflow_task_poller_behavior: PollerBehavior?
|
|
41
|
+
attr_reader activity_task_poller_behavior: PollerBehavior?
|
|
42
42
|
attr_reader deployment_options: Worker::DeploymentOptions
|
|
43
43
|
attr_reader patch_activation_callback: Proc?
|
|
44
44
|
attr_reader debug_mode: bool
|
|
@@ -57,9 +57,9 @@ module Temporalio
|
|
|
57
57
|
identity: String?,
|
|
58
58
|
logger: Logger,
|
|
59
59
|
max_cached_workflows: Integer,
|
|
60
|
-
max_concurrent_workflow_task_polls: Integer
|
|
60
|
+
max_concurrent_workflow_task_polls: Integer?,
|
|
61
61
|
nonsticky_to_sticky_poll_ratio: Float,
|
|
62
|
-
max_concurrent_activity_task_polls: Integer
|
|
62
|
+
max_concurrent_activity_task_polls: Integer?,
|
|
63
63
|
no_remote_activities: bool,
|
|
64
64
|
sticky_queue_schedule_to_start_timeout: Float,
|
|
65
65
|
max_heartbeat_throttle_interval: Float,
|
|
@@ -73,8 +73,8 @@ module Temporalio
|
|
|
73
73
|
workflow_failure_exception_types: Array[singleton(Exception)],
|
|
74
74
|
workflow_payload_codec_thread_pool: ThreadPool?,
|
|
75
75
|
unsafe_workflow_io_enabled: bool,
|
|
76
|
-
workflow_task_poller_behavior: PollerBehavior
|
|
77
|
-
activity_task_poller_behavior: PollerBehavior
|
|
76
|
+
workflow_task_poller_behavior: PollerBehavior?,
|
|
77
|
+
activity_task_poller_behavior: PollerBehavior?,
|
|
78
78
|
deployment_options: Worker::DeploymentOptions,
|
|
79
79
|
patch_activation_callback: Proc?,
|
|
80
80
|
debug_mode: bool,
|
|
@@ -123,9 +123,9 @@ module Temporalio
|
|
|
123
123
|
?identity: String?,
|
|
124
124
|
?logger: Logger,
|
|
125
125
|
?max_cached_workflows: Integer,
|
|
126
|
-
?max_concurrent_workflow_task_polls: Integer
|
|
126
|
+
?max_concurrent_workflow_task_polls: Integer?,
|
|
127
127
|
?nonsticky_to_sticky_poll_ratio: Float,
|
|
128
|
-
?max_concurrent_activity_task_polls: Integer
|
|
128
|
+
?max_concurrent_activity_task_polls: Integer?,
|
|
129
129
|
?no_remote_activities: bool,
|
|
130
130
|
?sticky_queue_schedule_to_start_timeout: Float,
|
|
131
131
|
?max_heartbeat_throttle_interval: Float,
|
|
@@ -139,8 +139,8 @@ module Temporalio
|
|
|
139
139
|
?workflow_failure_exception_types: Array[singleton(Exception)],
|
|
140
140
|
?workflow_payload_codec_thread_pool: ThreadPool?,
|
|
141
141
|
?unsafe_workflow_io_enabled: bool,
|
|
142
|
-
?workflow_task_poller_behavior: PollerBehavior
|
|
143
|
-
?activity_task_poller_behavior: PollerBehavior
|
|
142
|
+
?workflow_task_poller_behavior: PollerBehavior?,
|
|
143
|
+
?activity_task_poller_behavior: PollerBehavior?,
|
|
144
144
|
?deployment_options: Worker::DeploymentOptions,
|
|
145
145
|
?patch_activation_callback: Proc?,
|
|
146
146
|
?debug_mode: bool,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
module Temporalio
|
|
2
|
+
module Workflow
|
|
3
|
+
class EventGroup
|
|
4
|
+
class Active
|
|
5
|
+
attr_accessor implicit: EventGroup?
|
|
6
|
+
attr_accessor explicit: Hash[String, EventGroup]
|
|
7
|
+
|
|
8
|
+
def initialize: (?implicit: EventGroup?, ?explicit: Hash[String, EventGroup]) -> void
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
EMPTY_ACTIVE: Active
|
|
12
|
+
STORAGE_KEY: Symbol
|
|
13
|
+
|
|
14
|
+
def self._active: -> Active
|
|
15
|
+
def self._with_active: [T] (Active active) { -> T } -> T
|
|
16
|
+
def self._with_event_groups: [T] (*EventGroup groups) { -> T } -> T
|
|
17
|
+
def self._with_inbound_event: [T] (Integer event_id) { -> T } -> T
|
|
18
|
+
def self._with_inbound_update: [T] (String update_id) { -> T } -> T
|
|
19
|
+
def self._markers_for_command: (Array[EventGroup]? directs) -> Array[Api::Sdk::V1::EventGroupMarker]
|
|
20
|
+
|
|
21
|
+
def initialize: -> void
|
|
22
|
+
def _applied_over: (Active _active) -> Active
|
|
23
|
+
def _to_proto: -> Api::Sdk::V1::EventGroupMarker
|
|
24
|
+
|
|
25
|
+
class Label < EventGroup
|
|
26
|
+
attr_reader id: String
|
|
27
|
+
attr_reader label: String?
|
|
28
|
+
|
|
29
|
+
def initialize: (String id, String? label) -> void
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
class Implicit < EventGroup
|
|
33
|
+
def initialize: (Api::Sdk::V1::EventGroupMarker marker) -> void
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -8,10 +8,11 @@ module Temporalio
|
|
|
8
8
|
Workflow::Definition::Signal | Symbol | String signal,
|
|
9
9
|
*Object? args,
|
|
10
10
|
?cancellation: Cancellation,
|
|
11
|
-
?arg_hints: Array[Object]
|
|
11
|
+
?arg_hints: Array[Object]?,
|
|
12
|
+
?event_groups: Array[EventGroup]?
|
|
12
13
|
) -> void
|
|
13
14
|
|
|
14
|
-
def cancel: -> void
|
|
15
|
+
def cancel: (?event_groups: Array[EventGroup]?) -> void
|
|
15
16
|
end
|
|
16
17
|
end
|
|
17
18
|
end
|
|
@@ -11,6 +11,7 @@ module Temporalio
|
|
|
11
11
|
attr_reader last_result: Object?
|
|
12
12
|
attr_reader has_last_result?: bool
|
|
13
13
|
attr_reader namespace: String
|
|
14
|
+
attr_reader original_execution_run_id: String
|
|
14
15
|
attr_reader parent: ParentInfo?
|
|
15
16
|
attr_reader priority: Temporalio::Priority
|
|
16
17
|
attr_reader retry_policy: RetryPolicy?
|
|
@@ -34,6 +35,7 @@ module Temporalio
|
|
|
34
35
|
last_result: Object?,
|
|
35
36
|
has_last_result?: bool,
|
|
36
37
|
namespace: String,
|
|
38
|
+
original_execution_run_id: String,
|
|
37
39
|
parent: ParentInfo?,
|
|
38
40
|
priority: Temporalio::Priority?,
|
|
39
41
|
retry_policy: RetryPolicy?,
|
|
@@ -14,7 +14,8 @@ module Temporalio
|
|
|
14
14
|
?summary: String?,
|
|
15
15
|
?cancellation: Cancellation,
|
|
16
16
|
?arg_hint: Object?,
|
|
17
|
-
?result_hint: Object
|
|
17
|
+
?result_hint: Object?,
|
|
18
|
+
?event_groups: Array[EventGroup]?
|
|
18
19
|
) -> NexusOperationHandle
|
|
19
20
|
|
|
20
21
|
def execute_operation: (
|
|
@@ -27,7 +28,8 @@ module Temporalio
|
|
|
27
28
|
?summary: String?,
|
|
28
29
|
?cancellation: Cancellation,
|
|
29
30
|
?arg_hint: Object?,
|
|
30
|
-
?result_hint: Object
|
|
31
|
+
?result_hint: Object?,
|
|
32
|
+
?event_groups: Array[EventGroup]?
|
|
31
33
|
) -> Object?
|
|
32
34
|
end
|
|
33
35
|
end
|
data/sig/temporalio/workflow.rbs
CHANGED
|
@@ -8,6 +8,10 @@ module Temporalio
|
|
|
8
8
|
|
|
9
9
|
def self.create_nexus_client: (endpoint: Symbol | String, service: Symbol | String) -> NexusClient
|
|
10
10
|
|
|
11
|
+
def self.create_event_group: (String id, ?label: String?) -> EventGroup
|
|
12
|
+
|
|
13
|
+
def self.with_event_groups: [T] (*EventGroup groups) { -> T } -> T
|
|
14
|
+
|
|
11
15
|
def self.suggest_continue_as_new_reasons: -> Array[SuggestContinueAsNewReason::enum]
|
|
12
16
|
|
|
13
17
|
def self.target_worker_deployment_version_changed?: -> bool
|
|
@@ -23,7 +27,7 @@ module Temporalio
|
|
|
23
27
|
|
|
24
28
|
def self.current_update_info: -> UpdateInfo?
|
|
25
29
|
|
|
26
|
-
def self.deprecate_patch: (Symbol | String patch_id) -> void
|
|
30
|
+
def self.deprecate_patch: (Symbol | String patch_id, ?event_groups: Array[EventGroup]?) -> void
|
|
27
31
|
|
|
28
32
|
def self.execute_activity: (
|
|
29
33
|
singleton(Activity::Definition) | Symbol | String activity,
|
|
@@ -41,7 +45,8 @@ module Temporalio
|
|
|
41
45
|
?disable_eager_execution: bool,
|
|
42
46
|
?priority: Priority,
|
|
43
47
|
?arg_hints: Array[Object]?,
|
|
44
|
-
?result_hint: Object
|
|
48
|
+
?result_hint: Object?,
|
|
49
|
+
?event_groups: Array[EventGroup]?
|
|
45
50
|
) -> Object?
|
|
46
51
|
|
|
47
52
|
def self.execute_child_workflow: (
|
|
@@ -65,7 +70,8 @@ module Temporalio
|
|
|
65
70
|
?priority: Priority,
|
|
66
71
|
?versioning_override: VersioningOverride?,
|
|
67
72
|
?arg_hints: Array[Object]?,
|
|
68
|
-
?result_hint: Object
|
|
73
|
+
?result_hint: Object?,
|
|
74
|
+
?event_groups: Array[EventGroup]?
|
|
69
75
|
) -> Object?
|
|
70
76
|
|
|
71
77
|
def self.execute_local_activity: (
|
|
@@ -81,7 +87,8 @@ module Temporalio
|
|
|
81
87
|
?cancellation_type: ActivityCancellationType::enum,
|
|
82
88
|
?activity_id: String?,
|
|
83
89
|
?arg_hints: Array[Object]?,
|
|
84
|
-
?result_hint: Object
|
|
90
|
+
?result_hint: Object?,
|
|
91
|
+
?event_groups: Array[EventGroup]?
|
|
85
92
|
) -> Object?
|
|
86
93
|
|
|
87
94
|
def self.external_workflow_handle: (String workflow_id, ?run_id: String?) -> ExternalWorkflowHandle
|
|
@@ -100,7 +107,7 @@ module Temporalio
|
|
|
100
107
|
|
|
101
108
|
def self.now: -> Time
|
|
102
109
|
|
|
103
|
-
def self.patched: (Symbol | String patch_id) -> bool
|
|
110
|
+
def self.patched: (Symbol | String patch_id, ?event_groups: Array[EventGroup]?) -> bool
|
|
104
111
|
|
|
105
112
|
def self.payload_converter: -> Converters::PayloadConverter
|
|
106
113
|
|
|
@@ -112,7 +119,7 @@ module Temporalio
|
|
|
112
119
|
|
|
113
120
|
def self.signal_handlers: -> Hash[String?, Workflow::Definition::Signal]
|
|
114
121
|
|
|
115
|
-
def self.sleep: (duration? duration, ?summary: String?, ?cancellation: Cancellation) -> void
|
|
122
|
+
def self.sleep: (duration? duration, ?summary: String?, ?cancellation: Cancellation, ?event_groups: Array[EventGroup]?) -> void
|
|
116
123
|
|
|
117
124
|
def self.start_child_workflow: (
|
|
118
125
|
singleton(Workflow::Definition) | Workflow::Definition::Info | Symbol | String workflow,
|
|
@@ -135,7 +142,8 @@ module Temporalio
|
|
|
135
142
|
?priority: Priority,
|
|
136
143
|
?versioning_override: VersioningOverride?,
|
|
137
144
|
?arg_hints: Array[Object]?,
|
|
138
|
-
?result_hint: Object
|
|
145
|
+
?result_hint: Object?,
|
|
146
|
+
?event_groups: Array[EventGroup]?
|
|
139
147
|
) -> ChildWorkflowHandle
|
|
140
148
|
|
|
141
149
|
def self.storage: -> Hash[Object, Object]
|
|
@@ -144,14 +152,16 @@ module Temporalio
|
|
|
144
152
|
duration? duration,
|
|
145
153
|
?singleton(Exception) exception_class,
|
|
146
154
|
?String message,
|
|
147
|
-
?summary: String
|
|
155
|
+
?summary: String?,
|
|
156
|
+
?event_groups: Array[EventGroup]?
|
|
148
157
|
) { -> T } -> T
|
|
149
158
|
|
|
150
159
|
def self.update_handlers: -> Hash[String?, Workflow::Definition::Update]
|
|
151
160
|
|
|
152
|
-
def self.upsert_memo: (Hash[Symbol | String, Object?] hash) -> void
|
|
161
|
+
def self.upsert_memo: (Hash[Symbol | String, Object?] hash, ?event_groups: Array[EventGroup]?) -> void
|
|
162
|
+
| (?event_groups: Array[EventGroup]?, **Object? memo) -> void
|
|
153
163
|
|
|
154
|
-
def self.upsert_search_attributes: (*SearchAttributes::Update updates) -> void
|
|
164
|
+
def self.upsert_search_attributes: (*SearchAttributes::Update updates, ?event_groups: Array[EventGroup]?) -> void
|
|
155
165
|
|
|
156
166
|
def self.wait_condition: [T] (?cancellation: Cancellation?) { -> T } -> T
|
|
157
167
|
|
|
@@ -185,6 +195,11 @@ module Temporalio
|
|
|
185
195
|
attr_accessor arg_hints: Array[Object]?
|
|
186
196
|
attr_accessor headers: Hash[String, Object?]
|
|
187
197
|
attr_accessor initial_versioning_behavior: ContinueAsNewVersioningBehavior::enum?
|
|
198
|
+
attr_reader event_groups: Array[EventGroup]?
|
|
199
|
+
|
|
200
|
+
private
|
|
201
|
+
|
|
202
|
+
attr_accessor _event_group_markers: Array[Api::Sdk::V1::EventGroupMarker]?
|
|
188
203
|
|
|
189
204
|
def initialize: (
|
|
190
205
|
*Object? args,
|
|
@@ -198,7 +213,8 @@ module Temporalio
|
|
|
198
213
|
?search_attributes: SearchAttributes?,
|
|
199
214
|
?arg_hints: Array[Object]?,
|
|
200
215
|
?headers: Hash[String, Object?],
|
|
201
|
-
?initial_versioning_behavior: ContinueAsNewVersioningBehavior::enum
|
|
216
|
+
?initial_versioning_behavior: ContinueAsNewVersioningBehavior::enum?,
|
|
217
|
+
?event_groups: Array[EventGroup]?
|
|
202
218
|
) -> void
|
|
203
219
|
end
|
|
204
220
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: temporalio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Temporal Technologies Inc
|
|
@@ -185,6 +185,10 @@ files:
|
|
|
185
185
|
- lib/temporalio/client/workflow_update_handle.rb
|
|
186
186
|
- lib/temporalio/client/workflow_update_wait_stage.rb
|
|
187
187
|
- lib/temporalio/common_enums.rb
|
|
188
|
+
- lib/temporalio/contrib/aws/s3_driver.rb
|
|
189
|
+
- lib/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rb
|
|
190
|
+
- lib/temporalio/contrib/aws/s3_driver/s3_storage_driver.rb
|
|
191
|
+
- lib/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rb
|
|
188
192
|
- lib/temporalio/contrib/open_telemetry.rb
|
|
189
193
|
- lib/temporalio/converters.rb
|
|
190
194
|
- lib/temporalio/converters/data_converter.rb
|
|
@@ -287,6 +291,7 @@ files:
|
|
|
287
291
|
- lib/temporalio/workflow/child_workflow_cancellation_type.rb
|
|
288
292
|
- lib/temporalio/workflow/child_workflow_handle.rb
|
|
289
293
|
- lib/temporalio/workflow/definition.rb
|
|
294
|
+
- lib/temporalio/workflow/event_group.rb
|
|
290
295
|
- lib/temporalio/workflow/external_workflow_handle.rb
|
|
291
296
|
- lib/temporalio/workflow/future.rb
|
|
292
297
|
- lib/temporalio/workflow/handler_unfinished_policy.rb
|
|
@@ -421,6 +426,10 @@ files:
|
|
|
421
426
|
- rbi/temporalio/client/workflow_update_handle.rbi
|
|
422
427
|
- rbi/temporalio/client/workflow_update_wait_stage.rbi
|
|
423
428
|
- rbi/temporalio/common_enums.rbi
|
|
429
|
+
- rbi/temporalio/contrib/aws/s3_driver.rbi
|
|
430
|
+
- rbi/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rbi
|
|
431
|
+
- rbi/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbi
|
|
432
|
+
- rbi/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rbi
|
|
424
433
|
- rbi/temporalio/contrib/open_telemetry.rbi
|
|
425
434
|
- rbi/temporalio/converters.rbi
|
|
426
435
|
- rbi/temporalio/converters/data_converter.rbi
|
|
@@ -523,6 +532,7 @@ files:
|
|
|
523
532
|
- rbi/temporalio/workflow/child_workflow_cancellation_type.rbi
|
|
524
533
|
- rbi/temporalio/workflow/child_workflow_handle.rbi
|
|
525
534
|
- rbi/temporalio/workflow/definition.rbi
|
|
535
|
+
- rbi/temporalio/workflow/event_group.rbi
|
|
526
536
|
- rbi/temporalio/workflow/external_workflow_handle.rbi
|
|
527
537
|
- rbi/temporalio/workflow/future.rbi
|
|
528
538
|
- rbi/temporalio/workflow/handler_unfinished_policy.rbi
|
|
@@ -655,6 +665,10 @@ files:
|
|
|
655
665
|
- sig/temporalio/client/workflow_update_handle.rbs
|
|
656
666
|
- sig/temporalio/client/workflow_update_wait_stage.rbs
|
|
657
667
|
- sig/temporalio/common_enums.rbs
|
|
668
|
+
- sig/temporalio/contrib/aws/s3_driver.rbs
|
|
669
|
+
- sig/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rbs
|
|
670
|
+
- sig/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbs
|
|
671
|
+
- sig/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rbs
|
|
658
672
|
- sig/temporalio/contrib/open_telemetry.rbs
|
|
659
673
|
- sig/temporalio/converters.rbs
|
|
660
674
|
- sig/temporalio/converters/data_converter.rbs
|
|
@@ -759,6 +773,7 @@ files:
|
|
|
759
773
|
- sig/temporalio/workflow/child_workflow_cancellation_type.rbs
|
|
760
774
|
- sig/temporalio/workflow/child_workflow_handle.rbs
|
|
761
775
|
- sig/temporalio/workflow/definition.rbs
|
|
776
|
+
- sig/temporalio/workflow/event_group.rbs
|
|
762
777
|
- sig/temporalio/workflow/external_workflow_handle.rbs
|
|
763
778
|
- sig/temporalio/workflow/future.rbs
|
|
764
779
|
- sig/temporalio/workflow/handler_unfinished_policy.rbs
|