temporalio 1.10.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +763 -768
  3. data/Gemfile +3 -2
  4. data/ext/Cargo.toml +3 -3
  5. data/lib/temporalio/api/activity/v1/message.rb +1 -1
  6. data/lib/temporalio/api/common/v1/message.rb +2 -1
  7. data/lib/temporalio/api/schedule/v1/message.rb +1 -1
  8. data/lib/temporalio/api/taskqueue/v1/message.rb +2 -1
  9. data/lib/temporalio/api/worker/v1/message.rb +1 -1
  10. data/lib/temporalio/api/workflowservice/v1/request_response.rb +1 -1
  11. data/lib/temporalio/client/connection.rb +4 -4
  12. data/lib/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rb +52 -0
  13. data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver.rb +211 -0
  14. data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rb +56 -0
  15. data/lib/temporalio/contrib/aws/s3_driver.rb +22 -0
  16. data/lib/temporalio/contrib/open_telemetry.rb +1 -1
  17. data/lib/temporalio/converters/external_storage_concurrency.rb +4 -6
  18. data/lib/temporalio/converters/payload_converter/binary_protobuf.rb +1 -1
  19. data/lib/temporalio/converters/payload_converter/json_protobuf.rb +1 -1
  20. data/lib/temporalio/converters/storage_driver_limiter.rb +6 -8
  21. data/lib/temporalio/converters/storage_driver_retrieve_context.rb +1 -2
  22. data/lib/temporalio/converters/storage_driver_store_context.rb +1 -2
  23. data/lib/temporalio/env_config.rb +89 -8
  24. data/lib/temporalio/internal/bridge/api/activity_result/activity_result.rb +2 -2
  25. data/lib/temporalio/internal/bridge/api/activity_task/activity_task.rb +3 -1
  26. data/lib/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rb +2 -1
  27. data/lib/temporalio/internal/bridge/testing.rb +4 -2
  28. data/lib/temporalio/internal/worker/workflow_instance/child_workflow_handle.rb +2 -2
  29. data/lib/temporalio/internal/worker/workflow_instance/context.rb +35 -24
  30. data/lib/temporalio/internal/worker/workflow_instance/external_workflow_handle.rb +6 -4
  31. data/lib/temporalio/internal/worker/workflow_instance/nexus_client.rb +3 -2
  32. data/lib/temporalio/internal/worker/workflow_instance/outbound_implementation.rb +52 -19
  33. data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +8 -2
  34. data/lib/temporalio/internal/worker/workflow_instance.rb +47 -26
  35. data/lib/temporalio/internal/worker/workflow_worker.rb +1 -2
  36. data/lib/temporalio/search_attributes.rb +4 -2
  37. data/lib/temporalio/testing/workflow_environment.rb +10 -2
  38. data/lib/temporalio/version.rb +1 -1
  39. data/lib/temporalio/worker/interceptor.rb +16 -8
  40. data/lib/temporalio/worker/workflow_replayer.rb +1 -1
  41. data/lib/temporalio/worker.rb +19 -12
  42. data/lib/temporalio/workflow/child_workflow_handle.rb +4 -1
  43. data/lib/temporalio/workflow/event_group.rb +157 -0
  44. data/lib/temporalio/workflow/external_workflow_handle.rb +9 -2
  45. data/lib/temporalio/workflow/future.rb +1 -1
  46. data/lib/temporalio/workflow/info.rb +4 -0
  47. data/lib/temporalio/workflow/nexus_client.rb +11 -3
  48. data/lib/temporalio/workflow.rb +114 -22
  49. data/rbi/temporalio/api/activity/v1/message.rbi +71 -2
  50. data/rbi/temporalio/api/common/v1/message.rbi +95 -0
  51. data/rbi/temporalio/api/schedule/v1/message.rbi +44 -4
  52. data/rbi/temporalio/api/taskqueue/v1/message.rbi +67 -0
  53. data/rbi/temporalio/api/worker/v1/message.rbi +22 -2
  54. data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +126 -12
  55. data/rbi/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rbi +8 -0
  56. data/rbi/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbi +27 -0
  57. data/rbi/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rbi +17 -0
  58. data/rbi/temporalio/contrib/aws/s3_driver.rbi +5 -0
  59. data/rbi/temporalio/env_config.rbi +39 -4
  60. data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +0 -19
  61. data/rbi/temporalio/internal/bridge/api/activity_task/activity_task.rbi +213 -2
  62. data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +50 -4
  63. data/rbi/temporalio/internal/bridge/testing.rbi +17 -4
  64. data/rbi/temporalio/internal/bridge/worker.rbi +4 -4
  65. data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +33 -24
  66. data/rbi/temporalio/internal/worker/workflow_instance/nexus_client.rbi +4 -2
  67. data/rbi/temporalio/internal/worker/workflow_instance/outbound_implementation.rbi +17 -6
  68. data/rbi/temporalio/internal/worker/workflow_instance/scheduler.rbi +1 -1
  69. data/rbi/temporalio/internal/worker/workflow_instance.rbi +5 -2
  70. data/rbi/temporalio/testing/workflow_environment.rbi +4 -0
  71. data/rbi/temporalio/worker/interceptor.rbi +24 -0
  72. data/rbi/temporalio/worker.rbi +8 -8
  73. data/rbi/temporalio/workflow/child_workflow_handle.rbi +3 -2
  74. data/rbi/temporalio/workflow/event_group.rbi +104 -0
  75. data/rbi/temporalio/workflow/external_workflow_handle.rbi +5 -4
  76. data/rbi/temporalio/workflow/info.rbi +3 -0
  77. data/rbi/temporalio/workflow/nexus_client.rbi +8 -4
  78. data/rbi/temporalio/workflow.rbi +70 -21
  79. data/sig/temporalio/api/activity/v1/message.rbs +31 -0
  80. data/sig/temporalio/api/common/v1/message.rbs +35 -0
  81. data/sig/temporalio/api/schedule/v1/message.rbs +20 -0
  82. data/sig/temporalio/api/taskqueue/v1/message.rbs +24 -0
  83. data/sig/temporalio/api/worker/v1/message.rbs +10 -0
  84. data/sig/temporalio/api/workflowservice/v1/request_response.rbs +58 -0
  85. data/sig/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rbs +13 -0
  86. data/sig/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbs +68 -0
  87. data/sig/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rbs +14 -0
  88. data/sig/temporalio/contrib/aws/s3_driver.rbs +8 -0
  89. data/sig/temporalio/env_config.rbs +20 -2
  90. data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +6 -41
  91. data/sig/temporalio/internal/bridge/api/activity_task/activity_task.rbs +99 -0
  92. data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +22 -0
  93. data/sig/temporalio/internal/bridge/testing.rbs +7 -3
  94. data/sig/temporalio/internal/bridge/worker.rbs +4 -4
  95. data/sig/temporalio/internal/worker/workflow_instance/context.rbs +19 -13
  96. data/sig/temporalio/internal/worker/workflow_instance/nexus_client.rbs +2 -1
  97. data/sig/temporalio/internal/worker/workflow_instance/outbound_implementation.rbs +8 -5
  98. data/sig/temporalio/internal/worker/workflow_instance/scheduler.rbs +1 -1
  99. data/sig/temporalio/internal/worker/workflow_instance.rbs +2 -1
  100. data/sig/temporalio/testing/workflow_environment.rbs +8 -4
  101. data/sig/temporalio/worker/interceptor.rbs +24 -8
  102. data/sig/temporalio/worker.rbs +12 -12
  103. data/sig/temporalio/workflow/child_workflow_handle.rbs +2 -1
  104. data/sig/temporalio/workflow/event_group.rbs +37 -0
  105. data/sig/temporalio/workflow/external_workflow_handle.rbs +3 -2
  106. data/sig/temporalio/workflow/info.rbs +2 -0
  107. data/sig/temporalio/workflow/nexus_client.rbs +4 -2
  108. data/sig/temporalio/workflow.rbs +27 -11
  109. metadata +16 -1
@@ -738,6 +738,12 @@ module Temporalio
738
738
  attr_writer unpause(): ::String | ::Symbol
739
739
  def clear_unpause: () -> void
740
740
 
741
+ # If set, applies the specified time-skipping configuration to this schedule,
742
+ # replacing any existing time-skipping configuration.
743
+ attr_accessor time_skipping_config(): ::Temporalio::Api::Common::V1::TimeSkippingConfig?
744
+ def has_time_skipping_config?: () -> bool
745
+ def clear_time_skipping_config: () -> void
746
+
741
747
  type init_map = {
742
748
  trigger_immediately: (::Temporalio::Api::Schedule::V1::TriggerImmediatelyRequest | ::Temporalio::Api::Schedule::V1::TriggerImmediatelyRequest::init_map)?,
743
749
  "trigger_immediately" => (::Temporalio::Api::Schedule::V1::TriggerImmediatelyRequest | ::Temporalio::Api::Schedule::V1::TriggerImmediatelyRequest::init_map)?,
@@ -747,6 +753,8 @@ module Temporalio
747
753
  "pause" => (::String | ::Symbol)?,
748
754
  unpause: (::String | ::Symbol)?,
749
755
  "unpause" => (::String | ::Symbol)?,
756
+ time_skipping_config: (::Temporalio::Api::Common::V1::TimeSkippingConfig | ::Temporalio::Api::Common::V1::TimeSkippingConfig::init_map)?,
757
+ "time_skipping_config" => (::Temporalio::Api::Common::V1::TimeSkippingConfig | ::Temporalio::Api::Common::V1::TimeSkippingConfig::init_map)?,
750
758
  }
751
759
 
752
760
  def initialize: (?init_map initial_value) -> void
@@ -756,12 +764,14 @@ module Temporalio
756
764
  | ("backfill_request" name) -> ::Google::Protobuf::RepeatedField
757
765
  | ("pause" name) -> ::String
758
766
  | ("unpause" name) -> ::String
767
+ | ("time_skipping_config" name) -> ::Temporalio::Api::Common::V1::TimeSkippingConfig?
759
768
 
760
769
  def []=:
761
770
  ("trigger_immediately" name, ::Temporalio::Api::Schedule::V1::TriggerImmediatelyRequest? value) -> void
762
771
  | ("backfill_request" name, ::Google::Protobuf::RepeatedField value) -> void
763
772
  | ("pause" name, (::String | ::Symbol) value) -> void
764
773
  | ("unpause" name, (::String | ::Symbol) value) -> void
774
+ | ("time_skipping_config" name, ::Temporalio::Api::Common::V1::TimeSkippingConfig? value) -> void
765
775
  end
766
776
 
767
777
  class ScheduleInfo < ::Google::Protobuf::AbstractMessage
@@ -831,6 +841,12 @@ module Temporalio
831
841
  attr_writer state_size_bytes(): ::Integer | ::Float
832
842
  def clear_state_size_bytes: () -> void
833
843
 
844
+ # Information about time skipping for this schedule.
845
+ # If the schedule has never enabled time skipping, this will be unset.
846
+ attr_accessor time_skipping_info(): ::Temporalio::Api::Common::V1::TimeSkippingInfo?
847
+ def has_time_skipping_info?: () -> bool
848
+ def clear_time_skipping_info: () -> void
849
+
834
850
  type init_map = {
835
851
  action_count: (::Integer | ::Float)?,
836
852
  "action_count" => (::Integer | ::Float)?,
@@ -856,6 +872,8 @@ module Temporalio
856
872
  "invalid_schedule_error" => (::String | ::Symbol)?,
857
873
  state_size_bytes: (::Integer | ::Float)?,
858
874
  "state_size_bytes" => (::Integer | ::Float)?,
875
+ time_skipping_info: (::Temporalio::Api::Common::V1::TimeSkippingInfo | ::Temporalio::Api::Common::V1::TimeSkippingInfo::init_map)?,
876
+ "time_skipping_info" => (::Temporalio::Api::Common::V1::TimeSkippingInfo | ::Temporalio::Api::Common::V1::TimeSkippingInfo::init_map)?,
859
877
  }
860
878
 
861
879
  def initialize: (?init_map initial_value) -> void
@@ -873,6 +891,7 @@ module Temporalio
873
891
  | ("update_time" name) -> ::Google::Protobuf::Timestamp?
874
892
  | ("invalid_schedule_error" name) -> ::String
875
893
  | ("state_size_bytes" name) -> ::Integer
894
+ | ("time_skipping_info" name) -> ::Temporalio::Api::Common::V1::TimeSkippingInfo?
876
895
 
877
896
  def []=:
878
897
  ("action_count" name, (::Integer | ::Float) value) -> void
@@ -887,6 +906,7 @@ module Temporalio
887
906
  | ("update_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
888
907
  | ("invalid_schedule_error" name, (::String | ::Symbol) value) -> void
889
908
  | ("state_size_bytes" name, (::Integer | ::Float) value) -> void
909
+ | ("time_skipping_info" name, ::Temporalio::Api::Common::V1::TimeSkippingInfo? value) -> void
890
910
  end
891
911
 
892
912
  class Schedule < ::Google::Protobuf::AbstractMessage
@@ -74,6 +74,30 @@ module Temporalio
74
74
  ("max_tasks_per_second" name, ::Google::Protobuf::DoubleValue? value) -> void
75
75
  end
76
76
 
77
+ # Worker-reported state about the poller pool issuing a poll, used by the server to spread
78
+ # poller scaling suggestions across a fleet.
79
+ class PollerPoolInfo < ::Google::Protobuf::AbstractMessage
80
+
81
+ # Number of concurrent poll requests this worker is currently targeting for this task
82
+ # queue and task type. 0 if unknown, such as a poller pool of fixed size.
83
+ attr_reader target_pollers(): ::Integer
84
+ attr_writer target_pollers(): ::Integer | ::Float
85
+ def clear_target_pollers: () -> void
86
+
87
+ type init_map = {
88
+ target_pollers: (::Integer | ::Float)?,
89
+ "target_pollers" => (::Integer | ::Float)?,
90
+ }
91
+
92
+ def initialize: (?init_map initial_value) -> void
93
+
94
+ def []:
95
+ ("target_pollers" name) -> ::Integer
96
+
97
+ def []=:
98
+ ("target_pollers" name, (::Integer | ::Float) value) -> void
99
+ end
100
+
77
101
  class TaskQueueVersioningInfo < ::Google::Protobuf::AbstractMessage
78
102
 
79
103
  # Specifies which Deployment Version should receive new workflow executions and tasks of
@@ -25,6 +25,12 @@ module Temporalio
25
25
  attr_accessor is_autoscaling(): bool
26
26
  def clear_is_autoscaling: () -> void
27
27
 
28
+ # Number of concurrent poll requests this poller pool is currently targeting, which may
29
+ # differ from current_pollers. 0 if unknown, such as a poller pool of fixed size.
30
+ attr_reader target_pollers(): ::Integer
31
+ attr_writer target_pollers(): ::Integer | ::Float
32
+ def clear_target_pollers: () -> void
33
+
28
34
  type init_map = {
29
35
  current_pollers: (::Integer | ::Float)?,
30
36
  "current_pollers" => (::Integer | ::Float)?,
@@ -32,6 +38,8 @@ module Temporalio
32
38
  "last_successful_poll_time" => (::Google::Protobuf::Timestamp | ::Google::Protobuf::Timestamp)?,
33
39
  is_autoscaling: bool?,
34
40
  "is_autoscaling" => bool?,
41
+ target_pollers: (::Integer | ::Float)?,
42
+ "target_pollers" => (::Integer | ::Float)?,
35
43
  }
36
44
 
37
45
  def initialize: (?init_map initial_value) -> void
@@ -40,11 +48,13 @@ module Temporalio
40
48
  ("current_pollers" name) -> ::Integer
41
49
  | ("last_successful_poll_time" name) -> ::Google::Protobuf::Timestamp?
42
50
  | ("is_autoscaling" name) -> bool
51
+ | ("target_pollers" name) -> ::Integer
43
52
 
44
53
  def []=:
45
54
  ("current_pollers" name, (::Integer | ::Float) value) -> void
46
55
  | ("last_successful_poll_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
47
56
  | ("is_autoscaling" name, bool value) -> void
57
+ | ("target_pollers" name, (::Integer | ::Float) value) -> void
48
58
  end
49
59
 
50
60
  class WorkerSlotsInfo < ::Google::Protobuf::AbstractMessage
@@ -644,6 +644,13 @@ module Temporalio
644
644
  def has_propagated_nexus_serialization_context?: () -> bool
645
645
  def clear_propagated_nexus_serialization_context: () -> void
646
646
 
647
+ # Time-skipping state propagated by the execution that started this workflow.
648
+ # This field is intended for use by the Temporal server, for example when a schedule
649
+ # starts a workflow, and is not intended to be set by external clients.
650
+ attr_accessor time_skipping_state_propagation(): ::Temporalio::Api::Common::V1::TimeSkippingStatePropagation?
651
+ def has_time_skipping_state_propagation?: () -> bool
652
+ def clear_time_skipping_state_propagation: () -> void
653
+
647
654
  type init_map = {
648
655
  namespace: (::String | ::Symbol)?,
649
656
  "namespace" => (::String | ::Symbol)?,
@@ -705,6 +712,8 @@ module Temporalio
705
712
  "time_skipping_config" => (::Temporalio::Api::Common::V1::TimeSkippingConfig | ::Temporalio::Api::Common::V1::TimeSkippingConfig::init_map)?,
706
713
  propagated_nexus_serialization_context: (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
707
714
  "propagated_nexus_serialization_context" => (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
715
+ time_skipping_state_propagation: (::Temporalio::Api::Common::V1::TimeSkippingStatePropagation | ::Temporalio::Api::Common::V1::TimeSkippingStatePropagation::init_map)?,
716
+ "time_skipping_state_propagation" => (::Temporalio::Api::Common::V1::TimeSkippingStatePropagation | ::Temporalio::Api::Common::V1::TimeSkippingStatePropagation::init_map)?,
708
717
  }
709
718
 
710
719
  def initialize: (?init_map initial_value) -> void
@@ -740,6 +749,7 @@ module Temporalio
740
749
  | ("eager_worker_deployment_options" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions?
741
750
  | ("time_skipping_config" name) -> ::Temporalio::Api::Common::V1::TimeSkippingConfig?
742
751
  | ("propagated_nexus_serialization_context" name) -> ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
752
+ | ("time_skipping_state_propagation" name) -> ::Temporalio::Api::Common::V1::TimeSkippingStatePropagation?
743
753
 
744
754
  def []=:
745
755
  ("namespace" name, (::String | ::Symbol) value) -> void
@@ -772,6 +782,7 @@ module Temporalio
772
782
  | ("eager_worker_deployment_options" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? value) -> void
773
783
  | ("time_skipping_config" name, ::Temporalio::Api::Common::V1::TimeSkippingConfig? value) -> void
774
784
  | ("propagated_nexus_serialization_context" name, ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext? value) -> void
785
+ | ("time_skipping_state_propagation" name, ::Temporalio::Api::Common::V1::TimeSkippingStatePropagation? value) -> void
775
786
  end
776
787
 
777
788
  class StartWorkflowExecutionResponse < ::Google::Protobuf::AbstractMessage
@@ -1097,6 +1108,12 @@ module Temporalio
1097
1108
  def has_deployment_options?: () -> bool
1098
1109
  def clear_deployment_options: () -> void
1099
1110
 
1111
+ # Worker-reported poller pool state, used to spread poller scaling suggestions across
1112
+ # a fleet. Optional.
1113
+ attr_accessor poller_pool_info(): ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo?
1114
+ def has_poller_pool_info?: () -> bool
1115
+ def clear_poller_pool_info: () -> void
1116
+
1100
1117
  type init_map = {
1101
1118
  namespace: (::String | ::Symbol)?,
1102
1119
  "namespace" => (::String | ::Symbol)?,
@@ -1116,6 +1133,8 @@ module Temporalio
1116
1133
  "worker_version_capabilities" => (::Temporalio::Api::Common::V1::WorkerVersionCapabilities | ::Temporalio::Api::Common::V1::WorkerVersionCapabilities::init_map)?,
1117
1134
  deployment_options: (::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions | ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions::init_map)?,
1118
1135
  "deployment_options" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions | ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions::init_map)?,
1136
+ poller_pool_info: (::Temporalio::Api::TaskQueue::V1::PollerPoolInfo | ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo::init_map)?,
1137
+ "poller_pool_info" => (::Temporalio::Api::TaskQueue::V1::PollerPoolInfo | ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo::init_map)?,
1119
1138
  }
1120
1139
 
1121
1140
  def initialize: (?init_map initial_value) -> void
@@ -1130,6 +1149,7 @@ module Temporalio
1130
1149
  | ("binary_checksum" name) -> ::String
1131
1150
  | ("worker_version_capabilities" name) -> ::Temporalio::Api::Common::V1::WorkerVersionCapabilities?
1132
1151
  | ("deployment_options" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions?
1152
+ | ("poller_pool_info" name) -> ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo?
1133
1153
 
1134
1154
  def []=:
1135
1155
  ("namespace" name, (::String | ::Symbol) value) -> void
@@ -1141,6 +1161,7 @@ module Temporalio
1141
1161
  | ("binary_checksum" name, (::String | ::Symbol) value) -> void
1142
1162
  | ("worker_version_capabilities" name, ::Temporalio::Api::Common::V1::WorkerVersionCapabilities? value) -> void
1143
1163
  | ("deployment_options" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? value) -> void
1164
+ | ("poller_pool_info" name, ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo? value) -> void
1144
1165
  end
1145
1166
 
1146
1167
  class PollWorkflowTaskQueueResponse < ::Google::Protobuf::AbstractMessage
@@ -1824,6 +1845,12 @@ module Temporalio
1824
1845
  def has_deployment_options?: () -> bool
1825
1846
  def clear_deployment_options: () -> void
1826
1847
 
1848
+ # Worker-reported poller pool state, used to spread poller scaling suggestions across
1849
+ # a fleet. Optional.
1850
+ attr_accessor poller_pool_info(): ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo?
1851
+ def has_poller_pool_info?: () -> bool
1852
+ def clear_poller_pool_info: () -> void
1853
+
1827
1854
  type init_map = {
1828
1855
  namespace: (::String | ::Symbol)?,
1829
1856
  "namespace" => (::String | ::Symbol)?,
@@ -1843,6 +1870,8 @@ module Temporalio
1843
1870
  "worker_version_capabilities" => (::Temporalio::Api::Common::V1::WorkerVersionCapabilities | ::Temporalio::Api::Common::V1::WorkerVersionCapabilities::init_map)?,
1844
1871
  deployment_options: (::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions | ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions::init_map)?,
1845
1872
  "deployment_options" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions | ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions::init_map)?,
1873
+ poller_pool_info: (::Temporalio::Api::TaskQueue::V1::PollerPoolInfo | ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo::init_map)?,
1874
+ "poller_pool_info" => (::Temporalio::Api::TaskQueue::V1::PollerPoolInfo | ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo::init_map)?,
1846
1875
  }
1847
1876
 
1848
1877
  def initialize: (?init_map initial_value) -> void
@@ -1857,6 +1886,7 @@ module Temporalio
1857
1886
  | ("task_queue_metadata" name) -> ::Temporalio::Api::TaskQueue::V1::TaskQueueMetadata?
1858
1887
  | ("worker_version_capabilities" name) -> ::Temporalio::Api::Common::V1::WorkerVersionCapabilities?
1859
1888
  | ("deployment_options" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions?
1889
+ | ("poller_pool_info" name) -> ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo?
1860
1890
 
1861
1891
  def []=:
1862
1892
  ("namespace" name, (::String | ::Symbol) value) -> void
@@ -1868,6 +1898,7 @@ module Temporalio
1868
1898
  | ("task_queue_metadata" name, ::Temporalio::Api::TaskQueue::V1::TaskQueueMetadata? value) -> void
1869
1899
  | ("worker_version_capabilities" name, ::Temporalio::Api::Common::V1::WorkerVersionCapabilities? value) -> void
1870
1900
  | ("deployment_options" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? value) -> void
1901
+ | ("poller_pool_info" name, ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo? value) -> void
1871
1902
  end
1872
1903
 
1873
1904
  class PollActivityTaskQueueResponse < ::Google::Protobuf::AbstractMessage
@@ -6677,6 +6708,11 @@ module Temporalio
6677
6708
  def has_link?: () -> bool
6678
6709
  def clear_link: () -> void
6679
6710
 
6711
+ # Serialization context propagated from the Nexus caller that started this update.
6712
+ attr_accessor propagated_nexus_serialization_context(): ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
6713
+ def has_propagated_nexus_serialization_context?: () -> bool
6714
+ def clear_propagated_nexus_serialization_context: () -> void
6715
+
6680
6716
  type init_map = {
6681
6717
  update_ref: (::Temporalio::Api::Update::V1::UpdateRef | ::Temporalio::Api::Update::V1::UpdateRef::init_map)?,
6682
6718
  "update_ref" => (::Temporalio::Api::Update::V1::UpdateRef | ::Temporalio::Api::Update::V1::UpdateRef::init_map)?,
@@ -6686,6 +6722,8 @@ module Temporalio
6686
6722
  "stage" => (::Temporalio::Api::Enums::V1::UpdateWorkflowExecutionLifecycleStage::names | ::Temporalio::Api::Enums::V1::UpdateWorkflowExecutionLifecycleStage::strings | ::Integer | ::Float)?,
6687
6723
  link: (::Temporalio::Api::Common::V1::Link | ::Temporalio::Api::Common::V1::Link::init_map)?,
6688
6724
  "link" => (::Temporalio::Api::Common::V1::Link | ::Temporalio::Api::Common::V1::Link::init_map)?,
6725
+ propagated_nexus_serialization_context: (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
6726
+ "propagated_nexus_serialization_context" => (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
6689
6727
  }
6690
6728
 
6691
6729
  def initialize: (?init_map initial_value) -> void
@@ -6695,12 +6733,14 @@ module Temporalio
6695
6733
  | ("outcome" name) -> ::Temporalio::Api::Update::V1::Outcome?
6696
6734
  | ("stage" name) -> (::Temporalio::Api::Enums::V1::UpdateWorkflowExecutionLifecycleStage::names | ::Integer)
6697
6735
  | ("link" name) -> ::Temporalio::Api::Common::V1::Link?
6736
+ | ("propagated_nexus_serialization_context" name) -> ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
6698
6737
 
6699
6738
  def []=:
6700
6739
  ("update_ref" name, ::Temporalio::Api::Update::V1::UpdateRef? value) -> void
6701
6740
  | ("outcome" name, ::Temporalio::Api::Update::V1::Outcome? value) -> void
6702
6741
  | ("stage" name, (::Temporalio::Api::Enums::V1::UpdateWorkflowExecutionLifecycleStage::names | ::Temporalio::Api::Enums::V1::UpdateWorkflowExecutionLifecycleStage::strings | ::Integer | ::Float) value) -> void
6703
6742
  | ("link" name, ::Temporalio::Api::Common::V1::Link? value) -> void
6743
+ | ("propagated_nexus_serialization_context" name, ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext? value) -> void
6704
6744
  end
6705
6745
 
6706
6746
  class StartBatchOperationRequest < ::Google::Protobuf::AbstractMessage
@@ -7250,6 +7290,11 @@ module Temporalio
7250
7290
  def has_update_ref?: () -> bool
7251
7291
  def clear_update_ref: () -> void
7252
7292
 
7293
+ # Serialization context propagated from the Nexus caller that started this update.
7294
+ attr_accessor propagated_nexus_serialization_context(): ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
7295
+ def has_propagated_nexus_serialization_context?: () -> bool
7296
+ def clear_propagated_nexus_serialization_context: () -> void
7297
+
7253
7298
  type init_map = {
7254
7299
  outcome: (::Temporalio::Api::Update::V1::Outcome | ::Temporalio::Api::Update::V1::Outcome::init_map)?,
7255
7300
  "outcome" => (::Temporalio::Api::Update::V1::Outcome | ::Temporalio::Api::Update::V1::Outcome::init_map)?,
@@ -7257,6 +7302,8 @@ module Temporalio
7257
7302
  "stage" => (::Temporalio::Api::Enums::V1::UpdateWorkflowExecutionLifecycleStage::names | ::Temporalio::Api::Enums::V1::UpdateWorkflowExecutionLifecycleStage::strings | ::Integer | ::Float)?,
7258
7303
  update_ref: (::Temporalio::Api::Update::V1::UpdateRef | ::Temporalio::Api::Update::V1::UpdateRef::init_map)?,
7259
7304
  "update_ref" => (::Temporalio::Api::Update::V1::UpdateRef | ::Temporalio::Api::Update::V1::UpdateRef::init_map)?,
7305
+ propagated_nexus_serialization_context: (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
7306
+ "propagated_nexus_serialization_context" => (::Temporalio::Api::Nexus::V1::PropagatedSerializationContext | ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext::init_map)?,
7260
7307
  }
7261
7308
 
7262
7309
  def initialize: (?init_map initial_value) -> void
@@ -7265,11 +7312,13 @@ module Temporalio
7265
7312
  ("outcome" name) -> ::Temporalio::Api::Update::V1::Outcome?
7266
7313
  | ("stage" name) -> (::Temporalio::Api::Enums::V1::UpdateWorkflowExecutionLifecycleStage::names | ::Integer)
7267
7314
  | ("update_ref" name) -> ::Temporalio::Api::Update::V1::UpdateRef?
7315
+ | ("propagated_nexus_serialization_context" name) -> ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext?
7268
7316
 
7269
7317
  def []=:
7270
7318
  ("outcome" name, ::Temporalio::Api::Update::V1::Outcome? value) -> void
7271
7319
  | ("stage" name, (::Temporalio::Api::Enums::V1::UpdateWorkflowExecutionLifecycleStage::names | ::Temporalio::Api::Enums::V1::UpdateWorkflowExecutionLifecycleStage::strings | ::Integer | ::Float) value) -> void
7272
7320
  | ("update_ref" name, ::Temporalio::Api::Update::V1::UpdateRef? value) -> void
7321
+ | ("propagated_nexus_serialization_context" name, ::Temporalio::Api::Nexus::V1::PropagatedSerializationContext? value) -> void
7273
7322
  end
7274
7323
 
7275
7324
  class PollNexusTaskQueueRequest < ::Google::Protobuf::AbstractMessage
@@ -7318,6 +7367,11 @@ module Temporalio
7318
7367
  attr_accessor worker_heartbeat(): ::Google::Protobuf::RepeatedField
7319
7368
  def clear_worker_heartbeat: () -> void
7320
7369
 
7370
+ # Worker-reported poller pool state. Optional.
7371
+ attr_accessor poller_pool_info(): ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo?
7372
+ def has_poller_pool_info?: () -> bool
7373
+ def clear_poller_pool_info: () -> void
7374
+
7321
7375
  type init_map = {
7322
7376
  namespace: (::String | ::Symbol)?,
7323
7377
  "namespace" => (::String | ::Symbol)?,
@@ -7335,6 +7389,8 @@ module Temporalio
7335
7389
  "deployment_options" => (::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions | ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions::init_map)?,
7336
7390
  worker_heartbeat: ::Array[::Temporalio::Api::Worker::V1::WorkerHeartbeat]?,
7337
7391
  "worker_heartbeat" => ::Array[::Temporalio::Api::Worker::V1::WorkerHeartbeat]?,
7392
+ poller_pool_info: (::Temporalio::Api::TaskQueue::V1::PollerPoolInfo | ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo::init_map)?,
7393
+ "poller_pool_info" => (::Temporalio::Api::TaskQueue::V1::PollerPoolInfo | ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo::init_map)?,
7338
7394
  }
7339
7395
 
7340
7396
  def initialize: (?init_map initial_value) -> void
@@ -7348,6 +7404,7 @@ module Temporalio
7348
7404
  | ("worker_version_capabilities" name) -> ::Temporalio::Api::Common::V1::WorkerVersionCapabilities?
7349
7405
  | ("deployment_options" name) -> ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions?
7350
7406
  | ("worker_heartbeat" name) -> ::Google::Protobuf::RepeatedField
7407
+ | ("poller_pool_info" name) -> ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo?
7351
7408
 
7352
7409
  def []=:
7353
7410
  ("namespace" name, (::String | ::Symbol) value) -> void
@@ -7358,6 +7415,7 @@ module Temporalio
7358
7415
  | ("worker_version_capabilities" name, ::Temporalio::Api::Common::V1::WorkerVersionCapabilities? value) -> void
7359
7416
  | ("deployment_options" name, ::Temporalio::Api::Deployment::V1::WorkerDeploymentOptions? value) -> void
7360
7417
  | ("worker_heartbeat" name, ::Google::Protobuf::RepeatedField value) -> void
7418
+ | ("poller_pool_info" name, ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo? value) -> void
7361
7419
  end
7362
7420
 
7363
7421
  class PollNexusTaskQueueResponse < ::Google::Protobuf::AbstractMessage
@@ -0,0 +1,13 @@
1
+ module Temporalio
2
+ module Contrib
3
+ module Aws
4
+ module S3Driver
5
+ class AwsSdkS3StorageDriverClient < S3StorageDriverClient
6
+ @client: ::Aws::S3::Client
7
+
8
+ def initialize: (::Aws::S3::Client client) -> void
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,68 @@
1
+ module Temporalio
2
+ module Contrib
3
+ module Aws
4
+ module S3Driver
5
+ class S3StorageDriver < Converters::StorageDriver
6
+ type bucketSelector = ^(Converters::StorageDriverStoreContext, Api::Common::V1::Payload) -> String
7
+
8
+ DRIVER_TYPE: String
9
+ DEFAULT_MAX_PAYLOAD_SIZE: Integer
10
+ CLAIM_BUCKET: String
11
+ CLAIM_KEY: String
12
+ CLAIM_HASH_ALGORITHM: String
13
+ CLAIM_HASH_VALUE: String
14
+ NULL_SEGMENT: String
15
+
16
+ class StoredObject
17
+ attr_reader payload: Api::Common::V1::Payload
18
+ attr_reader bucket: String
19
+ attr_reader key: String
20
+ attr_reader hash_value: String
21
+ attr_reader data: String
22
+
23
+ def initialize: (
24
+ payload: Api::Common::V1::Payload,
25
+ bucket: String,
26
+ key: String,
27
+ hash_value: String,
28
+ data: String
29
+ ) -> void
30
+ end
31
+
32
+ @client: S3StorageDriverClient
33
+ @bucket: bucketSelector
34
+ @max_payload_size: Integer
35
+
36
+ attr_reader name: String
37
+
38
+ def initialize: (
39
+ client: S3StorageDriverClient,
40
+ bucket: String | bucketSelector,
41
+ ?driver_name: String,
42
+ ?max_payload_size: Integer
43
+ ) -> void
44
+
45
+ private
46
+
47
+ def stored_object: (
48
+ Converters::StorageDriverStoreContext context,
49
+ Api::Common::V1::Payload payload,
50
+ String context_segments
51
+ ) -> StoredObject
52
+ def upload_if_absent: (StoredObject object) -> void
53
+ def download: (String bucket, String key) -> String
54
+ def validate_claim: (Converters::StorageDriverClaim claim) -> void
55
+ def run_concurrently: [I, R] (
56
+ Array[I] items,
57
+ Cancellation parent_cancellation
58
+ ) { (I, Cancellation) -> R } -> Array[R]
59
+ def context_key_segments: (
60
+ (Converters::StorageDriverWorkflowInfo | Converters::StorageDriverActivityInfo)? target
61
+ ) -> String
62
+ def encode_key_segment: (String? value) -> String
63
+ def client_context: -> String
64
+ end
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,14 @@
1
+ module Temporalio
2
+ module Contrib
3
+ module Aws
4
+ module S3Driver
5
+ class S3StorageDriverClient
6
+ def put_object: (bucket: String, key: String, data: String) -> void
7
+ def object_exists?: (bucket: String, key: String) -> bool
8
+ def get_object: (bucket: String, key: String) -> String
9
+ def describe: -> Hash[String, String]
10
+ end
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,8 @@
1
+ module Temporalio
2
+ module Contrib
3
+ module Aws
4
+ module S3Driver
5
+ end
6
+ end
7
+ end
8
+ end
@@ -35,6 +35,7 @@ module Temporalio
35
35
  attr_reader api_key: String?
36
36
  attr_reader tls: ClientConfigTLS?
37
37
  attr_reader grpc_meta: Hash[String, String]
38
+ attr_reader ext: Hash[String, Hash[String, untyped]]
38
39
 
39
40
  def self.from_h: (Hash[untyped, untyped] hash) -> ClientConfigProfile
40
41
 
@@ -52,13 +53,27 @@ module Temporalio
52
53
  ?namespace: String?,
53
54
  ?api_key: String?,
54
55
  ?tls: ClientConfigTLS?,
55
- ?grpc_meta: Hash[String, String]
56
+ ?grpc_meta: Hash[String, String],
57
+ ?ext: Hash[String, Hash[String, untyped]]
56
58
  ) -> void
57
59
 
58
60
  def to_h: -> Hash[Symbol, untyped]
59
61
  def to_client_connect_options: -> [Array[untyped], Hash[Symbol, untyped]]
60
62
  end
61
63
 
64
+ module ClientConfigExtension
65
+ def name: -> String
66
+
67
+ def client_plugin: (ClientConfigExtensionRequest request) -> Client::Plugin?
68
+ end
69
+
70
+ class ClientConfigExtensionRequest
71
+ attr_reader profile: ClientConfigProfile
72
+ attr_reader env: Hash[String, String]?
73
+
74
+ def initialize: (profile: ClientConfigProfile, env: Hash[String, String]?) -> void
75
+ end
76
+
62
77
  class ClientConfig
63
78
  attr_reader profiles: Hash[String, ClientConfigProfile]
64
79
 
@@ -76,9 +91,12 @@ module Temporalio
76
91
  ?disable_file: bool,
77
92
  ?disable_env: bool,
78
93
  ?config_file_strict: bool,
79
- ?override_env_vars: Hash[String, String]?
94
+ ?override_env_vars: Hash[String, String]?,
95
+ ?extensions: Array[ClientConfigExtension]
80
96
  ) -> [Array[untyped], Hash[Symbol, untyped]]
81
97
 
98
+ def self._validate_extensions!: (Array[ClientConfigExtension] extensions) -> void
99
+
82
100
  def initialize: (?profiles: Hash[String, ClientConfigProfile]) -> void
83
101
  def to_h: -> Hash[String, Hash[Symbol, untyped]]
84
102
  end
@@ -139,27 +139,27 @@ module Temporalio
139
139
 
140
140
  # Only meaningful on ActivityExecutionResult (lang -> core); ignored on ActivityResolution,
141
141
  # which reuses this message.
142
- attr_reader cause(): ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Integer
143
- attr_writer cause(): ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::strings | ::Integer | ::Float
142
+ attr_reader cause(): ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Integer
143
+ attr_writer cause(): ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::strings | ::Integer | ::Float
144
144
  attr_reader cause_const(): ::Integer
145
145
  def clear_cause: () -> void
146
146
 
147
147
  type init_map = {
148
148
  failure: (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
149
149
  "failure" => (::Temporalio::Api::Failure::V1::Failure | ::Temporalio::Api::Failure::V1::Failure::init_map)?,
150
- cause: (::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::strings | ::Integer | ::Float)?,
151
- "cause" => (::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::strings | ::Integer | ::Float)?,
150
+ cause: (::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::strings | ::Integer | ::Float)?,
151
+ "cause" => (::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::strings | ::Integer | ::Float)?,
152
152
  }
153
153
 
154
154
  def initialize: (?init_map initial_value) -> void
155
155
 
156
156
  def []:
157
157
  ("failure" name) -> ::Temporalio::Api::Failure::V1::Failure?
158
- | ("cause" name) -> (::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Integer)
158
+ | ("cause" name) -> (::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Integer)
159
159
 
160
160
  def []=:
161
161
  ("failure" name, ::Temporalio::Api::Failure::V1::Failure? value) -> void
162
- | ("cause" name, (::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::names | ::Temporalio::Internal::Bridge::Api::ActivityResult::ActivityTaskFailedCause::strings | ::Integer | ::Float) value) -> void
162
+ | ("cause" name, (::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::names | ::Temporalio::Api::Enums::V1::ActivityTaskFailedCause::strings | ::Integer | ::Float) value) -> void
163
163
  end
164
164
 
165
165
  # Used to report cancellation from both Core and Lang.
@@ -243,41 +243,6 @@ module Temporalio
243
243
  | ("backoff_duration" name, ((::Google::Protobuf::Duration | ::int)?) value) -> void
244
244
  | ("original_schedule_time" name, ((::Google::Protobuf::Timestamp | ::Time)?) value) -> void
245
245
  end
246
-
247
- # A well-known condition that caused an activity task to fail. Lang reports one alongside the
248
- # failure so core can categorize activity failures instead of treating them all alike; it becomes
249
- # the `failure_reason` metric label, so the set of values is deliberately small and bounded.
250
- module ActivityTaskFailedCause
251
-
252
- ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED: 0
253
-
254
- # A payload-bearing field on a request the worker sent for this activity task exceeded the
255
- # per-field size limit configured on the server for the namespace.
256
- # Check the activity task failure message for more information.
257
- ACTIVITY_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE: 1
258
-
259
- # The worker failed to offload a payload to, or retrieve one from, external storage while
260
- # processing this activity task.
261
- # Check the activity task failure message for more information.
262
- ACTIVITY_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE: 2
263
-
264
- # The default cause for an activity task failure reported by a worker; a more specific cause
265
- # takes precedence whenever the condition is recognized.
266
- # Check the activity task failure message for more information.
267
- ACTIVITY_TASK_FAILED_CAUSE_ACTIVITY_WORKER_UNHANDLED_FAILURE: 3
268
-
269
- def self.lookup: (::Integer number) -> ::Symbol
270
-
271
-
272
- def self.resolve: (::Symbol name) -> ::Integer
273
-
274
-
275
- type names = :ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED | :ACTIVITY_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE | :ACTIVITY_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE | :ACTIVITY_TASK_FAILED_CAUSE_ACTIVITY_WORKER_UNHANDLED_FAILURE
276
-
277
- type strings = "ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED" | "ACTIVITY_TASK_FAILED_CAUSE_PAYLOADS_TOO_LARGE" | "ACTIVITY_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE" | "ACTIVITY_TASK_FAILED_CAUSE_ACTIVITY_WORKER_UNHANDLED_FAILURE"
278
-
279
- type numbers = 0 | 1 | 2 | 3
280
- end
281
246
  end
282
247
  end
283
248
  end