temporalio 1.9.0-aarch64-linux → 1.10.0-aarch64-linux
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/Rakefile +28 -0
- data/lib/temporalio/api/activity/v1/message.rb +2 -1
- data/lib/temporalio/api/callback/v1/message.rb +1 -1
- data/lib/temporalio/api/common/v1/message.rb +3 -1
- data/lib/temporalio/api/compute/v1/config.rb +1 -1
- data/lib/temporalio/api/enums/v1/common.rb +1 -1
- data/lib/temporalio/api/enums/v1/failed_cause.rb +2 -1
- data/lib/temporalio/api/export/v1/message.rb +4 -1
- data/lib/temporalio/api/history/v1/message.rb +2 -1
- data/lib/temporalio/api/nexus/v1/message.rb +2 -1
- data/lib/temporalio/api/nexusoperation/v1/message.rb +26 -0
- data/lib/temporalio/api/notificationservice/v1/request_response.rb +25 -0
- data/lib/temporalio/api/payload_visitor.rb +54 -0
- data/lib/temporalio/api/replication/v1/message.rb +2 -1
- data/lib/temporalio/api/update/v1/message.rb +2 -1
- data/lib/temporalio/api/worker/v1/message.rb +1 -1
- data/lib/temporalio/api/workflow/v1/message.rb +2 -1
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +2 -1
- data/lib/temporalio/client/schedule.rb +8 -7
- data/lib/temporalio/client/with_start_workflow_operation.rb +1 -1
- data/lib/temporalio/client.rb +4 -4
- data/lib/temporalio/converters/external_storage.rb +90 -0
- data/lib/temporalio/converters/external_storage_concurrency.rb +52 -0
- data/lib/temporalio/converters/storage_driver.rb +56 -0
- data/lib/temporalio/converters/storage_driver_activity_info.rb +38 -0
- data/lib/temporalio/converters/storage_driver_claim.rb +30 -0
- data/lib/temporalio/converters/storage_driver_limiter.rb +37 -0
- data/lib/temporalio/converters/storage_driver_retrieve_context.rb +30 -0
- data/lib/temporalio/converters/storage_driver_select_context.rb +26 -0
- data/lib/temporalio/converters/storage_driver_store_context.rb +31 -0
- data/lib/temporalio/converters/storage_driver_workflow_info.rb +40 -0
- data/lib/temporalio/converters.rb +11 -0
- data/lib/temporalio/error/failure.rb +16 -0
- data/lib/temporalio/error.rb +17 -0
- data/lib/temporalio/internal/bridge/3.3/temporalio_bridge.so +2 -2
- data/lib/temporalio/internal/bridge/3.4/temporalio_bridge.so +2 -2
- data/lib/temporalio/internal/bridge/4.0/temporalio_bridge.so +2 -2
- data/lib/temporalio/internal/bridge/api/activity_result/activity_result.rb +2 -1
- data/lib/temporalio/internal/bridge/api/child_workflow/child_workflow.rb +1 -1
- data/lib/temporalio/internal/bridge/api/external_data/external_data.rb +1 -1
- data/lib/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rb +2 -1
- data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +3 -1
- data/lib/temporalio/internal/external_storage_references.rb +62 -0
- data/lib/temporalio/internal/worker/workflow_instance/context.rb +2 -0
- data/lib/temporalio/internal/worker/workflow_instance/outbound_implementation.rb +21 -3
- data/lib/temporalio/testing/activity_environment.rb +1 -1
- data/lib/temporalio/testing/workflow_environment.rb +4 -4
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/versioning_override.rb +28 -1
- data/lib/temporalio/worker/interceptor.rb +1 -0
- data/lib/temporalio/workflow.rb +14 -4
- data/rbi/temporalio/api/activity/v1/message.rbi +39 -2
- data/rbi/temporalio/api/callback/v1/message.rbi +22 -2
- data/rbi/temporalio/api/common/v1/message.rbi +294 -4
- data/rbi/temporalio/api/compute/v1/config.rbi +39 -5
- data/rbi/temporalio/api/enums/v1/common.rbi +1 -0
- data/rbi/temporalio/api/enums/v1/failed_cause.rbi +20 -0
- data/rbi/temporalio/api/export/v1/message.rbi +136 -2
- data/rbi/temporalio/api/history/v1/message.rbi +38 -4
- data/rbi/temporalio/api/nexus/v1/message.rbi +88 -0
- data/rbi/temporalio/api/nexusoperation/v1/message.rbi +287 -0
- data/rbi/temporalio/api/notificationservice/v1/request_response.rbi +151 -0
- data/rbi/temporalio/api/payload_visitor.rbi +21 -0
- data/rbi/temporalio/api/replication/v1/message.rbi +22 -2
- data/rbi/temporalio/api/update/v1/message.rbi +19 -2
- data/rbi/temporalio/api/worker/v1/message.rbi +2 -0
- data/rbi/temporalio/api/workflow/v1/message.rbi +41 -4
- data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +294 -20
- data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +0 -13
- data/rbi/temporalio/client/schedule.rbi +2 -2
- data/rbi/temporalio/converters/external_storage.rbi +49 -0
- data/rbi/temporalio/converters/external_storage_concurrency.rbi +26 -0
- data/rbi/temporalio/converters/storage_driver.rbi +27 -0
- data/rbi/temporalio/converters/storage_driver_activity_info.rbi +36 -0
- data/rbi/temporalio/converters/storage_driver_claim.rbi +20 -0
- data/rbi/temporalio/converters/storage_driver_limiter.rbi +13 -0
- data/rbi/temporalio/converters/storage_driver_retrieve_context.rbi +23 -0
- data/rbi/temporalio/converters/storage_driver_select_context.rbi +42 -0
- data/rbi/temporalio/converters/storage_driver_store_context.rbi +46 -0
- data/rbi/temporalio/converters/storage_driver_workflow_info.rbi +36 -0
- data/rbi/temporalio/error.rbi +17 -0
- data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +41 -2
- data/rbi/temporalio/internal/bridge/api/child_workflow/child_workflow.rbi +2 -0
- data/rbi/temporalio/internal/bridge/api/external_data/external_data.rbi +29 -2
- data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +88 -14
- data/rbi/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbi +91 -6
- data/rbi/temporalio/internal/external_storage_references.rbi +26 -0
- data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +2 -0
- data/rbi/temporalio/versioning_override.rbi +8 -0
- data/rbi/temporalio/worker/interceptor.rbi +3 -0
- data/rbi/temporalio/workflow.rbi +4 -0
- data/sig/temporalio/api/activity/v1/message.rbs +18 -0
- data/sig/temporalio/api/callback/v1/message.rbs +10 -0
- data/sig/temporalio/api/common/v1/message.rbs +133 -4
- data/sig/temporalio/api/compute/v1/config.rbs +17 -1
- data/sig/temporalio/api/enums/v1/common.rbs +7 -4
- data/sig/temporalio/api/enums/v1/failed_cause.rbs +42 -5
- data/sig/temporalio/api/export/v1/message.rbs +50 -2
- data/sig/temporalio/api/history/v1/message.rbs +19 -0
- data/sig/temporalio/api/nexus/v1/message.rbs +37 -0
- data/sig/temporalio/api/nexusoperation/v1/message.rbs +125 -0
- data/sig/temporalio/api/notificationservice/v1/request_response.rbs +81 -0
- data/sig/temporalio/api/payload_visitor.rbs +7 -0
- data/sig/temporalio/api/replication/v1/message.rbs +11 -0
- data/sig/temporalio/api/update/v1/message.rbs +9 -0
- data/sig/temporalio/api/worker/v1/message.rbs +9 -3
- data/sig/temporalio/api/workflow/v1/message.rbs +19 -0
- data/sig/temporalio/api/workflowservice/v1/request_response.rbs +136 -0
- data/sig/temporalio/client/schedule.rbs +3 -2
- data/sig/temporalio/converters/external_storage.rbs +25 -0
- data/sig/temporalio/converters/external_storage_concurrency.rbs +16 -0
- data/sig/temporalio/converters/storage_driver.rbs +16 -0
- data/sig/temporalio/converters/storage_driver_activity_info.rbs +17 -0
- data/sig/temporalio/converters/storage_driver_claim.rbs +9 -0
- data/sig/temporalio/converters/storage_driver_limiter.rbs +7 -0
- data/sig/temporalio/converters/storage_driver_retrieve_context.rbs +13 -0
- data/sig/temporalio/converters/storage_driver_select_context.rbs +13 -0
- data/sig/temporalio/converters/storage_driver_store_context.rbs +15 -0
- data/sig/temporalio/converters/storage_driver_target_info.rbs +5 -0
- data/sig/temporalio/converters/storage_driver_workflow_info.rbs +17 -0
- data/sig/temporalio/error/failure.rbs +8 -0
- data/sig/temporalio/error.rbs +4 -0
- data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +46 -0
- data/sig/temporalio/internal/bridge/api/child_workflow/child_workflow.rbs +7 -3
- data/sig/temporalio/internal/bridge/api/external_data/external_data.rbs +16 -0
- data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +42 -2
- data/sig/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbs +42 -0
- data/sig/temporalio/internal/external_storage_references.rbs +18 -0
- data/sig/temporalio/internal/worker/workflow_instance/context.rbs +1 -0
- data/sig/temporalio/testing/activity_environment.rbs +1 -1
- data/sig/temporalio/versioning_override.rbs +7 -0
- data/sig/temporalio/worker/interceptor.rbs +2 -0
- data/sig/temporalio/workflow.rbs +2 -0
- data/temporalio.gemspec +1 -0
- metadata +56 -2
data/sig/temporalio/error.rbs
CHANGED
|
@@ -49,6 +49,10 @@ module Temporalio
|
|
|
49
49
|
def initialize: (Activity::CancellationDetails details) -> void
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
+
class ExternalStorageNotConfiguredError < Error
|
|
53
|
+
def initialize: (?String message) -> void
|
|
54
|
+
end
|
|
55
|
+
|
|
52
56
|
class RPCError < Error
|
|
53
57
|
attr_reader code: Code::enum
|
|
54
58
|
|
|
@@ -137,18 +137,29 @@ module Temporalio
|
|
|
137
137
|
def has_failure?: () -> bool
|
|
138
138
|
def clear_failure: () -> void
|
|
139
139
|
|
|
140
|
+
# Only meaningful on ActivityExecutionResult (lang -> core); ignored on ActivityResolution,
|
|
141
|
+
# which reuses this message.
|
|
142
|
+
attr_reader cause(): ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Integer
|
|
143
|
+
attr_writer cause(): ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::strings | ::Integer | ::Float
|
|
144
|
+
attr_reader cause_const(): ::Integer
|
|
145
|
+
def clear_cause: () -> void
|
|
146
|
+
|
|
140
147
|
type init_map = {
|
|
141
148
|
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
142
149
|
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
150
|
+
cause: (::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::strings | ::Integer | ::Float)?,
|
|
151
|
+
"cause" => (::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::strings | ::Integer | ::Float)?,
|
|
143
152
|
}
|
|
144
153
|
|
|
145
154
|
def initialize: (?init_map initial_value) -> void
|
|
146
155
|
|
|
147
156
|
def []:
|
|
148
157
|
("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
158
|
+
| ("cause" name) -> (::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Integer)
|
|
149
159
|
|
|
150
160
|
def []=:
|
|
151
161
|
("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
162
|
+
| ("cause" name, (::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::strings | ::Integer | ::Float) value) -> void
|
|
152
163
|
end
|
|
153
164
|
|
|
154
165
|
# Used to report cancellation from both Core and Lang.
|
|
@@ -232,6 +243,41 @@ module Temporalio
|
|
|
232
243
|
| ("backoff_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
233
244
|
| ("original_schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
234
245
|
end
|
|
246
|
+
|
|
247
|
+
# A well-known condition that caused an activity task to fail. Lang reports one alongside the
|
|
248
|
+
# failure so core can categorize activity failures instead of treating them all alike; it becomes
|
|
249
|
+
# the `failure_reason` metric label, so the set of values is deliberately small and bounded.
|
|
250
|
+
module ActivityTaskFailedCause
|
|
251
|
+
|
|
252
|
+
ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED: 0
|
|
253
|
+
|
|
254
|
+
# A payload-bearing field on a request the worker sent for this activity task exceeded the
|
|
255
|
+
# per-field size limit configured on the server for the namespace.
|
|
256
|
+
# Check the activity task failure message for more information.
|
|
257
|
+
ACTIVITY_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE: 1
|
|
258
|
+
|
|
259
|
+
# The worker failed to offload a payload to, or retrieve one from, external storage while
|
|
260
|
+
# processing this activity task.
|
|
261
|
+
# Check the activity task failure message for more information.
|
|
262
|
+
ACTIVITY_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE: 2
|
|
263
|
+
|
|
264
|
+
# The default cause for an activity task failure reported by a worker; a more specific cause
|
|
265
|
+
# takes precedence whenever the condition is recognized.
|
|
266
|
+
# Check the activity task failure message for more information.
|
|
267
|
+
ACTIVITY_TASK_FAILED_CAUSE_ACTIVITY_WORKER_UNHANDLED_FAILURE: 3
|
|
268
|
+
|
|
269
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
type names = :ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED | :ACTIVITY_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE | :ACTIVITY_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE | :ACTIVITY_TASK_FAILED_CAUSE_ACTIVITY_WORKER_UNHANDLED_FAILURE
|
|
276
|
+
|
|
277
|
+
type strings = "ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED" | "ACTIVITY_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE" | "ACTIVITY_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE" | "ACTIVITY_TASK_FAILED_CAUSE_ACTIVITY_WORKER_UNHANDLED_FAILURE"
|
|
278
|
+
|
|
279
|
+
type numbers = 0 | 1 | 2 | 3
|
|
280
|
+
end
|
|
235
281
|
end
|
|
236
282
|
end
|
|
237
283
|
end
|
|
@@ -152,17 +152,21 @@ module Temporalio
|
|
|
152
152
|
|
|
153
153
|
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS: 1
|
|
154
154
|
|
|
155
|
+
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: 2
|
|
156
|
+
|
|
157
|
+
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID_VERSIONING_OVERRIDE: 3
|
|
158
|
+
|
|
155
159
|
def self.lookup: (::Integer number) -> ::Symbol
|
|
156
160
|
|
|
157
161
|
|
|
158
162
|
def self.resolve: (::Symbol name) -> ::Integer
|
|
159
163
|
|
|
160
164
|
|
|
161
|
-
type names = :START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED | :START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS
|
|
165
|
+
type names = :START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED | :START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS | :START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND | :START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID_VERSIONING_OVERRIDE
|
|
162
166
|
|
|
163
|
-
type strings = "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED" | "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS"
|
|
167
|
+
type strings = "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED" | "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS" | "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND" | "START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_INVALID_VERSIONING_OVERRIDE"
|
|
164
168
|
|
|
165
|
-
type numbers = 0 | 1
|
|
169
|
+
type numbers = 0 | 1 | 2 | 3
|
|
166
170
|
end
|
|
167
171
|
|
|
168
172
|
# Controls at which point to report back to lang when a child workflow is cancelled
|
|
@@ -53,6 +53,18 @@ module Temporalio
|
|
|
53
53
|
def has_original_schedule_time?: () -> bool
|
|
54
54
|
def clear_original_schedule_time: () -> void
|
|
55
55
|
|
|
56
|
+
# Position, within the workflow task, of the activation this resolution was delivered in.
|
|
57
|
+
# Replay must deliver resolutions in the same activations because workflow code can branch on
|
|
58
|
+
# which handles are ready. Absent in markers written by Core versions that predate this field.
|
|
59
|
+
attr_reader activation_index(): ::Integer
|
|
60
|
+
attr_writer activation_index(): ::Integer | ::Float
|
|
61
|
+
def has_activation_index?: () -> bool
|
|
62
|
+
def clear_activation_index: () -> void
|
|
63
|
+
|
|
64
|
+
attr_reader _activation_index(): ::Integer?
|
|
65
|
+
def has__activation_index?: () -> bool
|
|
66
|
+
def clear__activation_index: () -> void
|
|
67
|
+
|
|
56
68
|
type init_map = {
|
|
57
69
|
seq: (::Integer | ::Float)?,
|
|
58
70
|
"seq" => (::Integer | ::Float)?,
|
|
@@ -68,6 +80,8 @@ module Temporalio
|
|
|
68
80
|
"backoff" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
69
81
|
original_schedule_time: (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
70
82
|
"original_schedule_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
|
|
83
|
+
activation_index: (::Integer | ::Float)?,
|
|
84
|
+
"activation_index" => (::Integer | ::Float)?,
|
|
71
85
|
}
|
|
72
86
|
|
|
73
87
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -80,6 +94,7 @@ module Temporalio
|
|
|
80
94
|
| ("complete_time" name) -> ::Google::Protobuf::Timestamp?
|
|
81
95
|
| ("backoff" name) -> ::Google::Protobuf::Duration?
|
|
82
96
|
| ("original_schedule_time" name) -> ::Google::Protobuf::Timestamp?
|
|
97
|
+
| ("activation_index" name) -> ::Integer
|
|
83
98
|
|
|
84
99
|
def []=:
|
|
85
100
|
("seq" name, (::Integer | ::Float) value) -> void
|
|
@@ -89,6 +104,7 @@ module Temporalio
|
|
|
89
104
|
| ("complete_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
90
105
|
| ("backoff" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
91
106
|
| ("original_schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
107
|
+
| ("activation_index" name, (::Integer | ::Float) value) -> void
|
|
92
108
|
end
|
|
93
109
|
|
|
94
110
|
class PatchedMarkerData < ::Google::Protobuf::AbstractMessage
|
|
@@ -487,6 +487,13 @@ module Temporalio
|
|
|
487
487
|
def has_priority?: () -> bool
|
|
488
488
|
def clear_priority: () -> void
|
|
489
489
|
|
|
490
|
+
# The run id recorded on the `WORKFLOW_EXECUTION_STARTED` event. Unlike the execution's current
|
|
491
|
+
# run id, this value is preserved across workflow resets. Mirrors the `original_execution_run_id`
|
|
492
|
+
# field from `WorkflowExecutionStartedEventAttributes`.
|
|
493
|
+
attr_reader original_execution_run_id(): ::String
|
|
494
|
+
attr_writer original_execution_run_id(): ::String | ::Symbol
|
|
495
|
+
def clear_original_execution_run_id: () -> void
|
|
496
|
+
|
|
490
497
|
type init_map = {
|
|
491
498
|
workflow_type: (::String | ::Symbol)?,
|
|
492
499
|
"workflow_type" => (::String | ::Symbol)?,
|
|
@@ -538,6 +545,8 @@ module Temporalio
|
|
|
538
545
|
"root_workflow" => (::Temporalio::Api::Common::V1::WorkflowExecution | ::Temporalio::Api::Common::V1::WorkflowExecution::init_map)?,
|
|
539
546
|
priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
540
547
|
"priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
548
|
+
original_execution_run_id: (::String | ::Symbol)?,
|
|
549
|
+
"original_execution_run_id" => (::String | ::Symbol)?,
|
|
541
550
|
}
|
|
542
551
|
|
|
543
552
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -568,6 +577,7 @@ module Temporalio
|
|
|
568
577
|
| ("start_time" name) -> ::Google::Protobuf::Timestamp?
|
|
569
578
|
| ("root_workflow" name) -> ::Temporalio::Api::Common::V1::WorkflowExecution?
|
|
570
579
|
| ("priority" name) -> ::Temporalio::Api::Common::V1::Priority?
|
|
580
|
+
| ("original_execution_run_id" name) -> ::String
|
|
571
581
|
|
|
572
582
|
def []=:
|
|
573
583
|
("workflow_type" name, (::String | ::Symbol) value) -> void
|
|
@@ -595,6 +605,7 @@ module Temporalio
|
|
|
595
605
|
| ("start_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
|
|
596
606
|
| ("root_workflow" name, ::Temporalio::Api::Common::V1::WorkflowExecution? value) -> void
|
|
597
607
|
| ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void
|
|
608
|
+
| ("original_execution_run_id" name, (::String | ::Symbol) value) -> void
|
|
598
609
|
end
|
|
599
610
|
|
|
600
611
|
# Notify a workflow that a timer has fired
|
|
@@ -932,6 +943,11 @@ module Temporalio
|
|
|
932
943
|
attr_accessor headers(): ::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]
|
|
933
944
|
def clear_headers: () -> void
|
|
934
945
|
|
|
946
|
+
# Event ID of the `WORKFLOW_EXECUTION_SIGNALED` history event that produced this job.
|
|
947
|
+
attr_reader originating_event_id(): ::Integer
|
|
948
|
+
attr_writer originating_event_id(): ::Integer | ::Float
|
|
949
|
+
def clear_originating_event_id: () -> void
|
|
950
|
+
|
|
935
951
|
type init_map = {
|
|
936
952
|
signal_name: (::String | ::Symbol)?,
|
|
937
953
|
"signal_name" => (::String | ::Symbol)?,
|
|
@@ -941,6 +957,8 @@ module Temporalio
|
|
|
941
957
|
"identity" => (::String | ::Symbol)?,
|
|
942
958
|
headers: ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
943
959
|
"headers" => ::Hash[::String | ::Symbol, ::Temporalio::Api::Common::V1::Payload]?,
|
|
960
|
+
originating_event_id: (::Integer | ::Float)?,
|
|
961
|
+
"originating_event_id" => (::Integer | ::Float)?,
|
|
944
962
|
}
|
|
945
963
|
|
|
946
964
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -950,12 +968,14 @@ module Temporalio
|
|
|
950
968
|
| ("input" name) -> ::Google::Protobuf::RepeatedField
|
|
951
969
|
| ("identity" name) -> ::String
|
|
952
970
|
| ("headers" name) -> (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload])
|
|
971
|
+
| ("originating_event_id" name) -> ::Integer
|
|
953
972
|
|
|
954
973
|
def []=:
|
|
955
974
|
("signal_name" name, (::String | ::Symbol) value) -> void
|
|
956
975
|
| ("input" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
957
976
|
| ("identity" name, (::String | ::Symbol) value) -> void
|
|
958
977
|
| ("headers" name, (::Google::Protobuf::Map[::String, ::Temporalio::Api::Common::V1::Payload]) value) -> void
|
|
978
|
+
| ("originating_event_id" name, (::Integer | ::Float) value) -> void
|
|
959
979
|
end
|
|
960
980
|
|
|
961
981
|
# Inform lang what the result of a call to `patched` or similar API should be -- this is always
|
|
@@ -994,11 +1014,20 @@ module Temporalio
|
|
|
994
1014
|
def has_failure?: () -> bool
|
|
995
1015
|
def clear_failure: () -> void
|
|
996
1016
|
|
|
1017
|
+
# The server-reported cause when the signal failed. Unspecified when the signal succeeded or
|
|
1018
|
+
# was cancelled before being sent.
|
|
1019
|
+
attr_reader cause(): ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::names | ::Integer
|
|
1020
|
+
attr_writer cause(): ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::names | ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::strings | ::Integer | ::Float
|
|
1021
|
+
attr_reader cause_const(): ::Integer
|
|
1022
|
+
def clear_cause: () -> void
|
|
1023
|
+
|
|
997
1024
|
type init_map = {
|
|
998
1025
|
seq: (::Integer | ::Float)?,
|
|
999
1026
|
"seq" => (::Integer | ::Float)?,
|
|
1000
1027
|
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
1001
1028
|
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
1029
|
+
cause: (::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::names | ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::strings | ::Integer | ::Float)?,
|
|
1030
|
+
"cause" => (::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::names | ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::strings | ::Integer | ::Float)?,
|
|
1002
1031
|
}
|
|
1003
1032
|
|
|
1004
1033
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -1006,10 +1035,12 @@ module Temporalio
|
|
|
1006
1035
|
def []:
|
|
1007
1036
|
("seq" name) -> ::Integer
|
|
1008
1037
|
| ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
1038
|
+
| ("cause" name) -> (::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::names | ::Integer)
|
|
1009
1039
|
|
|
1010
1040
|
def []=:
|
|
1011
1041
|
("seq" name, (::Integer | ::Float) value) -> void
|
|
1012
1042
|
| ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
1043
|
+
| ("cause" name, (::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::names | ::Temporalio::Api::Enums::V1::SignalExternalWorkflowExecutionFailedCause::strings | ::Integer | ::Float) value) -> void
|
|
1013
1044
|
end
|
|
1014
1045
|
|
|
1015
1046
|
class ResolveRequestCancelExternalWorkflow < ::Google::Protobuf::AbstractMessage
|
|
@@ -1020,17 +1051,24 @@ module Temporalio
|
|
|
1020
1051
|
attr_writer seq(): ::Integer | ::Float
|
|
1021
1052
|
def clear_seq: () -> void
|
|
1022
1053
|
|
|
1023
|
-
# If populated,
|
|
1024
|
-
# type / info.
|
|
1054
|
+
# If populated, the cancellation request failed.
|
|
1025
1055
|
attr_accessor failure(): ::Temporalio::Api::Failure::V1::Failure?
|
|
1026
1056
|
def has_failure?: () -> bool
|
|
1027
1057
|
def clear_failure: () -> void
|
|
1028
1058
|
|
|
1059
|
+
# The server-reported cause when the cancellation request failed.
|
|
1060
|
+
attr_reader cause(): ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::names | ::Integer
|
|
1061
|
+
attr_writer cause(): ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::names | ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::strings | ::Integer | ::Float
|
|
1062
|
+
attr_reader cause_const(): ::Integer
|
|
1063
|
+
def clear_cause: () -> void
|
|
1064
|
+
|
|
1029
1065
|
type init_map = {
|
|
1030
1066
|
seq: (::Integer | ::Float)?,
|
|
1031
1067
|
"seq" => (::Integer | ::Float)?,
|
|
1032
1068
|
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
1033
1069
|
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
1070
|
+
cause: (::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::names | ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::strings | ::Integer | ::Float)?,
|
|
1071
|
+
"cause" => (::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::names | ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::strings | ::Integer | ::Float)?,
|
|
1034
1072
|
}
|
|
1035
1073
|
|
|
1036
1074
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -1038,10 +1076,12 @@ module Temporalio
|
|
|
1038
1076
|
def []:
|
|
1039
1077
|
("seq" name) -> ::Integer
|
|
1040
1078
|
| ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
|
|
1079
|
+
| ("cause" name) -> (::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::names | ::Integer)
|
|
1041
1080
|
|
|
1042
1081
|
def []=:
|
|
1043
1082
|
("seq" name, (::Integer | ::Float) value) -> void
|
|
1044
1083
|
| ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
1084
|
+
| ("cause" name, (::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::names | ::Temporalio::Api::Enums::V1::CancelExternalWorkflowExecutionFailedCause::strings | ::Integer | ::Float) value) -> void
|
|
1045
1085
|
end
|
|
1046
1086
|
|
|
1047
1087
|
# Lang is requested to invoke an update handler on the workflow. Lang should invoke the update
|
|
@@ -19,6 +19,12 @@ module Temporalio
|
|
|
19
19
|
def has_user_metadata?: () -> bool
|
|
20
20
|
def clear_user_metadata: () -> void
|
|
21
21
|
|
|
22
|
+
# Event group markers attached to the command. These are forwarded onto
|
|
23
|
+
# the corresponding server-side Command, and consequently surfaced on the
|
|
24
|
+
# resulting HistoryEvent. See `temporal/api/sdk/v1/event_group_marker.proto`.
|
|
25
|
+
attr_accessor event_group_markers(): ::Google::Protobuf::RepeatedField
|
|
26
|
+
def clear_event_group_markers: () -> void
|
|
27
|
+
|
|
22
28
|
attr_accessor start_timer(): ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer?
|
|
23
29
|
def has_start_timer?: () -> bool
|
|
24
30
|
def clear_start_timer: () -> void
|
|
@@ -114,6 +120,8 @@ module Temporalio
|
|
|
114
120
|
type init_map = {
|
|
115
121
|
user_metadata: (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?,
|
|
116
122
|
"user_metadata" => (::Temporalio::Api::Sdk::V1::UserMetadata | ::Temporalio::Api::Sdk::V1::UserMetadata::init_map)?,
|
|
123
|
+
event_group_markers: ::Array[::Temporalio::Api::Sdk::V1::EventGroupMarker]?,
|
|
124
|
+
"event_group_markers" => ::Array[::Temporalio::Api::Sdk::V1::EventGroupMarker]?,
|
|
117
125
|
start_timer: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer::init_map)?,
|
|
118
126
|
"start_timer" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer::init_map)?,
|
|
119
127
|
schedule_activity: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity::init_map)?,
|
|
@@ -164,6 +172,7 @@ module Temporalio
|
|
|
164
172
|
|
|
165
173
|
def []:
|
|
166
174
|
("user_metadata" name) -> ::Temporalio::Api::Sdk::V1::UserMetadata?
|
|
175
|
+
| ("event_group_markers" name) -> ::Google::Protobuf::RepeatedField
|
|
167
176
|
| ("start_timer" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer?
|
|
168
177
|
| ("schedule_activity" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity?
|
|
169
178
|
| ("respond_to_query" name) -> ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QueryResult?
|
|
@@ -189,6 +198,7 @@ module Temporalio
|
|
|
189
198
|
|
|
190
199
|
def []=:
|
|
191
200
|
("user_metadata" name, ::Temporalio::Api::Sdk::V1::UserMetadata? value) -> void
|
|
201
|
+
| ("event_group_markers" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
192
202
|
| ("start_timer" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::StartTimer? value) -> void
|
|
193
203
|
| ("schedule_activity" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ScheduleActivity? value) -> void
|
|
194
204
|
| ("respond_to_query" name, ::Temporalio::Internal::Bridge::Api::WorkflowCommands::QueryResult? value) -> void
|
|
@@ -505,6 +515,12 @@ module Temporalio
|
|
|
505
515
|
attr_reader cancellation_type_const(): ::Integer
|
|
506
516
|
def clear_cancellation_type: () -> void
|
|
507
517
|
|
|
518
|
+
# If set, the local activity arguments will be included in the resulting marker under the
|
|
519
|
+
# `input` key. This is disabled by default to avoid increasing history size unless the lang
|
|
520
|
+
# SDK explicitly chooses to expose it.
|
|
521
|
+
attr_accessor include_arguments_in_marker(): bool
|
|
522
|
+
def clear_include_arguments_in_marker: () -> void
|
|
523
|
+
|
|
508
524
|
type init_map = {
|
|
509
525
|
seq: (::Integer | ::Float)?,
|
|
510
526
|
"seq" => (::Integer | ::Float)?,
|
|
@@ -532,6 +548,8 @@ module Temporalio
|
|
|
532
548
|
"local_retry_threshold" => (::Google::Protobuf::Duration | ::Google::Protobuf::Duration)?,
|
|
533
549
|
cancellation_type: (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float)?,
|
|
534
550
|
"cancellation_type" => (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float)?,
|
|
551
|
+
include_arguments_in_marker: bool?,
|
|
552
|
+
"include_arguments_in_marker" => bool?,
|
|
535
553
|
}
|
|
536
554
|
|
|
537
555
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -550,6 +568,7 @@ module Temporalio
|
|
|
550
568
|
| ("retry_policy" name) -> ::Temporalio::Api::Common::V1::RetryPolicy?
|
|
551
569
|
| ("local_retry_threshold" name) -> ::Google::Protobuf::Duration?
|
|
552
570
|
| ("cancellation_type" name) -> (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Integer)
|
|
571
|
+
| ("include_arguments_in_marker" name) -> bool
|
|
553
572
|
|
|
554
573
|
def []=:
|
|
555
574
|
("seq" name, (::Integer | ::Float) value) -> void
|
|
@@ -565,6 +584,7 @@ module Temporalio
|
|
|
565
584
|
| ("retry_policy" name, ::Temporalio::Api::Common::V1::RetryPolicy? value) -> void
|
|
566
585
|
| ("local_retry_threshold" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
|
|
567
586
|
| ("cancellation_type" name, (::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::names | ::Temporalio::Internal::Bridge::Api::WorkflowCommands::ActivityCancellationType::strings | ::Integer | ::Float) value) -> void
|
|
587
|
+
| ("include_arguments_in_marker" name, bool value) -> void
|
|
568
588
|
end
|
|
569
589
|
|
|
570
590
|
class RequestCancelActivity < ::Google::Protobuf::AbstractMessage
|
|
@@ -845,10 +865,22 @@ module Temporalio
|
|
|
845
865
|
# containing a cancellation job.
|
|
846
866
|
class CancelWorkflowExecution < ::Google::Protobuf::AbstractMessage
|
|
847
867
|
|
|
868
|
+
attr_accessor details(): ::Temporalio::Api::Common::V1::Payloads?
|
|
869
|
+
def has_details?: () -> bool
|
|
870
|
+
def clear_details: () -> void
|
|
871
|
+
|
|
848
872
|
type init_map = {
|
|
873
|
+
details: (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
874
|
+
"details" => (::Temporalio::Api::Common::V1::Payloads | ::Temporalio::Api::Common::V1::Payloads::init_map)?,
|
|
849
875
|
}
|
|
850
876
|
|
|
851
877
|
def initialize: (?init_map initial_value) -> void
|
|
878
|
+
|
|
879
|
+
def []:
|
|
880
|
+
("details" name) -> ::Temporalio::Api::Common::V1::Payloads?
|
|
881
|
+
|
|
882
|
+
def []=:
|
|
883
|
+
("details" name, ::Temporalio::Api::Common::V1::Payloads? value) -> void
|
|
852
884
|
end
|
|
853
885
|
|
|
854
886
|
# A request to set/check if a certain patch is present or not
|
|
@@ -980,6 +1012,12 @@ module Temporalio
|
|
|
980
1012
|
def has_priority?: () -> bool
|
|
981
1013
|
def clear_priority: () -> void
|
|
982
1014
|
|
|
1015
|
+
# Allows routing the child independently of the parent's worker deployment version.
|
|
1016
|
+
# Requires Temporal Server 1.32+.
|
|
1017
|
+
attr_accessor versioning_override(): ::Temporalio::Api::Workflow::V1::VersioningOverride?
|
|
1018
|
+
def has_versioning_override?: () -> bool
|
|
1019
|
+
def clear_versioning_override: () -> void
|
|
1020
|
+
|
|
983
1021
|
type init_map = {
|
|
984
1022
|
seq: (::Integer | ::Float)?,
|
|
985
1023
|
"seq" => (::Integer | ::Float)?,
|
|
@@ -1019,6 +1057,8 @@ module Temporalio
|
|
|
1019
1057
|
"versioning_intent" => (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float)?,
|
|
1020
1058
|
priority: (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
1021
1059
|
"priority" => (::Temporalio::Api::Common::V1::Priority | ::Temporalio::Api::Common::V1::Priority::init_map)?,
|
|
1060
|
+
versioning_override: (::Temporalio::Api::Workflow::V1::VersioningOverride | ::Temporalio::Api::Workflow::V1::VersioningOverride::init_map)?,
|
|
1061
|
+
"versioning_override" => (::Temporalio::Api::Workflow::V1::VersioningOverride | ::Temporalio::Api::Workflow::V1::VersioningOverride::init_map)?,
|
|
1022
1062
|
}
|
|
1023
1063
|
|
|
1024
1064
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -1043,6 +1083,7 @@ module Temporalio
|
|
|
1043
1083
|
| ("cancellation_type" name) -> (::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::names | ::Integer)
|
|
1044
1084
|
| ("versioning_intent" name) -> (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Integer)
|
|
1045
1085
|
| ("priority" name) -> ::Temporalio::Api::Common::V1::Priority?
|
|
1086
|
+
| ("versioning_override" name) -> ::Temporalio::Api::Workflow::V1::VersioningOverride?
|
|
1046
1087
|
|
|
1047
1088
|
def []=:
|
|
1048
1089
|
("seq" name, (::Integer | ::Float) value) -> void
|
|
@@ -1064,6 +1105,7 @@ module Temporalio
|
|
|
1064
1105
|
| ("cancellation_type" name, (::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::names | ::Temporalio::Internal::Bridge::Api::ChildWorkflow::ChildWorkflowCancellationType::strings | ::Integer | ::Float) value) -> void
|
|
1065
1106
|
| ("versioning_intent" name, (::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::names | ::Temporalio::Internal::Bridge::Api::Common::VersioningIntent::strings | ::Integer | ::Float) value) -> void
|
|
1066
1107
|
| ("priority" name, ::Temporalio::Api::Common::V1::Priority? value) -> void
|
|
1108
|
+
| ("versioning_override" name, ::Temporalio::Api::Workflow::V1::VersioningOverride? value) -> void
|
|
1067
1109
|
end
|
|
1068
1110
|
|
|
1069
1111
|
# Cancel a child workflow
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Temporalio
|
|
2
|
+
module Internal
|
|
3
|
+
module ExternalStorageReferences
|
|
4
|
+
ENCODING: String
|
|
5
|
+
MESSAGE_TYPE: String
|
|
6
|
+
|
|
7
|
+
def self.reference?: (Api::Common::V1::Payload payload) -> bool
|
|
8
|
+
def self.parse_reference: (
|
|
9
|
+
Api::Common::V1::Payload payload
|
|
10
|
+
) -> Api::Sdk::V1::ExternalStorageReference?
|
|
11
|
+
def self.create_reference_payload: (
|
|
12
|
+
driver_name: String,
|
|
13
|
+
claim_data: Hash[String, String],
|
|
14
|
+
original_size_bytes: Integer
|
|
15
|
+
) -> Api::Common::V1::Payload
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -124,6 +124,7 @@ module Temporalio
|
|
|
124
124
|
memo: Hash[String | Symbol, Object?]?,
|
|
125
125
|
search_attributes: SearchAttributes?,
|
|
126
126
|
priority: Priority,
|
|
127
|
+
versioning_override: VersioningOverride?,
|
|
127
128
|
arg_hints: Array[Object]?,
|
|
128
129
|
result_hint: Object?
|
|
129
130
|
) -> ChildWorkflowHandle
|
|
@@ -42,7 +42,7 @@ module Temporalio
|
|
|
42
42
|
client: Client?
|
|
43
43
|
) -> void
|
|
44
44
|
|
|
45
|
-
def heartbeat: (*untyped details) -> untyped
|
|
45
|
+
def heartbeat: (*untyped details, ?detail_hints: Array[Object]?) -> untyped
|
|
46
46
|
def metric_meter: -> Metric::Meter
|
|
47
47
|
def client: -> Client
|
|
48
48
|
def cancellation_details: -> Activity::CancellationDetails?
|
|
@@ -13,5 +13,12 @@ module Temporalio
|
|
|
13
13
|
def initialize: -> void
|
|
14
14
|
def _to_proto: -> Api::Workflow::V1::VersioningOverride
|
|
15
15
|
end
|
|
16
|
+
|
|
17
|
+
class OneTime < VersioningOverride
|
|
18
|
+
attr_reader target_version: WorkerDeploymentVersion
|
|
19
|
+
|
|
20
|
+
def initialize: (WorkerDeploymentVersion target_version) -> void
|
|
21
|
+
def _to_proto: -> Api::Workflow::V1::VersioningOverride
|
|
22
|
+
end
|
|
16
23
|
end
|
|
17
24
|
end
|
|
@@ -283,6 +283,7 @@ module Temporalio
|
|
|
283
283
|
attr_reader memo: Hash[String | Symbol, Object?]?
|
|
284
284
|
attr_reader search_attributes: SearchAttributes?
|
|
285
285
|
attr_reader priority: Temporalio::Priority
|
|
286
|
+
attr_reader versioning_override: VersioningOverride?
|
|
286
287
|
attr_reader arg_hints: Array[Object]?
|
|
287
288
|
attr_reader result_hint: Object?
|
|
288
289
|
attr_reader headers: Hash[String, Object?]
|
|
@@ -306,6 +307,7 @@ module Temporalio
|
|
|
306
307
|
memo: Hash[String | Symbol, Object?]?,
|
|
307
308
|
search_attributes: SearchAttributes?,
|
|
308
309
|
priority: Temporalio::Priority,
|
|
310
|
+
versioning_override: VersioningOverride?,
|
|
309
311
|
arg_hints: Array[Object]?,
|
|
310
312
|
result_hint: Object?,
|
|
311
313
|
headers: Hash[String, Object?]
|
data/sig/temporalio/workflow.rbs
CHANGED
|
@@ -63,6 +63,7 @@ module Temporalio
|
|
|
63
63
|
?memo: Hash[String | Symbol, Object?]?,
|
|
64
64
|
?search_attributes: SearchAttributes?,
|
|
65
65
|
?priority: Priority,
|
|
66
|
+
?versioning_override: VersioningOverride?,
|
|
66
67
|
?arg_hints: Array[Object]?,
|
|
67
68
|
?result_hint: Object?
|
|
68
69
|
) -> Object?
|
|
@@ -132,6 +133,7 @@ module Temporalio
|
|
|
132
133
|
?memo: Hash[String | Symbol, Object?]?,
|
|
133
134
|
?search_attributes: SearchAttributes?,
|
|
134
135
|
?priority: Priority,
|
|
136
|
+
?versioning_override: VersioningOverride?,
|
|
135
137
|
?arg_hints: Array[Object]?,
|
|
136
138
|
?result_hint: Object?
|
|
137
139
|
) -> ChildWorkflowHandle
|