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
|
@@ -208,8 +208,7 @@ module Temporalio
|
|
|
208
208
|
| ("run_id" name, (::String | ::Symbol) value) -> void
|
|
209
209
|
end
|
|
210
210
|
|
|
211
|
-
# Identifies a specific execution within a namespace.
|
|
212
|
-
# executions in batch jobs currently.
|
|
211
|
+
# Identifies a specific execution within a namespace.
|
|
213
212
|
class Execution < ::Google::Protobuf::AbstractMessage
|
|
214
213
|
|
|
215
214
|
attr_reader type(): ::Temporalio::Api::Enums::V1::ExecutionType::names | ::Integer
|
|
@@ -552,6 +551,8 @@ module Temporalio
|
|
|
552
551
|
|
|
553
552
|
# Callback to attach to various events in the system, e.g. workflow run completion.
|
|
554
553
|
class Callback < ::Google::Protobuf::AbstractMessage
|
|
554
|
+
# Nexus callbacks are used to delivery Nexus operation completions, as defined in the Nexus RPC spec:
|
|
555
|
+
# https://github.com/nexus-rpc/api/blob/main/SPEC.md#callback-urls
|
|
555
556
|
class Nexus < ::Google::Protobuf::AbstractMessage
|
|
556
557
|
|
|
557
558
|
# Callback URL.
|
|
@@ -605,6 +606,69 @@ module Temporalio
|
|
|
605
606
|
("data" name, ::String value) -> void
|
|
606
607
|
end
|
|
607
608
|
|
|
609
|
+
# NexusHandler callbacks are requests to invoke a specific shape of Nexus operation on a Temporal worker.
|
|
610
|
+
# The specified Nexus operation must have the following:
|
|
611
|
+
# - Input: temporal.api.notificationservice.v1.OnCompleteRequest
|
|
612
|
+
# - Output: temporal.api.notificationservice.v1.OnCompleteResponse
|
|
613
|
+
# The targeted Nexus service must be registered within the same namespace as the source operation
|
|
614
|
+
# the callback is attached to. (While Nexus allows for cross-namespace operations, NexusHandler callbacks
|
|
615
|
+
# are strictly caller-side.)
|
|
616
|
+
# NexusHandler callbacks are only supported for certain types of operations, e.g. standalone Nexus operations.
|
|
617
|
+
# Attempting to attach a Worker callback for an unsupported operation will result in an INVALID_ARGUMENT
|
|
618
|
+
# error from the server.
|
|
619
|
+
class NexusHandler < ::Google::Protobuf::AbstractMessage
|
|
620
|
+
|
|
621
|
+
# Nexus task queue the Temporal worker is listening on.
|
|
622
|
+
# NOTE: This is not a temporal.api.taskqueue.v1.TaskQueue to avoid a circular dependency.
|
|
623
|
+
attr_reader task_queue_name(): ::String
|
|
624
|
+
attr_writer task_queue_name(): ::String | ::Symbol
|
|
625
|
+
def clear_task_queue_name: () -> void
|
|
626
|
+
|
|
627
|
+
# Target Nexus service, e.g. "HTTPAdapter".
|
|
628
|
+
attr_reader service(): ::String
|
|
629
|
+
attr_writer service(): ::String | ::Symbol
|
|
630
|
+
def clear_service: () -> void
|
|
631
|
+
|
|
632
|
+
# Target operation, e.g. "DeliverAsWebhook".
|
|
633
|
+
attr_reader operation(): ::String
|
|
634
|
+
attr_writer operation(): ::String | ::Symbol
|
|
635
|
+
def clear_operation: () -> void
|
|
636
|
+
|
|
637
|
+
# Arbitrary user-supplied data from the source operation's callsite. (As applicable, not all operations
|
|
638
|
+
# support attaching context data.)
|
|
639
|
+
# There are restrictions on the maxium payload size a single callback can carry, as well as the
|
|
640
|
+
# total sum of all source context payloads attached to an execution. See dynamic configuration:
|
|
641
|
+
# "callback.nexusHandler.sourceContext.maxSize", "callback.nexusHandler.sourceContext.aggregateMaxSize".
|
|
642
|
+
attr_accessor source_context(): ::Temporalio::Api::Common::V1::Payload?
|
|
643
|
+
def has_source_context?: () -> bool
|
|
644
|
+
def clear_source_context: () -> void
|
|
645
|
+
|
|
646
|
+
type init_map = {
|
|
647
|
+
task_queue_name: (::String | ::Symbol)?,
|
|
648
|
+
"task_queue_name" => (::String | ::Symbol)?,
|
|
649
|
+
service: (::String | ::Symbol)?,
|
|
650
|
+
"service" => (::String | ::Symbol)?,
|
|
651
|
+
operation: (::String | ::Symbol)?,
|
|
652
|
+
"operation" => (::String | ::Symbol)?,
|
|
653
|
+
source_context: (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
654
|
+
"source_context" => (::Temporalio::Api::Common::V1::Payload | ::Temporalio::Api::Common::V1::Payload::init_map)?,
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
def initialize: (?init_map initial_value) -> void
|
|
658
|
+
|
|
659
|
+
def []:
|
|
660
|
+
("task_queue_name" name) -> ::String
|
|
661
|
+
| ("service" name) -> ::String
|
|
662
|
+
| ("operation" name) -> ::String
|
|
663
|
+
| ("source_context" name) -> ::Temporalio::Api::Common::V1::Payload?
|
|
664
|
+
|
|
665
|
+
def []=:
|
|
666
|
+
("task_queue_name" name, (::String | ::Symbol) value) -> void
|
|
667
|
+
| ("service" name, (::String | ::Symbol) value) -> void
|
|
668
|
+
| ("operation" name, (::String | ::Symbol) value) -> void
|
|
669
|
+
| ("source_context" name, ::Temporalio::Api::Common::V1::Payload? value) -> void
|
|
670
|
+
end
|
|
671
|
+
|
|
608
672
|
attr_accessor nexus(): ::Temporalio::Api::Common::V1::Callback::Nexus?
|
|
609
673
|
def has_nexus?: () -> bool
|
|
610
674
|
def clear_nexus: () -> void
|
|
@@ -613,12 +677,16 @@ module Temporalio
|
|
|
613
677
|
def has_internal?: () -> bool
|
|
614
678
|
def clear_internal: () -> void
|
|
615
679
|
|
|
680
|
+
attr_accessor nexus_handler(): ::Temporalio::Api::Common::V1::Callback::NexusHandler?
|
|
681
|
+
def has_nexus_handler?: () -> bool
|
|
682
|
+
def clear_nexus_handler: () -> void
|
|
683
|
+
|
|
616
684
|
# Links associated with the callback. It can be used to link to underlying resources of the
|
|
617
685
|
# callback.
|
|
618
686
|
attr_accessor links(): ::Google::Protobuf::RepeatedField
|
|
619
687
|
def clear_links: () -> void
|
|
620
688
|
|
|
621
|
-
attr_reader variant(): (::Temporalio::Api::Common::V1::Callback::Nexus | ::Temporalio::Api::Common::V1::Callback::Internal)?
|
|
689
|
+
attr_reader variant(): (::Temporalio::Api::Common::V1::Callback::Nexus | ::Temporalio::Api::Common::V1::Callback::Internal | ::Temporalio::Api::Common::V1::Callback::NexusHandler)?
|
|
622
690
|
def has_variant?: () -> bool
|
|
623
691
|
def clear_variant: () -> void
|
|
624
692
|
|
|
@@ -627,6 +695,8 @@ module Temporalio
|
|
|
627
695
|
"nexus" => (::Temporalio::Api::Common::V1::Callback::Nexus | ::Temporalio::Api::Common::V1::Callback::Nexus::init_map)?,
|
|
628
696
|
internal: (::Temporalio::Api::Common::V1::Callback::Internal | ::Temporalio::Api::Common::V1::Callback::Internal::init_map)?,
|
|
629
697
|
"internal" => (::Temporalio::Api::Common::V1::Callback::Internal | ::Temporalio::Api::Common::V1::Callback::Internal::init_map)?,
|
|
698
|
+
nexus_handler: (::Temporalio::Api::Common::V1::Callback::NexusHandler | ::Temporalio::Api::Common::V1::Callback::NexusHandler::init_map)?,
|
|
699
|
+
"nexus_handler" => (::Temporalio::Api::Common::V1::Callback::NexusHandler | ::Temporalio::Api::Common::V1::Callback::NexusHandler::init_map)?,
|
|
630
700
|
links: ::Array[::Temporalio::Api::Common::V1::Link]?,
|
|
631
701
|
"links" => ::Array[::Temporalio::Api::Common::V1::Link]?,
|
|
632
702
|
}
|
|
@@ -636,11 +706,13 @@ module Temporalio
|
|
|
636
706
|
def []:
|
|
637
707
|
("nexus" name) -> ::Temporalio::Api::Common::V1::Callback::Nexus?
|
|
638
708
|
| ("internal" name) -> ::Temporalio::Api::Common::V1::Callback::Internal?
|
|
709
|
+
| ("nexus_handler" name) -> ::Temporalio::Api::Common::V1::Callback::NexusHandler?
|
|
639
710
|
| ("links" name) -> ::Google::Protobuf::RepeatedField
|
|
640
711
|
|
|
641
712
|
def []=:
|
|
642
713
|
("nexus" name, ::Temporalio::Api::Common::V1::Callback::Nexus? value) -> void
|
|
643
714
|
| ("internal" name, ::Temporalio::Api::Common::V1::Callback::Internal? value) -> void
|
|
715
|
+
| ("nexus_handler" name, ::Temporalio::Api::Common::V1::Callback::NexusHandler? value) -> void
|
|
644
716
|
| ("links" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
645
717
|
end
|
|
646
718
|
|
|
@@ -910,6 +982,55 @@ module Temporalio
|
|
|
910
982
|
| ("reason" name, (::String | ::Symbol) value) -> void
|
|
911
983
|
end
|
|
912
984
|
|
|
985
|
+
# A link to a worker callback attached to an execution. An execution (e.g. standalone Nexus operation) can have
|
|
986
|
+
# multiple callbacks attached, and will be differentiated by the request_id used when the callback is invoked.
|
|
987
|
+
class Callback < ::Google::Protobuf::AbstractMessage
|
|
988
|
+
|
|
989
|
+
attr_reader namespace(): ::String
|
|
990
|
+
attr_writer namespace(): ::String | ::Symbol
|
|
991
|
+
def clear_namespace: () -> void
|
|
992
|
+
|
|
993
|
+
attr_accessor execution(): ::Temporalio::Api::Common::V1::Execution?
|
|
994
|
+
def has_execution?: () -> bool
|
|
995
|
+
def clear_execution: () -> void
|
|
996
|
+
|
|
997
|
+
# In most cases, the Execution is sufficient to identify the callback's source. But the callback could have
|
|
998
|
+
# been attached some child component of that execution. e.g. a workflow update. The component path describes
|
|
999
|
+
# the unique component as applicable, typically ending with a unique ID. e.g. ["Update", $workflowUpdateId ]
|
|
1000
|
+
attr_accessor component_path(): ::Google::Protobuf::RepeatedField
|
|
1001
|
+
def clear_component_path: () -> void
|
|
1002
|
+
|
|
1003
|
+
# Server-generate request ID sent when the callback was dispatched.
|
|
1004
|
+
attr_reader request_id(): ::String
|
|
1005
|
+
attr_writer request_id(): ::String | ::Symbol
|
|
1006
|
+
def clear_request_id: () -> void
|
|
1007
|
+
|
|
1008
|
+
type init_map = {
|
|
1009
|
+
namespace: (::String | ::Symbol)?,
|
|
1010
|
+
"namespace" => (::String | ::Symbol)?,
|
|
1011
|
+
execution: (::Temporalio::Api::Common::V1::Execution | ::Temporalio::Api::Common::V1::Execution::init_map)?,
|
|
1012
|
+
"execution" => (::Temporalio::Api::Common::V1::Execution | ::Temporalio::Api::Common::V1::Execution::init_map)?,
|
|
1013
|
+
component_path: ::Array[::String | ::Symbol]?,
|
|
1014
|
+
"component_path" => ::Array[::String | ::Symbol]?,
|
|
1015
|
+
request_id: (::String | ::Symbol)?,
|
|
1016
|
+
"request_id" => (::String | ::Symbol)?,
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
def initialize: (?init_map initial_value) -> void
|
|
1020
|
+
|
|
1021
|
+
def []:
|
|
1022
|
+
("namespace" name) -> ::String
|
|
1023
|
+
| ("execution" name) -> ::Temporalio::Api::Common::V1::Execution?
|
|
1024
|
+
| ("component_path" name) -> (::Google::Protobuf::RepeatedField)
|
|
1025
|
+
| ("request_id" name) -> ::String
|
|
1026
|
+
|
|
1027
|
+
def []=:
|
|
1028
|
+
("namespace" name, (::String | ::Symbol) value) -> void
|
|
1029
|
+
| ("execution" name, ::Temporalio::Api::Common::V1::Execution? value) -> void
|
|
1030
|
+
| ("component_path" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
1031
|
+
| ("request_id" name, (::String | ::Symbol) value) -> void
|
|
1032
|
+
end
|
|
1033
|
+
|
|
913
1034
|
attr_accessor workflow_event(): ::Temporalio::Api::Common::V1::Link::WorkflowEvent?
|
|
914
1035
|
def has_workflow_event?: () -> bool
|
|
915
1036
|
def clear_workflow_event: () -> void
|
|
@@ -930,7 +1051,11 @@ module Temporalio
|
|
|
930
1051
|
def has_workflow?: () -> bool
|
|
931
1052
|
def clear_workflow: () -> void
|
|
932
1053
|
|
|
933
|
-
|
|
1054
|
+
attr_accessor callback(): ::Temporalio::Api::Common::V1::Link::Callback?
|
|
1055
|
+
def has_callback?: () -> bool
|
|
1056
|
+
def clear_callback: () -> void
|
|
1057
|
+
|
|
1058
|
+
attr_reader variant(): (::Temporalio::Api::Common::V1::Link::WorkflowEvent | ::Temporalio::Api::Common::V1::Link::BatchJob | ::Temporalio::Api::Common::V1::Link::Activity | ::Temporalio::Api::Common::V1::Link::NexusOperation | ::Temporalio::Api::Common::V1::Link::Workflow | ::Temporalio::Api::Common::V1::Link::Callback)?
|
|
934
1059
|
def has_variant?: () -> bool
|
|
935
1060
|
def clear_variant: () -> void
|
|
936
1061
|
|
|
@@ -945,6 +1070,8 @@ module Temporalio
|
|
|
945
1070
|
"nexus_operation" => (::Temporalio::Api::Common::V1::Link::NexusOperation | ::Temporalio::Api::Common::V1::Link::NexusOperation::init_map)?,
|
|
946
1071
|
workflow: (::Temporalio::Api::Common::V1::Link::Workflow | ::Temporalio::Api::Common::V1::Link::Workflow::init_map)?,
|
|
947
1072
|
"workflow" => (::Temporalio::Api::Common::V1::Link::Workflow | ::Temporalio::Api::Common::V1::Link::Workflow::init_map)?,
|
|
1073
|
+
callback: (::Temporalio::Api::Common::V1::Link::Callback | ::Temporalio::Api::Common::V1::Link::Callback::init_map)?,
|
|
1074
|
+
"callback" => (::Temporalio::Api::Common::V1::Link::Callback | ::Temporalio::Api::Common::V1::Link::Callback::init_map)?,
|
|
948
1075
|
}
|
|
949
1076
|
|
|
950
1077
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -955,6 +1082,7 @@ module Temporalio
|
|
|
955
1082
|
| ("activity" name) -> ::Temporalio::Api::Common::V1::Link::Activity?
|
|
956
1083
|
| ("nexus_operation" name) -> ::Temporalio::Api::Common::V1::Link::NexusOperation?
|
|
957
1084
|
| ("workflow" name) -> ::Temporalio::Api::Common::V1::Link::Workflow?
|
|
1085
|
+
| ("callback" name) -> ::Temporalio::Api::Common::V1::Link::Callback?
|
|
958
1086
|
|
|
959
1087
|
def []=:
|
|
960
1088
|
("workflow_event" name, ::Temporalio::Api::Common::V1::Link::WorkflowEvent? value) -> void
|
|
@@ -962,6 +1090,7 @@ module Temporalio
|
|
|
962
1090
|
| ("activity" name, ::Temporalio::Api::Common::V1::Link::Activity? value) -> void
|
|
963
1091
|
| ("nexus_operation" name, ::Temporalio::Api::Common::V1::Link::NexusOperation? value) -> void
|
|
964
1092
|
| ("workflow" name, ::Temporalio::Api::Common::V1::Link::Workflow? value) -> void
|
|
1093
|
+
| ("callback" name, ::Temporalio::Api::Common::V1::Link::Callback? value) -> void
|
|
965
1094
|
end
|
|
966
1095
|
|
|
967
1096
|
# Principal is an authenticated caller identity computed by the server from trusted
|
|
@@ -18,6 +18,11 @@ module Temporalio
|
|
|
18
18
|
attr_reader task_queue_types_const(): ::Array[::Integer]
|
|
19
19
|
def clear_task_queue_types: () -> void
|
|
20
20
|
|
|
21
|
+
# Optional. If set, this scaling group is used only while the namespace is
|
|
22
|
+
# active in one of these regions.
|
|
23
|
+
attr_accessor region_ids(): ::Google::Protobuf::RepeatedField
|
|
24
|
+
def clear_region_ids: () -> void
|
|
25
|
+
|
|
21
26
|
# Stores instructions for a worker control plane controller how to respond
|
|
22
27
|
# to worker lifeycle events.
|
|
23
28
|
attr_accessor provider(): ::Temporalio::Api::Compute::V1::ComputeProvider?
|
|
@@ -33,6 +38,8 @@ module Temporalio
|
|
|
33
38
|
type init_map = {
|
|
34
39
|
task_queue_types: ::Array[::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float]?,
|
|
35
40
|
"task_queue_types" => ::Array[::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float]?,
|
|
41
|
+
region_ids: ::Array[::String | ::Symbol]?,
|
|
42
|
+
"region_ids" => ::Array[::String | ::Symbol]?,
|
|
36
43
|
provider: (::Temporalio::Api::Compute::V1::ComputeProvider | ::Temporalio::Api::Compute::V1::ComputeProvider::init_map)?,
|
|
37
44
|
"provider" => (::Temporalio::Api::Compute::V1::ComputeProvider | ::Temporalio::Api::Compute::V1::ComputeProvider::init_map)?,
|
|
38
45
|
scaler: (::Temporalio::Api::Compute::V1::ComputeScaler | ::Temporalio::Api::Compute::V1::ComputeScaler::init_map)?,
|
|
@@ -43,11 +50,13 @@ module Temporalio
|
|
|
43
50
|
|
|
44
51
|
def []:
|
|
45
52
|
("task_queue_types" name) -> (::Google::Protobuf::RepeatedField)
|
|
53
|
+
| ("region_ids" name) -> (::Google::Protobuf::RepeatedField)
|
|
46
54
|
| ("provider" name) -> ::Temporalio::Api::Compute::V1::ComputeProvider?
|
|
47
55
|
| ("scaler" name) -> ::Temporalio::Api::Compute::V1::ComputeScaler?
|
|
48
56
|
|
|
49
57
|
def []=:
|
|
50
58
|
("task_queue_types" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
59
|
+
| ("region_ids" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
51
60
|
| ("provider" name, ::Temporalio::Api::Compute::V1::ComputeProvider? value) -> void
|
|
52
61
|
| ("scaler" name, ::Temporalio::Api::Compute::V1::ComputeScaler? value) -> void
|
|
53
62
|
end
|
|
@@ -91,7 +100,7 @@ module Temporalio
|
|
|
91
100
|
# - Empty mask for an existing scaling group is no-op: no change.
|
|
92
101
|
# - Non-empty mask for an existing scaling group will update/unset only to the fields
|
|
93
102
|
# mentioned in the mask.
|
|
94
|
-
# - Accepted paths: "task_queue_types", "provider", "provider.type", "provider.details",
|
|
103
|
+
# - Accepted paths: "task_queue_types", "region_ids", "provider", "provider.type", "provider.details",
|
|
95
104
|
# "provider.nexus_endpoint", "scaler", "scaler.type", "scaler.details"
|
|
96
105
|
attr_accessor update_mask(): ::Google::Protobuf::FieldMask?
|
|
97
106
|
def has_update_mask?: () -> bool
|
|
@@ -145,11 +154,16 @@ module Temporalio
|
|
|
145
154
|
attr_writer provider_type(): ::String | ::Symbol
|
|
146
155
|
def clear_provider_type: () -> void
|
|
147
156
|
|
|
157
|
+
attr_accessor region_ids(): ::Google::Protobuf::RepeatedField
|
|
158
|
+
def clear_region_ids: () -> void
|
|
159
|
+
|
|
148
160
|
type init_map = {
|
|
149
161
|
task_queue_types: ::Array[::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float]?,
|
|
150
162
|
"task_queue_types" => ::Array[::Temporalio::Api::Enums::V1::TaskQueueType::names | ::Temporalio::Api::Enums::V1::TaskQueueType::strings | ::Integer | ::Float]?,
|
|
151
163
|
provider_type: (::String | ::Symbol)?,
|
|
152
164
|
"provider_type" => (::String | ::Symbol)?,
|
|
165
|
+
region_ids: ::Array[::String | ::Symbol]?,
|
|
166
|
+
"region_ids" => ::Array[::String | ::Symbol]?,
|
|
153
167
|
}
|
|
154
168
|
|
|
155
169
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -157,10 +171,12 @@ module Temporalio
|
|
|
157
171
|
def []:
|
|
158
172
|
("task_queue_types" name) -> (::Google::Protobuf::RepeatedField)
|
|
159
173
|
| ("provider_type" name) -> ::String
|
|
174
|
+
| ("region_ids" name) -> (::Google::Protobuf::RepeatedField)
|
|
160
175
|
|
|
161
176
|
def []=:
|
|
162
177
|
("task_queue_types" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
163
178
|
| ("provider_type" name, (::String | ::Symbol) value) -> void
|
|
179
|
+
| ("region_ids" name, (::Google::Protobuf::RepeatedField) value) -> void
|
|
164
180
|
end
|
|
165
181
|
end
|
|
166
182
|
end
|
|
@@ -105,7 +105,7 @@ module Temporalio
|
|
|
105
105
|
# Callback has succeeded.
|
|
106
106
|
CALLBACK_STATE_SUCCEEDED: 5
|
|
107
107
|
|
|
108
|
-
# Callback is blocked
|
|
108
|
+
# Callback is blocked, e.g. by circuit breaker.
|
|
109
109
|
CALLBACK_STATE_BLOCKED: 6
|
|
110
110
|
|
|
111
111
|
def self.lookup: (::Integer number) -> ::Symbol
|
|
@@ -268,17 +268,20 @@ module Temporalio
|
|
|
268
268
|
# An activity execution archetype. This is reserved for standalone activities.
|
|
269
269
|
EXECUTION_TYPE_ACTIVITY: 2
|
|
270
270
|
|
|
271
|
+
# A Nexus operation execution archetype. This is reserved for standalone Nexus operations.
|
|
272
|
+
EXECUTION_TYPE_NEXUS_OPERATION: 3
|
|
273
|
+
|
|
271
274
|
def self.lookup: (::Integer number) -> ::Symbol
|
|
272
275
|
|
|
273
276
|
|
|
274
277
|
def self.resolve: (::Symbol name) -> ::Integer
|
|
275
278
|
|
|
276
279
|
|
|
277
|
-
type names = :EXECUTION_TYPE_UNSPECIFIED | :EXECUTION_TYPE_WORKFLOW | :EXECUTION_TYPE_ACTIVITY
|
|
280
|
+
type names = :EXECUTION_TYPE_UNSPECIFIED | :EXECUTION_TYPE_WORKFLOW | :EXECUTION_TYPE_ACTIVITY | :EXECUTION_TYPE_NEXUS_OPERATION
|
|
278
281
|
|
|
279
|
-
type strings = "EXECUTION_TYPE_UNSPECIFIED" | "EXECUTION_TYPE_WORKFLOW" | "EXECUTION_TYPE_ACTIVITY"
|
|
282
|
+
type strings = "EXECUTION_TYPE_UNSPECIFIED" | "EXECUTION_TYPE_WORKFLOW" | "EXECUTION_TYPE_ACTIVITY" | "EXECUTION_TYPE_NEXUS_OPERATION"
|
|
280
283
|
|
|
281
|
-
type numbers = 0 | 1 | 2
|
|
284
|
+
type numbers = 0 | 1 | 2 | 3
|
|
282
285
|
end
|
|
283
286
|
end
|
|
284
287
|
end
|
|
@@ -142,6 +142,40 @@ module Temporalio
|
|
|
142
142
|
type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
+
# Activity tasks can fail for various reasons. Note that some of these reasons can only originate
|
|
146
|
+
# from the server, and some of them can only originate from the SDK/worker.
|
|
147
|
+
module ActivityTaskFailedCause
|
|
148
|
+
|
|
149
|
+
ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED: 0
|
|
150
|
+
|
|
151
|
+
# A payload-bearing field on a request the worker sent for this activity task exceeded the
|
|
152
|
+
# per-field size limit configured on the server for the namespace.
|
|
153
|
+
# Check the activity task failure message for more information.
|
|
154
|
+
ACTIVITY_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE: 1
|
|
155
|
+
|
|
156
|
+
# The worker failed to offload a payload to, or retrieve one from, external storage while
|
|
157
|
+
# processing this activity task.
|
|
158
|
+
# Check the activity task failure message for more information.
|
|
159
|
+
ACTIVITY_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE: 2
|
|
160
|
+
|
|
161
|
+
# The default cause for an activity task failure reported by a worker; a more specific cause
|
|
162
|
+
# takes precedence whenever the condition is recognized.
|
|
163
|
+
# Check the activity task failure message for more information.
|
|
164
|
+
ACTIVITY_TASK_FAILED_CAUSE_ACTIVITY_WORKER_UNHANDLED_FAILURE: 3
|
|
165
|
+
|
|
166
|
+
def self.lookup: (::Integer number) -> ::Symbol
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
def self.resolve: (::Symbol name) -> ::Integer
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
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
|
|
173
|
+
|
|
174
|
+
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"
|
|
175
|
+
|
|
176
|
+
type numbers = 0 | 1 | 2 | 3
|
|
177
|
+
end
|
|
178
|
+
|
|
145
179
|
module StartChildWorkflowExecutionFailedCause
|
|
146
180
|
|
|
147
181
|
START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: 0
|
|
@@ -244,27 +278,30 @@ module Temporalio
|
|
|
244
278
|
# Limits related to Worker Deployments are reached.
|
|
245
279
|
RESOURCE_EXHAUSTED_CAUSE_WORKER_DEPLOYMENT_LIMITS: 10
|
|
246
280
|
|
|
281
|
+
# Namespace exceeds bandwidth limit.
|
|
282
|
+
RESOURCE_EXHAUSTED_CAUSE_BANDWIDTH_LIMIT: 11
|
|
283
|
+
|
|
247
284
|
def self.lookup: (::Integer number) -> ::Symbol
|
|
248
285
|
|
|
249
286
|
|
|
250
287
|
def self.resolve: (::Symbol name) -> ::Integer
|
|
251
288
|
|
|
252
289
|
|
|
253
|
-
type names = :RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED | :RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED | :RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW | :RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN | :RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_WORKER_DEPLOYMENT_LIMITS
|
|
290
|
+
type names = :RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED | :RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED | :RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW | :RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN | :RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT | :RESOURCE_EXHAUSTED_CAUSE_WORKER_DEPLOYMENT_LIMITS | :RESOURCE_EXHAUSTED_CAUSE_BANDWIDTH_LIMIT
|
|
254
291
|
|
|
255
|
-
type strings = "RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED" | "RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED" | "RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW" | "RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN" | "RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_WORKER_DEPLOYMENT_LIMITS"
|
|
292
|
+
type strings = "RESOURCE_EXHAUSTED_CAUSE_UNSPECIFIED" | "RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED" | "RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_BUSY_WORKFLOW" | "RESOURCE_EXHAUSTED_CAUSE_APS_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_STORAGE_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN" | "RESOURCE_EXHAUSTED_CAUSE_OPS_LIMIT" | "RESOURCE_EXHAUSTED_CAUSE_WORKER_DEPLOYMENT_LIMITS" | "RESOURCE_EXHAUSTED_CAUSE_BANDWIDTH_LIMIT"
|
|
256
293
|
|
|
257
|
-
type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
|
|
294
|
+
type numbers = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11
|
|
258
295
|
end
|
|
259
296
|
|
|
260
297
|
module ResourceExhaustedScope
|
|
261
298
|
|
|
262
299
|
RESOURCE_EXHAUSTED_SCOPE_UNSPECIFIED: 0
|
|
263
300
|
|
|
264
|
-
# Exhausted resource is a
|
|
301
|
+
# Exhausted resource is a namespace-level resource.
|
|
265
302
|
RESOURCE_EXHAUSTED_SCOPE_NAMESPACE: 1
|
|
266
303
|
|
|
267
|
-
# Exhausted resource is a
|
|
304
|
+
# Exhausted resource is a system-level resource.
|
|
268
305
|
RESOURCE_EXHAUSTED_SCOPE_SYSTEM: 2
|
|
269
306
|
|
|
270
307
|
def self.lookup: (::Integer number) -> ::Symbol
|
|
@@ -29,8 +29,8 @@ module Temporalio
|
|
|
29
29
|
("history" name, ::Temporalio::Api::History::V1::History? value) -> void
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
# WorkflowExecutions is
|
|
33
|
-
#
|
|
32
|
+
# WorkflowExecutions is the legacy Cloud Export file format containing only workflow executions.
|
|
33
|
+
# New exporters should use ExportedExecutions.
|
|
34
34
|
class WorkflowExecutions < ::Google::Protobuf::AbstractMessage
|
|
35
35
|
|
|
36
36
|
attr_accessor items(): ::Google::Protobuf::RepeatedField
|
|
@@ -49,6 +49,54 @@ module Temporalio
|
|
|
49
49
|
def []=:
|
|
50
50
|
("items" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
51
51
|
end
|
|
52
|
+
|
|
53
|
+
class ActivityExecution < ::Google::Protobuf::AbstractMessage
|
|
54
|
+
|
|
55
|
+
attr_accessor activity(): ::Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse?
|
|
56
|
+
def has_activity?: () -> bool
|
|
57
|
+
def clear_activity: () -> void
|
|
58
|
+
|
|
59
|
+
type init_map = {
|
|
60
|
+
activity: (::Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse | ::Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse::init_map)?,
|
|
61
|
+
"activity" => (::Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse | ::Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse::init_map)?,
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
def initialize: (?init_map initial_value) -> void
|
|
65
|
+
|
|
66
|
+
def []:
|
|
67
|
+
("activity" name) -> ::Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse?
|
|
68
|
+
|
|
69
|
+
def []=:
|
|
70
|
+
("activity" name, ::Temporalio::Api::WorkflowService::V1::DescribeActivityExecutionResponse? value) -> void
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# ExportedExecutions is used by the Cloud Export feature to deserialize the exported file.
|
|
74
|
+
# It encapsulates workflow execution information and contains other execution types.
|
|
75
|
+
class ExportedExecutions < ::Google::Protobuf::AbstractMessage
|
|
76
|
+
|
|
77
|
+
attr_accessor workflows(): ::Google::Protobuf::RepeatedField
|
|
78
|
+
def clear_workflows: () -> void
|
|
79
|
+
|
|
80
|
+
attr_accessor activities(): ::Google::Protobuf::RepeatedField
|
|
81
|
+
def clear_activities: () -> void
|
|
82
|
+
|
|
83
|
+
type init_map = {
|
|
84
|
+
workflows: ::Array[::Temporalio::Api::Export::V1::WorkflowExecution]?,
|
|
85
|
+
"workflows" => ::Array[::Temporalio::Api::Export::V1::WorkflowExecution]?,
|
|
86
|
+
activities: ::Array[::Temporalio::Api::Export::V1::ActivityExecution]?,
|
|
87
|
+
"activities" => ::Array[::Temporalio::Api::Export::V1::ActivityExecution]?,
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
def initialize: (?init_map initial_value) -> void
|
|
91
|
+
|
|
92
|
+
def []:
|
|
93
|
+
("workflows" name) -> ::Google::Protobuf::RepeatedField
|
|
94
|
+
| ("activities" name) -> ::Google::Protobuf::RepeatedField
|
|
95
|
+
|
|
96
|
+
def []=:
|
|
97
|
+
("workflows" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
98
|
+
| ("activities" name, ::Google::Protobuf::RepeatedField value) -> void
|
|
99
|
+
end
|
|
52
100
|
end
|
|
53
101
|
end
|
|
54
102
|
end
|
|
@@ -299,6 +299,11 @@ module Temporalio
|
|
|
299
299
|
def has_time_skipping_state_propagation?: () -> bool
|
|
300
300
|
def clear_time_skipping_state_propagation: () -> void
|
|
301
301
|
|
|
302
|
+
# Serialization context propagated from the Nexus caller that started this workflow.
|
|
303
|
+
attr_accessor propagated_nexus_serialization_context(): ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
|
|
304
|
+
def has_propagated_nexus_serialization_context?: () -> bool
|
|
305
|
+
def clear_propagated_nexus_serialization_context: () -> void
|
|
306
|
+
|
|
302
307
|
type init_map = {
|
|
303
308
|
workflow_type: (::Temporalio::Api::Common::V1::WorkflowType | ::Temporalio::Api::Common::V1::WorkflowType::init_map)?,
|
|
304
309
|
"workflow_type" => (::Temporalio::Api::Common::V1::WorkflowType | ::Temporalio::Api::Common::V1::WorkflowType::init_map)?,
|
|
@@ -382,6 +387,8 @@ module Temporalio
|
|
|
382
387
|
"time_skipping_config" => (::Temporalio::Api::Common::V1::TimeSkippingConfig | ::Temporalio::Api::Common::V1::TimeSkippingConfig::init_map)?,
|
|
383
388
|
time_skipping_state_propagation: (::Temporalio::Api::Common::V1::TimeSkippingStatePropagation | ::Temporalio::Api::Common::V1::TimeSkippingStatePropagation::init_map)?,
|
|
384
389
|
"time_skipping_state_propagation" => (::Temporalio::Api::Common::V1::TimeSkippingStatePropagation | ::Temporalio::Api::Common::V1::TimeSkippingStatePropagation::init_map)?,
|
|
390
|
+
propagated_nexus_serialization_context: (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
|
|
391
|
+
"propagated_nexus_serialization_context" => (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
|
|
385
392
|
}
|
|
386
393
|
|
|
387
394
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -428,6 +435,7 @@ module Temporalio
|
|
|
428
435
|
| ("declined_target_version_upgrade" name) -> ::Temporalio::Api::History::V1::DeclinedTargetVersionUpgrade?
|
|
429
436
|
| ("time_skipping_config" name) -> ::Temporalio::Api::Common::V1::TimeSkippingConfig?
|
|
430
437
|
| ("time_skipping_state_propagation" name) -> ::Temporalio::Api::Common::V1::TimeSkippingStatePropagation?
|
|
438
|
+
| ("propagated_nexus_serialization_context" name) -> ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
|
|
431
439
|
|
|
432
440
|
def []=:
|
|
433
441
|
("workflow_type" name, ::Temporalio::Api::Common::V1::WorkflowType? value) -> void
|
|
@@ -471,6 +479,7 @@ module Temporalio
|
|
|
471
479
|
| ("declined_target_version_upgrade" name, ::Temporalio::Api::History::V1::DeclinedTargetVersionUpgrade? value) -> void
|
|
472
480
|
| ("time_skipping_config" name, ::Temporalio::Api::Common::V1::TimeSkippingConfig? value) -> void
|
|
473
481
|
| ("time_skipping_state_propagation" name, ::Temporalio::Api::Common::V1::TimeSkippingStatePropagation? value) -> void
|
|
482
|
+
| ("propagated_nexus_serialization_context" name, ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext? value) -> void
|
|
474
483
|
end
|
|
475
484
|
|
|
476
485
|
# Wrapper for a target deployment version that the SDK declined to upgrade to.
|
|
@@ -1549,6 +1558,12 @@ module Temporalio
|
|
|
1549
1558
|
def has_worker_version?: () -> bool
|
|
1550
1559
|
def clear_worker_version: () -> void
|
|
1551
1560
|
|
|
1561
|
+
# Why did the task fail? When unset, the failure is treated as an unspecified activity failure.
|
|
1562
|
+
attr_reader cause(): ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Integer
|
|
1563
|
+
attr_writer cause(): ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::strings | ::Integer | ::Float
|
|
1564
|
+
attr_reader cause_const(): ::Integer
|
|
1565
|
+
def clear_cause: () -> void
|
|
1566
|
+
|
|
1552
1567
|
type init_map = {
|
|
1553
1568
|
failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
1554
1569
|
"failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
|
|
@@ -1562,6 +1577,8 @@ module Temporalio
|
|
|
1562
1577
|
"retry_state" => (::Temporalio::Api::Enums::V1::RetryState::names | ::Temporalio::Api::Enums::V1::RetryState::strings | ::Integer | ::Float)?,
|
|
1563
1578
|
worker_version: (::Temporalio::Api::Common::V1::WorkerVersionStamp | ::Temporalio::Api::Common::V1::WorkerVersionStamp::init_map)?,
|
|
1564
1579
|
"worker_version" => (::Temporalio::Api::Common::V1::WorkerVersionStamp | ::Temporalio::Api::Common::V1::WorkerVersionStamp::init_map)?,
|
|
1580
|
+
cause: (::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::strings | ::Integer | ::Float)?,
|
|
1581
|
+
"cause" => (::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::strings | ::Integer | ::Float)?,
|
|
1565
1582
|
}
|
|
1566
1583
|
|
|
1567
1584
|
def initialize: (?init_map initial_value) -> void
|
|
@@ -1573,6 +1590,7 @@ module Temporalio
|
|
|
1573
1590
|
| ("identity" name) -> ::String
|
|
1574
1591
|
| ("retry_state" name) -> (::Temporalio::Api::Enums::V1::RetryState::names | ::Integer)
|
|
1575
1592
|
| ("worker_version" name) -> ::Temporalio::Api::Common::V1::WorkerVersionStamp?
|
|
1593
|
+
| ("cause" name) -> (::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Integer)
|
|
1576
1594
|
|
|
1577
1595
|
def []=:
|
|
1578
1596
|
("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
|
|
@@ -1581,6 +1599,7 @@ module Temporalio
|
|
|
1581
1599
|
| ("identity" name, (::String | ::Symbol) value) -> void
|
|
1582
1600
|
| ("retry_state" name, (::Temporalio::Api::Enums::V1::RetryState::names | ::Temporalio::Api::Enums::V1::RetryState::strings | ::Integer | ::Float) value) -> void
|
|
1583
1601
|
| ("worker_version" name, ::Temporalio::Api::Common::V1::WorkerVersionStamp? value) -> void
|
|
1602
|
+
| ("cause" name, (::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::strings | ::Integer | ::Float) value) -> void
|
|
1584
1603
|
end
|
|
1585
1604
|
|
|
1586
1605
|
class ActivityTaskTimedOutEventAttributes < ::Google::Protobuf::AbstractMessage
|
|
@@ -9,6 +9,43 @@ module Temporalio
|
|
|
9
9
|
module Api
|
|
10
10
|
module Nexus
|
|
11
11
|
module V1
|
|
12
|
+
# PropagatedSerializationContext represents the context of the Nexus caller that started this execution.
|
|
13
|
+
class PropagatedSerializationContext < ::Google::Protobuf::AbstractMessage
|
|
14
|
+
|
|
15
|
+
attr_reader endpoint(): ::String
|
|
16
|
+
attr_writer endpoint(): ::String | ::Symbol
|
|
17
|
+
def clear_endpoint: () -> void
|
|
18
|
+
|
|
19
|
+
attr_reader service(): ::String
|
|
20
|
+
attr_writer service(): ::String | ::Symbol
|
|
21
|
+
def clear_service: () -> void
|
|
22
|
+
|
|
23
|
+
attr_reader operation(): ::String
|
|
24
|
+
attr_writer operation(): ::String | ::Symbol
|
|
25
|
+
def clear_operation: () -> void
|
|
26
|
+
|
|
27
|
+
type init_map = {
|
|
28
|
+
endpoint: (::String | ::Symbol)?,
|
|
29
|
+
"endpoint" => (::String | ::Symbol)?,
|
|
30
|
+
service: (::String | ::Symbol)?,
|
|
31
|
+
"service" => (::String | ::Symbol)?,
|
|
32
|
+
operation: (::String | ::Symbol)?,
|
|
33
|
+
"operation" => (::String | ::Symbol)?,
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
def initialize: (?init_map initial_value) -> void
|
|
37
|
+
|
|
38
|
+
def []:
|
|
39
|
+
("endpoint" name) -> ::String
|
|
40
|
+
| ("service" name) -> ::String
|
|
41
|
+
| ("operation" name) -> ::String
|
|
42
|
+
|
|
43
|
+
def []=:
|
|
44
|
+
("endpoint" name, (::String | ::Symbol) value) -> void
|
|
45
|
+
| ("service" name, (::String | ::Symbol) value) -> void
|
|
46
|
+
| ("operation" name, (::String | ::Symbol) value) -> void
|
|
47
|
+
end
|
|
48
|
+
|
|
12
49
|
# A general purpose failure message.
|
|
13
50
|
# See: https://github.com/nexus-rpc/api/blob/main/SPEC.md#failure
|
|
14
51
|
class Failure < ::Google::Protobuf::AbstractMessage
|