temporalio 1.8.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/activity/info.rb +0 -3
- 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/activity_execution.rb +1 -5
- data/lib/temporalio/client/activity_execution_count.rb +0 -4
- data/lib/temporalio/client/activity_execution_status.rb +0 -2
- data/lib/temporalio/client/activity_handle.rb +9 -6
- data/lib/temporalio/client/activity_id_reference.rb +0 -4
- data/lib/temporalio/client/interceptor.rb +1 -29
- data/lib/temporalio/client/pending_activity_state.rb +0 -2
- data/lib/temporalio/client/schedule.rb +8 -7
- data/lib/temporalio/client/with_start_workflow_operation.rb +1 -1
- data/lib/temporalio/client.rb +10 -20
- data/lib/temporalio/common_enums.rb +0 -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 -2
- data/lib/temporalio/error.rb +17 -2
- 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/client/implementation.rb +6 -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/activity_execution.rbi +1 -1
- data/rbi/temporalio/client/interceptor.rbi +1 -1
- data/rbi/temporalio/client/schedule.rbi +2 -2
- data/rbi/temporalio/client.rbi +4 -4
- 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/activity_execution.rbs +1 -1
- data/sig/temporalio/client/interceptor.rbs +2 -2
- data/sig/temporalio/client/schedule.rbs +3 -2
- data/sig/temporalio/client.rbs +2 -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
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# Code generated by protoc-gen-rbi. DO NOT EDIT.
|
|
2
|
+
# source: temporal/api/notificationservice/v1/request_response.proto
|
|
3
|
+
# typed: strict
|
|
4
|
+
|
|
5
|
+
# OnCompleteRequest is the request type to the NotificationService's OnComplete operation,
|
|
6
|
+
# allowing for defining completion handlers for arbitrary operations.
|
|
7
|
+
#
|
|
8
|
+
# Information about the source operation will be available in the form of a commonpb.Link,
|
|
9
|
+
# which will be available separately from this OnCompleteRequest. e.g. a link to the source
|
|
10
|
+
# standalone Nexus operation would be found in the nexuspb.StartOperationRequest parameter
|
|
11
|
+
# sent to the worker callback. (In addition to this OnCompleteRequest.)
|
|
12
|
+
class Temporalio::Api::NotificationService::V1::OnCompleteRequest
|
|
13
|
+
include ::Google::Protobuf::MessageExts
|
|
14
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
15
|
+
|
|
16
|
+
sig do
|
|
17
|
+
params(
|
|
18
|
+
success: T.nilable(Temporalio::Api::Common::V1::Payload),
|
|
19
|
+
failure: T.nilable(Temporalio::Api::Failure::V1::Failure),
|
|
20
|
+
source_context: T.nilable(Temporalio::Api::Common::V1::Payload)
|
|
21
|
+
).void
|
|
22
|
+
end
|
|
23
|
+
def initialize(
|
|
24
|
+
success: nil,
|
|
25
|
+
failure: nil,
|
|
26
|
+
source_context: nil
|
|
27
|
+
)
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# The operation was successful, and resulted in the given payload.
|
|
31
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Payload)) }
|
|
32
|
+
def success
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# The operation was successful, and resulted in the given payload.
|
|
36
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payload)).void }
|
|
37
|
+
def success=(value)
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# The operation was successful, and resulted in the given payload.
|
|
41
|
+
sig { void }
|
|
42
|
+
def clear_success
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# The operation failed. Includes timeout, cancellation, and application errors.
|
|
46
|
+
sig { returns(T.nilable(Temporalio::Api::Failure::V1::Failure)) }
|
|
47
|
+
def failure
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# The operation failed. Includes timeout, cancellation, and application errors.
|
|
51
|
+
sig { params(value: T.nilable(Temporalio::Api::Failure::V1::Failure)).void }
|
|
52
|
+
def failure=(value)
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# The operation failed. Includes timeout, cancellation, and application errors.
|
|
56
|
+
sig { void }
|
|
57
|
+
def clear_failure
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# User-supplied data which was added to the source invocation. (As applicable.)
|
|
61
|
+
sig { returns(T.nilable(Temporalio::Api::Common::V1::Payload)) }
|
|
62
|
+
def source_context
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# User-supplied data which was added to the source invocation. (As applicable.)
|
|
66
|
+
sig { params(value: T.nilable(Temporalio::Api::Common::V1::Payload)).void }
|
|
67
|
+
def source_context=(value)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# User-supplied data which was added to the source invocation. (As applicable.)
|
|
71
|
+
sig { void }
|
|
72
|
+
def clear_source_context
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
sig { returns(T.nilable(Symbol)) }
|
|
76
|
+
def result
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
sig { params(field: String).returns(T.untyped) }
|
|
80
|
+
def [](field)
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
sig { params(field: String, value: T.untyped).void }
|
|
84
|
+
def []=(field, value)
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
88
|
+
def to_h
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
sig { params(str: String).returns(Temporalio::Api::NotificationService::V1::OnCompleteRequest) }
|
|
92
|
+
def self.decode(str)
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
sig { params(msg: Temporalio::Api::NotificationService::V1::OnCompleteRequest).returns(String) }
|
|
96
|
+
def self.encode(msg)
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::NotificationService::V1::OnCompleteRequest) }
|
|
100
|
+
def self.decode_json(str, **kw)
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
sig { params(msg: Temporalio::Api::NotificationService::V1::OnCompleteRequest, kw: T.untyped).returns(String) }
|
|
104
|
+
def self.encode_json(msg, **kw)
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
108
|
+
def self.descriptor
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# OnCompleteResponse is the return type of the OnComplete operation.
|
|
113
|
+
class Temporalio::Api::NotificationService::V1::OnCompleteResponse
|
|
114
|
+
include ::Google::Protobuf::MessageExts
|
|
115
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
116
|
+
|
|
117
|
+
sig {void}
|
|
118
|
+
def initialize; end
|
|
119
|
+
|
|
120
|
+
sig { params(field: String).returns(T.untyped) }
|
|
121
|
+
def [](field)
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
sig { params(field: String, value: T.untyped).void }
|
|
125
|
+
def []=(field, value)
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
129
|
+
def to_h
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
sig { params(str: String).returns(Temporalio::Api::NotificationService::V1::OnCompleteResponse) }
|
|
133
|
+
def self.decode(str)
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
sig { params(msg: Temporalio::Api::NotificationService::V1::OnCompleteResponse).returns(String) }
|
|
137
|
+
def self.encode(msg)
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::NotificationService::V1::OnCompleteResponse) }
|
|
141
|
+
def self.decode_json(str, **kw)
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
sig { params(msg: Temporalio::Api::NotificationService::V1::OnCompleteResponse, kw: T.untyped).returns(String) }
|
|
145
|
+
def self.encode_json(msg, **kw)
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
149
|
+
def self.descriptor
|
|
150
|
+
end
|
|
151
|
+
end
|
|
@@ -252,6 +252,12 @@ sig { params(value: Object).void }
|
|
|
252
252
|
sig { params(value: Object).void }
|
|
253
253
|
def api_command_v1_upsert_workflow_search_attributes_command_attributes(value); end
|
|
254
254
|
|
|
255
|
+
sig { params(value: Object).void }
|
|
256
|
+
def api_common_v1_callback(value); end
|
|
257
|
+
|
|
258
|
+
sig { params(value: Object).void }
|
|
259
|
+
def api_common_v1_callback_nexus_handler(value); end
|
|
260
|
+
|
|
255
261
|
sig { params(value: Object).void }
|
|
256
262
|
def api_common_v1_header(value); end
|
|
257
263
|
|
|
@@ -390,6 +396,12 @@ sig { params(value: Object).void }
|
|
|
390
396
|
sig { params(value: Object).void }
|
|
391
397
|
def api_history_v1_workflow_execution_failed_event_attributes(value); end
|
|
392
398
|
|
|
399
|
+
sig { params(value: Object).void }
|
|
400
|
+
def api_history_v1_workflow_execution_options_updated_event_attributes(value); end
|
|
401
|
+
|
|
402
|
+
sig { params(value: Object).void }
|
|
403
|
+
def api_history_v1_workflow_execution_options_updated_event_attributes_workflow_update_options_update(value); end
|
|
404
|
+
|
|
393
405
|
sig { params(value: Object).void }
|
|
394
406
|
def api_history_v1_workflow_execution_signaled_event_attributes(value); end
|
|
395
407
|
|
|
@@ -450,6 +462,9 @@ sig { params(value: Object).void }
|
|
|
450
462
|
sig { params(value: Object).void }
|
|
451
463
|
def api_nexus_v1_start_operation_response_sync(value); end
|
|
452
464
|
|
|
465
|
+
sig { params(value: Object).void }
|
|
466
|
+
def api_nexusoperation_v1_callback_info(value); end
|
|
467
|
+
|
|
453
468
|
sig { params(value: Object).void }
|
|
454
469
|
def api_operatorservice_v1_create_nexus_endpoint_request(value); end
|
|
455
470
|
|
|
@@ -717,6 +732,9 @@ sig { params(value: Object).void }
|
|
|
717
732
|
sig { params(value: Object).void }
|
|
718
733
|
def api_workflowservice_v1_start_activity_execution_request(value); end
|
|
719
734
|
|
|
735
|
+
sig { params(value: Object).void }
|
|
736
|
+
def api_workflowservice_v1_start_activity_execution_response(value); end
|
|
737
|
+
|
|
720
738
|
sig { params(value: Object).void }
|
|
721
739
|
def api_workflowservice_v1_start_batch_operation_request(value); end
|
|
722
740
|
|
|
@@ -822,6 +840,9 @@ sig { params(value: Object).void }
|
|
|
822
840
|
sig { params(value: Object).void }
|
|
823
841
|
def coresdk_workflow_activation_workflow_activation_job(value); end
|
|
824
842
|
|
|
843
|
+
sig { params(value: Object).void }
|
|
844
|
+
def coresdk_workflow_commands_cancel_workflow_execution(value); end
|
|
845
|
+
|
|
825
846
|
sig { params(value: Object).void }
|
|
826
847
|
def coresdk_workflow_commands_complete_workflow_execution(value); end
|
|
827
848
|
|
|
@@ -8,11 +8,13 @@ class Temporalio::Api::Replication::V1::ClusterReplicationConfig
|
|
|
8
8
|
|
|
9
9
|
sig do
|
|
10
10
|
params(
|
|
11
|
-
cluster_name: T.nilable(String)
|
|
11
|
+
cluster_name: T.nilable(String),
|
|
12
|
+
replication_ramp_duration: T.nilable(Google::Protobuf::Duration)
|
|
12
13
|
).void
|
|
13
14
|
end
|
|
14
15
|
def initialize(
|
|
15
|
-
cluster_name: ""
|
|
16
|
+
cluster_name: "",
|
|
17
|
+
replication_ramp_duration: nil
|
|
16
18
|
)
|
|
17
19
|
end
|
|
18
20
|
|
|
@@ -28,6 +30,24 @@ class Temporalio::Api::Replication::V1::ClusterReplicationConfig
|
|
|
28
30
|
def clear_cluster_name
|
|
29
31
|
end
|
|
30
32
|
|
|
33
|
+
# Ramp duration when this cluster is added as passive by UpdateNamespace; unset or non-positive disables gradual connect.
|
|
34
|
+
# This field is not persisted and is omitted from namespace responses.
|
|
35
|
+
sig { returns(T.nilable(Google::Protobuf::Duration)) }
|
|
36
|
+
def replication_ramp_duration
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# Ramp duration when this cluster is added as passive by UpdateNamespace; unset or non-positive disables gradual connect.
|
|
40
|
+
# This field is not persisted and is omitted from namespace responses.
|
|
41
|
+
sig { params(value: T.nilable(Google::Protobuf::Duration)).void }
|
|
42
|
+
def replication_ramp_duration=(value)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# Ramp duration when this cluster is added as passive by UpdateNamespace; unset or non-positive disables gradual connect.
|
|
46
|
+
# This field is not persisted and is omitted from namespace responses.
|
|
47
|
+
sig { void }
|
|
48
|
+
def clear_replication_ramp_duration
|
|
49
|
+
end
|
|
50
|
+
|
|
31
51
|
sig { params(field: String).returns(T.untyped) }
|
|
32
52
|
def [](field)
|
|
33
53
|
end
|
|
@@ -419,7 +419,8 @@ class Temporalio::Api::Update::V1::Request
|
|
|
419
419
|
input: T.nilable(Temporalio::Api::Update::V1::Input),
|
|
420
420
|
request_id: T.nilable(String),
|
|
421
421
|
completion_callbacks: T.nilable(T::Array[T.nilable(Temporalio::Api::Common::V1::Callback)]),
|
|
422
|
-
links: T.nilable(T::Array[T.nilable(Temporalio::Api::Common::V1::Link)])
|
|
422
|
+
links: T.nilable(T::Array[T.nilable(Temporalio::Api::Common::V1::Link)]),
|
|
423
|
+
propagated_nexus_serialization_context: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)
|
|
423
424
|
).void
|
|
424
425
|
end
|
|
425
426
|
def initialize(
|
|
@@ -427,7 +428,8 @@ class Temporalio::Api::Update::V1::Request
|
|
|
427
428
|
input: nil,
|
|
428
429
|
request_id: "",
|
|
429
430
|
completion_callbacks: [],
|
|
430
|
-
links: []
|
|
431
|
+
links: [],
|
|
432
|
+
propagated_nexus_serialization_context: nil
|
|
431
433
|
)
|
|
432
434
|
end
|
|
433
435
|
|
|
@@ -500,6 +502,21 @@ class Temporalio::Api::Update::V1::Request
|
|
|
500
502
|
def clear_links
|
|
501
503
|
end
|
|
502
504
|
|
|
505
|
+
# Serialization context propagated from the Nexus caller that started this update.
|
|
506
|
+
sig { returns(T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)) }
|
|
507
|
+
def propagated_nexus_serialization_context
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
# Serialization context propagated from the Nexus caller that started this update.
|
|
511
|
+
sig { params(value: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)).void }
|
|
512
|
+
def propagated_nexus_serialization_context=(value)
|
|
513
|
+
end
|
|
514
|
+
|
|
515
|
+
# Serialization context propagated from the Nexus caller that started this update.
|
|
516
|
+
sig { void }
|
|
517
|
+
def clear_propagated_nexus_serialization_context
|
|
518
|
+
end
|
|
519
|
+
|
|
503
520
|
sig { params(field: String).returns(T.untyped) }
|
|
504
521
|
def [](field)
|
|
505
522
|
end
|
|
@@ -2227,6 +2227,8 @@ module Temporalio::Api::Worker::V1::EnvironmentInfo::Runtime::RuntimeType
|
|
|
2227
2227
|
self::RUNTIME_TYPE_DOTNET_CORE = T.let(8, Integer)
|
|
2228
2228
|
self::RUNTIME_TYPE_NATIVE = T.let(9, Integer)
|
|
2229
2229
|
self::RUNTIME_TYPE_ROADRUNNER = T.let(10, Integer)
|
|
2230
|
+
self::RUNTIME_TYPE_GRAAL_AOT = T.let(11, Integer)
|
|
2231
|
+
self::RUNTIME_TYPE_KOTLIN = T.let(12, Integer)
|
|
2230
2232
|
|
|
2231
2233
|
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
2232
2234
|
def self.lookup(value)
|
|
@@ -560,7 +560,8 @@ class Temporalio::Api::Workflow::V1::WorkflowExecutionExtendedInfo
|
|
|
560
560
|
reset_run_id: T.nilable(String),
|
|
561
561
|
request_id_infos: T.nilable(T::Hash[String, T.nilable(Temporalio::Api::Workflow::V1::RequestIdInfo)]),
|
|
562
562
|
pause_info: T.nilable(Temporalio::Api::Workflow::V1::WorkflowExecutionPauseInfo),
|
|
563
|
-
time_skipping_info: T.nilable(Temporalio::Api::Common::V1::TimeSkippingInfo)
|
|
563
|
+
time_skipping_info: T.nilable(Temporalio::Api::Common::V1::TimeSkippingInfo),
|
|
564
|
+
propagated_nexus_serialization_context: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)
|
|
564
565
|
).void
|
|
565
566
|
end
|
|
566
567
|
def initialize(
|
|
@@ -572,7 +573,8 @@ class Temporalio::Api::Workflow::V1::WorkflowExecutionExtendedInfo
|
|
|
572
573
|
reset_run_id: "",
|
|
573
574
|
request_id_infos: ::Google::Protobuf::Map.new(:string, :message, Temporalio::Api::Workflow::V1::RequestIdInfo),
|
|
574
575
|
pause_info: nil,
|
|
575
|
-
time_skipping_info: nil
|
|
576
|
+
time_skipping_info: nil,
|
|
577
|
+
propagated_nexus_serialization_context: nil
|
|
576
578
|
)
|
|
577
579
|
end
|
|
578
580
|
|
|
@@ -726,6 +728,21 @@ class Temporalio::Api::Workflow::V1::WorkflowExecutionExtendedInfo
|
|
|
726
728
|
def clear_time_skipping_info
|
|
727
729
|
end
|
|
728
730
|
|
|
731
|
+
# Serialization context propagated from the Nexus caller that started this workflow.
|
|
732
|
+
sig { returns(T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)) }
|
|
733
|
+
def propagated_nexus_serialization_context
|
|
734
|
+
end
|
|
735
|
+
|
|
736
|
+
# Serialization context propagated from the Nexus caller that started this workflow.
|
|
737
|
+
sig { params(value: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)).void }
|
|
738
|
+
def propagated_nexus_serialization_context=(value)
|
|
739
|
+
end
|
|
740
|
+
|
|
741
|
+
# Serialization context propagated from the Nexus caller that started this workflow.
|
|
742
|
+
sig { void }
|
|
743
|
+
def clear_propagated_nexus_serialization_context
|
|
744
|
+
end
|
|
745
|
+
|
|
729
746
|
sig { params(field: String).returns(T.untyped) }
|
|
730
747
|
def [](field)
|
|
731
748
|
end
|
|
@@ -2757,7 +2774,8 @@ class Temporalio::Api::Workflow::V1::CallbackInfo
|
|
|
2757
2774
|
last_attempt_complete_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2758
2775
|
last_attempt_failure: T.nilable(Temporalio::Api::Failure::V1::Failure),
|
|
2759
2776
|
next_attempt_schedule_time: T.nilable(Google::Protobuf::Timestamp),
|
|
2760
|
-
blocked_reason: T.nilable(String)
|
|
2777
|
+
blocked_reason: T.nilable(String),
|
|
2778
|
+
request_id: T.nilable(String)
|
|
2761
2779
|
).void
|
|
2762
2780
|
end
|
|
2763
2781
|
def initialize(
|
|
@@ -2769,7 +2787,8 @@ class Temporalio::Api::Workflow::V1::CallbackInfo
|
|
|
2769
2787
|
last_attempt_complete_time: nil,
|
|
2770
2788
|
last_attempt_failure: nil,
|
|
2771
2789
|
next_attempt_schedule_time: nil,
|
|
2772
|
-
blocked_reason: ""
|
|
2790
|
+
blocked_reason: "",
|
|
2791
|
+
request_id: ""
|
|
2773
2792
|
)
|
|
2774
2793
|
end
|
|
2775
2794
|
|
|
@@ -2908,6 +2927,24 @@ class Temporalio::Api::Workflow::V1::CallbackInfo
|
|
|
2908
2927
|
def clear_blocked_reason
|
|
2909
2928
|
end
|
|
2910
2929
|
|
|
2930
|
+
# Server-generated request ID used as an idempotency token when invoking callbacks.
|
|
2931
|
+
# It has no relation to caller-side request_id sent in operations like StartWorkflowExecutionRequest.
|
|
2932
|
+
sig { returns(String) }
|
|
2933
|
+
def request_id
|
|
2934
|
+
end
|
|
2935
|
+
|
|
2936
|
+
# Server-generated request ID used as an idempotency token when invoking callbacks.
|
|
2937
|
+
# It has no relation to caller-side request_id sent in operations like StartWorkflowExecutionRequest.
|
|
2938
|
+
sig { params(value: String).void }
|
|
2939
|
+
def request_id=(value)
|
|
2940
|
+
end
|
|
2941
|
+
|
|
2942
|
+
# Server-generated request ID used as an idempotency token when invoking callbacks.
|
|
2943
|
+
# It has no relation to caller-side request_id sent in operations like StartWorkflowExecutionRequest.
|
|
2944
|
+
sig { void }
|
|
2945
|
+
def clear_request_id
|
|
2946
|
+
end
|
|
2947
|
+
|
|
2911
2948
|
sig { params(field: String).returns(T.untyped) }
|
|
2912
2949
|
def [](field)
|
|
2913
2950
|
end
|