temporalio 1.11.0 → 1.12.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 +33 -11
- data/Cargo.toml +1 -0
- data/README.md +168 -11
- data/ext/Cargo.toml +3 -3
- data/lib/temporalio/api/cloud/account/v1/message.rb +2 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +43 -1
- data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
- data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
- data/lib/temporalio/api/cloud/namespace/v1/message.rb +8 -1
- data/lib/temporalio/api/cloud/nexus/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/project/v1/message.rb +28 -0
- data/lib/temporalio/api/cloud/region/v1/message.rb +1 -1
- data/lib/temporalio/api/cloud/sink/v1/message.rb +2 -1
- data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
- data/lib/temporalio/api/enums/v1/namespace.rb +2 -1
- data/lib/temporalio/api/operatorservice/v1/request_response.rb +9 -1
- data/lib/temporalio/api/operatorservice/v1/service.rb +1 -1
- data/lib/temporalio/api/payload_visitor.rb +66 -0
- data/lib/temporalio/api/taskqueue/v1/message.rb +3 -1
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +2 -1
- data/lib/temporalio/api/workflowservice/v1/service.rb +1 -1
- data/lib/temporalio/client/connection/cloud_service.rb +285 -0
- data/lib/temporalio/client/connection/operator_service.rb +45 -0
- data/lib/temporalio/client/schedule.rb +56 -8
- data/lib/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rb +0 -2
- data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver.rb +3 -5
- data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rb +0 -2
- data/lib/temporalio/contrib/aws/s3_driver.rb +0 -2
- data/lib/temporalio/converters/data_converter.rb +52 -1
- data/lib/temporalio/converters/external_storage.rb +6 -12
- data/lib/temporalio/converters/external_storage_concurrency.rb +4 -2
- data/lib/temporalio/converters/storage_driver.rb +3 -4
- data/lib/temporalio/converters/storage_driver_activity_info.rb +0 -2
- data/lib/temporalio/converters/storage_driver_claim.rb +0 -2
- data/lib/temporalio/converters/storage_driver_limiter.rb +16 -0
- data/lib/temporalio/converters/storage_driver_retrieve_context.rb +7 -6
- data/lib/temporalio/converters/storage_driver_select_context.rb +11 -5
- data/lib/temporalio/converters/storage_driver_store_context.rb +11 -7
- data/lib/temporalio/converters/storage_driver_workflow_info.rb +0 -2
- data/lib/temporalio/error.rb +10 -3
- data/lib/temporalio/internal/bridge/worker.rb +1 -0
- data/lib/temporalio/internal/client/described_schedule_action.rb +41 -0
- data/lib/temporalio/internal/client/implementation.rb +92 -48
- data/lib/temporalio/internal/external_storage_references.rb +5 -4
- data/lib/temporalio/internal/external_storage_runner.rb +177 -0
- data/lib/temporalio/internal/storage_operation_metrics.rb +76 -0
- data/lib/temporalio/internal/worker/activity_worker.rb +60 -24
- data/lib/temporalio/internal/worker/workflow_worker.rb +211 -15
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/workflow_replayer.rb +5 -3
- data/lib/temporalio/worker.rb +4 -2
- data/rbi/temporalio/api/cloud/account/v1/message.rbi +84 -2
- data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +5006 -1157
- data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +171 -0
- data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +71 -16
- data/rbi/temporalio/api/cloud/identity/v1/message.rbi +789 -23
- data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +765 -15
- data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +19 -2
- data/rbi/temporalio/api/cloud/project/v1/message.rbi +334 -0
- data/rbi/temporalio/api/cloud/region/v1/message.rbi +1 -0
- data/rbi/temporalio/api/cloud/sink/v1/message.rbi +147 -0
- data/rbi/temporalio/api/common/v1/message.rbi +6 -0
- data/rbi/temporalio/api/enums/v1/failed_cause.rbi +2 -0
- data/rbi/temporalio/api/enums/v1/namespace.rbi +20 -0
- data/rbi/temporalio/api/history/v1/message.rbi +40 -18
- data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +480 -0
- data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +32 -0
- data/rbi/temporalio/api/payload_visitor.rbi +33 -0
- data/rbi/temporalio/api/schedule/v1/message.rbi +12 -6
- data/rbi/temporalio/api/taskqueue/v1/message.rbi +179 -13
- data/rbi/temporalio/api/worker/v1/message.rbi +6 -6
- data/rbi/temporalio/api/workflow/v1/message.rbi +12 -6
- data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +140 -41
- data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +3 -0
- data/rbi/temporalio/client/connection/cloud_service.rbi +57 -0
- data/rbi/temporalio/client/connection/operator_service.rbi +9 -0
- data/rbi/temporalio/converters/data_converter.rbi +43 -2
- data/rbi/temporalio/converters/external_storage.rbi +2 -7
- data/rbi/temporalio/converters/storage_driver_limiter.rbi +4 -0
- data/rbi/temporalio/converters/storage_driver_retrieve_context.rbi +1 -1
- data/rbi/temporalio/converters/storage_driver_select_context.rbi +6 -2
- data/rbi/temporalio/converters/storage_driver_store_context.rbi +6 -2
- data/rbi/temporalio/error.rbi +3 -1
- data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +6 -0
- data/rbi/temporalio/internal/bridge/worker.rbi +4 -2
- data/rbi/temporalio/internal/client/described_schedule_action.rbi +22 -0
- data/rbi/temporalio/internal/client/implementation.rbi +30 -0
- data/rbi/temporalio/internal/external_storage_runner.rbi +36 -0
- data/rbi/temporalio/internal/storage_operation_metrics.rbi +27 -0
- data/rbi/temporalio/internal/worker/activity_worker.rbi +24 -4
- data/rbi/temporalio/internal/worker/workflow_worker.rbi +61 -1
- data/rbi/temporalio/workflow.rbi +0 -12
- data/sig/temporalio/api/cloud/account/v1/message.rbs +30 -0
- data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +2122 -601
- data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +29 -4
- data/sig/temporalio/api/cloud/identity/v1/message.rbs +342 -1
- data/sig/temporalio/api/cloud/namespace/v1/message.rbs +341 -2
- data/sig/temporalio/api/cloud/nexus/v1/message.rbs +9 -0
- data/sig/temporalio/api/cloud/project/v1/message.rbs +164 -0
- data/sig/temporalio/api/cloud/region/v1/message.rbs +5 -3
- data/sig/temporalio/api/cloud/sink/v1/message.rbs +66 -0
- data/sig/temporalio/api/common/v1/message.rbs +6 -0
- data/sig/temporalio/api/enums/v1/event_type.rbs +1 -0
- data/sig/temporalio/api/enums/v1/failed_cause.rbs +9 -3
- data/sig/temporalio/api/enums/v1/namespace.rbs +30 -2
- data/sig/temporalio/api/enums/v1/time_skipping.rbs +1 -0
- data/sig/temporalio/api/history/v1/message.rbs +8 -0
- data/sig/temporalio/api/operatorservice/v1/request_response.rbs +188 -0
- data/sig/temporalio/api/payload_visitor.rbs +11 -0
- data/sig/temporalio/api/schedule/v1/message.rbs +2 -0
- data/sig/temporalio/api/taskqueue/v1/message.rbs +66 -5
- data/sig/temporalio/api/worker/v1/message.rbs +2 -2
- data/sig/temporalio/api/workflow/v1/message.rbs +2 -0
- data/sig/temporalio/api/workflowservice/v1/request_response.rbs +53 -9
- data/sig/temporalio/client/connection/cloud_service.rbs +76 -0
- data/sig/temporalio/client/connection/operator_service.rbs +12 -0
- data/sig/temporalio/client/schedule.rbs +24 -3
- data/sig/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbs +2 -1
- data/sig/temporalio/contrib/open_telemetry.rbs +4 -4
- data/sig/temporalio/converters/data_converter.rbs +19 -1
- data/sig/temporalio/converters/external_storage.rbs +1 -3
- data/sig/temporalio/converters/storage_driver_limiter.rbs +5 -0
- data/sig/temporalio/converters/storage_driver_retrieve_context.rbs +1 -1
- data/sig/temporalio/converters/storage_driver_select_context.rbs +3 -1
- data/sig/temporalio/converters/storage_driver_store_context.rbs +3 -1
- data/sig/temporalio/error.rbs +4 -1
- data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +4 -0
- data/sig/temporalio/internal/bridge/worker.rbs +2 -0
- data/sig/temporalio/internal/client/described_schedule_action.rbs +18 -0
- data/sig/temporalio/internal/client/implementation.rbs +22 -0
- data/sig/temporalio/internal/external_storage_runner.rbs +32 -0
- data/sig/temporalio/internal/storage_operation_metrics.rbs +25 -0
- data/sig/temporalio/internal/worker/activity_worker.rbs +11 -2
- data/sig/temporalio/internal/worker/workflow_worker.rbs +32 -1
- metadata +13 -2
- data/sig/open_telemetry.rbs +0 -47
|
@@ -26,6 +26,7 @@ module Temporalio
|
|
|
26
26
|
attr_accessor nondeterminism_as_workflow_fail_for_types: Array[String]
|
|
27
27
|
attr_accessor deployment_options: DeploymentOptions?
|
|
28
28
|
attr_accessor plugins: Array[String]
|
|
29
|
+
attr_accessor storage_drivers: Array[String]
|
|
29
30
|
attr_accessor disable_payload_error_limit: bool
|
|
30
31
|
|
|
31
32
|
def initialize: (
|
|
@@ -52,6 +53,7 @@ module Temporalio
|
|
|
52
53
|
nondeterminism_as_workflow_fail_for_types: Array[String],
|
|
53
54
|
deployment_options: DeploymentOptions?,
|
|
54
55
|
plugins: Array[String],
|
|
56
|
+
storage_drivers: Array[String],
|
|
55
57
|
disable_payload_error_limit: bool
|
|
56
58
|
) -> void
|
|
57
59
|
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Temporalio
|
|
2
|
+
module Internal
|
|
3
|
+
module Client
|
|
4
|
+
class DescribedScheduleAction
|
|
5
|
+
attr_reader raw_info: Api::Workflow::V1::NewWorkflowExecutionInfo
|
|
6
|
+
|
|
7
|
+
def initialize: (
|
|
8
|
+
Temporalio::Client::Schedule::Action::StartWorkflow action,
|
|
9
|
+
Api::Workflow::V1::NewWorkflowExecutionInfo raw_info
|
|
10
|
+
) -> void
|
|
11
|
+
|
|
12
|
+
def unchanged?: (Symbol name, Object? value) -> bool
|
|
13
|
+
|
|
14
|
+
def unchanged_text?: (Symbol name, String? value) -> bool
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -14,6 +14,28 @@ module Temporalio
|
|
|
14
14
|
untyped klass, Temporalio::Client::WithStartWorkflowOperation::Options start_options
|
|
15
15
|
) -> untyped
|
|
16
16
|
|
|
17
|
+
def _storage_data_converter: (Converters::storageDriverTargetInfo? target) -> Converters::DataConverter
|
|
18
|
+
|
|
19
|
+
def _workflow_storage_data_converter: (
|
|
20
|
+
id: String?,
|
|
21
|
+
?run_id: String?,
|
|
22
|
+
?type: String?
|
|
23
|
+
) -> Converters::DataConverter
|
|
24
|
+
|
|
25
|
+
def _activity_storage_data_converter: (
|
|
26
|
+
id: String?,
|
|
27
|
+
?run_id: String?,
|
|
28
|
+
?type: String?
|
|
29
|
+
) -> Converters::DataConverter
|
|
30
|
+
|
|
31
|
+
def _async_activity_storage_data_converter: (
|
|
32
|
+
String | Temporalio::Client::ActivityIDReference ref
|
|
33
|
+
) -> Converters::DataConverter
|
|
34
|
+
|
|
35
|
+
def _schedule_memo_storage_data_converter: (
|
|
36
|
+
Temporalio::Client::Schedule::Action action
|
|
37
|
+
) -> Converters::DataConverter
|
|
38
|
+
|
|
17
39
|
def start_activity: (Temporalio::Client::Interceptor::StartActivityInput input) -> Temporalio::Client::ActivityHandle
|
|
18
40
|
|
|
19
41
|
def describe_activity: (Temporalio::Client::Interceptor::DescribeActivityInput input) -> Temporalio::Client::ActivityExecution::Description
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Temporalio
|
|
2
|
+
module Internal
|
|
3
|
+
class ExternalStorageRunner
|
|
4
|
+
@storage: Converters::ExternalStorage?
|
|
5
|
+
@namespace: String?
|
|
6
|
+
@clock: ^() -> Float
|
|
7
|
+
|
|
8
|
+
MONOTONIC_CLOCK: ^() -> Float
|
|
9
|
+
|
|
10
|
+
def initialize: (Converters::ExternalStorage? storage, namespace: String?, ?clock: ^() -> Float) -> void
|
|
11
|
+
|
|
12
|
+
def store: (
|
|
13
|
+
Array[Api::Common::V1::Payload] payloads,
|
|
14
|
+
?target: Converters::storageDriverTargetInfo?,
|
|
15
|
+
?metrics: StorageOperationMetrics?
|
|
16
|
+
) -> Array[Api::Common::V1::Payload]
|
|
17
|
+
def retrieve: (
|
|
18
|
+
Array[Api::Common::V1::Payload] payloads,
|
|
19
|
+
?metrics: StorageOperationMetrics?
|
|
20
|
+
) -> Array[Api::Common::V1::Payload]
|
|
21
|
+
|
|
22
|
+
private def raise_as_storage_error: [T] (String failure_message) { () -> T } -> T
|
|
23
|
+
private def check_driver_result: (
|
|
24
|
+
Converters::StorageDriver driver,
|
|
25
|
+
String operation,
|
|
26
|
+
Integer requested,
|
|
27
|
+
untyped returned,
|
|
28
|
+
Class expected_item_class
|
|
29
|
+
) -> void
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
module Temporalio
|
|
2
|
+
module Internal
|
|
3
|
+
class StorageOperationMetrics
|
|
4
|
+
@mutex: Mutex
|
|
5
|
+
@payload_count: Integer
|
|
6
|
+
@total_size_bytes: Integer
|
|
7
|
+
@driver_names: Set[String]
|
|
8
|
+
@spans: Array[[Float, Float]]
|
|
9
|
+
|
|
10
|
+
def initialize: -> void
|
|
11
|
+
|
|
12
|
+
def record: (
|
|
13
|
+
driver_name: String,
|
|
14
|
+
payload_count: Integer,
|
|
15
|
+
total_size_bytes: Integer,
|
|
16
|
+
start_time: Float,
|
|
17
|
+
end_time: Float
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_proto: -> Bridge::Api::Common::ExternalStorageMetrics?
|
|
21
|
+
|
|
22
|
+
private def union_seconds: -> Float
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -25,9 +25,18 @@ module Temporalio
|
|
|
25
25
|
def run_activity: (
|
|
26
26
|
Activity::Definition::Info defn,
|
|
27
27
|
RunningActivity activity,
|
|
28
|
-
Temporalio::Worker::Interceptor::Activity::ExecuteInput input
|
|
28
|
+
Temporalio::Worker::Interceptor::Activity::ExecuteInput input,
|
|
29
|
+
Converters::DataConverter data_converter
|
|
29
30
|
) -> void
|
|
30
31
|
|
|
32
|
+
def storage_data_converter: (untyped start) -> Converters::DataConverter
|
|
33
|
+
def storage_target_for_task: (untyped start) -> Converters::storageDriverTargetInfo
|
|
34
|
+
|
|
35
|
+
def failed_result: (
|
|
36
|
+
Exception error,
|
|
37
|
+
Converters::DataConverter data_converter
|
|
38
|
+
) -> Bridge::Api::ActivityResult::ActivityExecutionResult
|
|
39
|
+
|
|
31
40
|
def assert_valid_activity: (String activity) -> void
|
|
32
41
|
|
|
33
42
|
class RunningActivity < Activity::Context
|
|
@@ -56,7 +65,7 @@ module Temporalio
|
|
|
56
65
|
end
|
|
57
66
|
|
|
58
67
|
class OutboundImplementation < Temporalio::Worker::Interceptor::Activity::Outbound
|
|
59
|
-
def initialize: (ActivityWorker worker, String task_token) -> void
|
|
68
|
+
def initialize: (ActivityWorker worker, String task_token, Converters::DataConverter data_converter) -> void
|
|
60
69
|
end
|
|
61
70
|
end
|
|
62
71
|
end
|
|
@@ -50,7 +50,37 @@ module Temporalio
|
|
|
50
50
|
|
|
51
51
|
def decode_activation: (MultiRunner runner, untyped activation) -> void
|
|
52
52
|
def encode_activation_completion: (MultiRunner runner, untyped activation_completion) -> void
|
|
53
|
-
def
|
|
53
|
+
def remember_initial_target: (untyped activation) -> void
|
|
54
|
+
def encode_completion_payloads: (
|
|
55
|
+
untyped activation_completion,
|
|
56
|
+
StorageOperationMetrics? metrics,
|
|
57
|
+
Converters::StorageDriverWorkflowInfo? initial_target
|
|
58
|
+
) -> void
|
|
59
|
+
def storage_target_for_workflow: (Workflow::Info workflow_info) -> Converters::StorageDriverWorkflowInfo
|
|
60
|
+
def task_failed_cause: (Exception error) -> Api::Enums::V1::WorkflowTaskFailedCause::names
|
|
61
|
+
def encoding_failure_cause: (
|
|
62
|
+
Exception encoding_error,
|
|
63
|
+
untyped activation_completion
|
|
64
|
+
) -> Api::Enums::V1::WorkflowTaskFailedCause::names
|
|
65
|
+
def storage_target_for_command: (
|
|
66
|
+
untyped command,
|
|
67
|
+
Workflow::Info? workflow_info,
|
|
68
|
+
Converters::StorageDriverWorkflowInfo? current_workflow_target
|
|
69
|
+
) -> Converters::StorageDriverWorkflowInfo?
|
|
70
|
+
def storage_target_for_signaled_workflow: (
|
|
71
|
+
untyped signal,
|
|
72
|
+
Workflow::Info workflow_info
|
|
73
|
+
) -> Converters::StorageDriverWorkflowInfo?
|
|
74
|
+
def storage_target_for_result: (
|
|
75
|
+
Workflow::Info workflow_info,
|
|
76
|
+
Converters::StorageDriverWorkflowInfo? current_workflow_target
|
|
77
|
+
) -> Converters::StorageDriverWorkflowInfo?
|
|
78
|
+
def payload_encoding_visitor: (
|
|
79
|
+
StorageOperationMetrics? metrics,
|
|
80
|
+
Converters::StorageDriverWorkflowInfo? target
|
|
81
|
+
) -> Api::PayloadVisitor
|
|
82
|
+
def payload_decoding_visitor: (StorageOperationMetrics? metrics) -> Api::PayloadVisitor
|
|
83
|
+
def replace_payloads_on_visit: (untyped payload_or_payloads) { (untyped) -> Enumerable[untyped] } -> void
|
|
54
84
|
|
|
55
85
|
class State
|
|
56
86
|
attr_reader workflow_definitions: Hash[String?, Workflow::Definition::Info]
|
|
@@ -90,6 +120,7 @@ module Temporalio
|
|
|
90
120
|
) -> void
|
|
91
121
|
|
|
92
122
|
def get_or_create_running_workflow: [T] (String run_id) { -> T } -> T
|
|
123
|
+
def running_workflow_info: (String run_id) -> Workflow::Info?
|
|
93
124
|
def evict_running_workflow: (String run_id, untyped cache_remove_job) -> void
|
|
94
125
|
def evict_all: -> void
|
|
95
126
|
end
|
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.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Temporal Technologies Inc
|
|
@@ -88,6 +88,7 @@ files:
|
|
|
88
88
|
- lib/temporalio/api/cloud/namespace/v1/message.rb
|
|
89
89
|
- lib/temporalio/api/cloud/nexus/v1/message.rb
|
|
90
90
|
- lib/temporalio/api/cloud/operation/v1/message.rb
|
|
91
|
+
- lib/temporalio/api/cloud/project/v1/message.rb
|
|
91
92
|
- lib/temporalio/api/cloud/region/v1/message.rb
|
|
92
93
|
- lib/temporalio/api/cloud/resource/v1/message.rb
|
|
93
94
|
- lib/temporalio/api/cloud/sink/v1/message.rb
|
|
@@ -233,11 +234,14 @@ files:
|
|
|
233
234
|
- lib/temporalio/internal/bridge/runtime.rb
|
|
234
235
|
- lib/temporalio/internal/bridge/testing.rb
|
|
235
236
|
- lib/temporalio/internal/bridge/worker.rb
|
|
237
|
+
- lib/temporalio/internal/client/described_schedule_action.rb
|
|
236
238
|
- lib/temporalio/internal/client/implementation.rb
|
|
237
239
|
- lib/temporalio/internal/external_storage_references.rb
|
|
240
|
+
- lib/temporalio/internal/external_storage_runner.rb
|
|
238
241
|
- lib/temporalio/internal/google_protobuf.rb
|
|
239
242
|
- lib/temporalio/internal/metric.rb
|
|
240
243
|
- lib/temporalio/internal/proto_utils.rb
|
|
244
|
+
- lib/temporalio/internal/storage_operation_metrics.rb
|
|
241
245
|
- lib/temporalio/internal/worker/activity_worker.rb
|
|
242
246
|
- lib/temporalio/internal/worker/multi_runner.rb
|
|
243
247
|
- lib/temporalio/internal/worker/workflow_instance.rb
|
|
@@ -326,6 +330,7 @@ files:
|
|
|
326
330
|
- rbi/temporalio/api/cloud/namespace/v1/message.rbi
|
|
327
331
|
- rbi/temporalio/api/cloud/nexus/v1/message.rbi
|
|
328
332
|
- rbi/temporalio/api/cloud/operation/v1/message.rbi
|
|
333
|
+
- rbi/temporalio/api/cloud/project/v1/message.rbi
|
|
329
334
|
- rbi/temporalio/api/cloud/region/v1/message.rbi
|
|
330
335
|
- rbi/temporalio/api/cloud/resource/v1/message.rbi
|
|
331
336
|
- rbi/temporalio/api/cloud/sink/v1/message.rbi
|
|
@@ -474,11 +479,14 @@ files:
|
|
|
474
479
|
- rbi/temporalio/internal/bridge/runtime.rbi
|
|
475
480
|
- rbi/temporalio/internal/bridge/testing.rbi
|
|
476
481
|
- rbi/temporalio/internal/bridge/worker.rbi
|
|
482
|
+
- rbi/temporalio/internal/client/described_schedule_action.rbi
|
|
477
483
|
- rbi/temporalio/internal/client/implementation.rbi
|
|
478
484
|
- rbi/temporalio/internal/external_storage_references.rbi
|
|
485
|
+
- rbi/temporalio/internal/external_storage_runner.rbi
|
|
479
486
|
- rbi/temporalio/internal/google_protobuf.rbi
|
|
480
487
|
- rbi/temporalio/internal/metric.rbi
|
|
481
488
|
- rbi/temporalio/internal/proto_utils.rbi
|
|
489
|
+
- rbi/temporalio/internal/storage_operation_metrics.rbi
|
|
482
490
|
- rbi/temporalio/internal/worker/activity_worker.rbi
|
|
483
491
|
- rbi/temporalio/internal/worker/multi_runner.rbi
|
|
484
492
|
- rbi/temporalio/internal/worker/workflow_instance.rbi
|
|
@@ -545,7 +553,6 @@ files:
|
|
|
545
553
|
- rbi/temporalio/workflow_history.rbi
|
|
546
554
|
- sig/common.rbs
|
|
547
555
|
- sig/google/protobuf_compat.rbs
|
|
548
|
-
- sig/open_telemetry.rbs
|
|
549
556
|
- sig/temporalio.rbs
|
|
550
557
|
- sig/temporalio/activity.rbs
|
|
551
558
|
- sig/temporalio/activity/cancellation_details.rbs
|
|
@@ -568,6 +575,7 @@ files:
|
|
|
568
575
|
- sig/temporalio/api/cloud/namespace/v1/message.rbs
|
|
569
576
|
- sig/temporalio/api/cloud/nexus/v1/message.rbs
|
|
570
577
|
- sig/temporalio/api/cloud/operation/v1/message.rbs
|
|
578
|
+
- sig/temporalio/api/cloud/project/v1/message.rbs
|
|
571
579
|
- sig/temporalio/api/cloud/region/v1/message.rbs
|
|
572
580
|
- sig/temporalio/api/cloud/resource/v1/message.rbs
|
|
573
581
|
- sig/temporalio/api/cloud/sink/v1/message.rbs
|
|
@@ -715,11 +723,14 @@ files:
|
|
|
715
723
|
- sig/temporalio/internal/bridge/runtime.rbs
|
|
716
724
|
- sig/temporalio/internal/bridge/testing.rbs
|
|
717
725
|
- sig/temporalio/internal/bridge/worker.rbs
|
|
726
|
+
- sig/temporalio/internal/client/described_schedule_action.rbs
|
|
718
727
|
- sig/temporalio/internal/client/implementation.rbs
|
|
719
728
|
- sig/temporalio/internal/external_storage_references.rbs
|
|
729
|
+
- sig/temporalio/internal/external_storage_runner.rbs
|
|
720
730
|
- sig/temporalio/internal/google_protobuf.rbs
|
|
721
731
|
- sig/temporalio/internal/metric.rbs
|
|
722
732
|
- sig/temporalio/internal/proto_utils.rbs
|
|
733
|
+
- sig/temporalio/internal/storage_operation_metrics.rbs
|
|
723
734
|
- sig/temporalio/internal/worker/activity_worker.rbs
|
|
724
735
|
- sig/temporalio/internal/worker/multi_runner.rbs
|
|
725
736
|
- sig/temporalio/internal/worker/workflow_instance.rbs
|
data/sig/open_telemetry.rbs
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
module OpenTelemetry
|
|
2
|
-
module Context
|
|
3
|
-
def self.current: -> untyped
|
|
4
|
-
def self.attach: (untyped context) -> untyped
|
|
5
|
-
def self.detach: (untyped token) -> void
|
|
6
|
-
|
|
7
|
-
module Propagation
|
|
8
|
-
class CompositeTextMapPropagator
|
|
9
|
-
def self.compose_propagators: (Array[untyped] propagators) -> untyped
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
module Baggage
|
|
15
|
-
module Propagation
|
|
16
|
-
class TextMapPropagator
|
|
17
|
-
def initialize: -> void
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
module Trace
|
|
23
|
-
def self.with_span: [T] (untyped span) { -> T } -> T
|
|
24
|
-
def self.current_span: (?untyped context) -> untyped
|
|
25
|
-
def self.context_with_span: (untyped span) -> untyped
|
|
26
|
-
|
|
27
|
-
class Link
|
|
28
|
-
def initialize: (untyped context) -> void
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
module Status
|
|
32
|
-
def self.error: (String description) -> untyped
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
module Propagation
|
|
36
|
-
module TraceContext
|
|
37
|
-
class TextMapPropagator
|
|
38
|
-
def initialize: -> void
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
class Span
|
|
44
|
-
INVALID: untyped
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|