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.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +33 -11
  3. data/Cargo.toml +1 -0
  4. data/README.md +168 -11
  5. data/ext/Cargo.toml +3 -3
  6. data/lib/temporalio/api/cloud/account/v1/message.rb +2 -1
  7. data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +43 -1
  8. data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
  9. data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
  10. data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
  11. data/lib/temporalio/api/cloud/namespace/v1/message.rb +8 -1
  12. data/lib/temporalio/api/cloud/nexus/v1/message.rb +1 -1
  13. data/lib/temporalio/api/cloud/project/v1/message.rb +28 -0
  14. data/lib/temporalio/api/cloud/region/v1/message.rb +1 -1
  15. data/lib/temporalio/api/cloud/sink/v1/message.rb +2 -1
  16. data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
  17. data/lib/temporalio/api/enums/v1/namespace.rb +2 -1
  18. data/lib/temporalio/api/operatorservice/v1/request_response.rb +9 -1
  19. data/lib/temporalio/api/operatorservice/v1/service.rb +1 -1
  20. data/lib/temporalio/api/payload_visitor.rb +66 -0
  21. data/lib/temporalio/api/taskqueue/v1/message.rb +3 -1
  22. data/lib/temporalio/api/workflowservice/v1/request_response.rb +2 -1
  23. data/lib/temporalio/api/workflowservice/v1/service.rb +1 -1
  24. data/lib/temporalio/client/connection/cloud_service.rb +285 -0
  25. data/lib/temporalio/client/connection/operator_service.rb +45 -0
  26. data/lib/temporalio/client/schedule.rb +56 -8
  27. data/lib/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rb +0 -2
  28. data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver.rb +3 -5
  29. data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rb +0 -2
  30. data/lib/temporalio/contrib/aws/s3_driver.rb +0 -2
  31. data/lib/temporalio/converters/data_converter.rb +52 -1
  32. data/lib/temporalio/converters/external_storage.rb +6 -12
  33. data/lib/temporalio/converters/external_storage_concurrency.rb +4 -2
  34. data/lib/temporalio/converters/storage_driver.rb +3 -4
  35. data/lib/temporalio/converters/storage_driver_activity_info.rb +0 -2
  36. data/lib/temporalio/converters/storage_driver_claim.rb +0 -2
  37. data/lib/temporalio/converters/storage_driver_limiter.rb +16 -0
  38. data/lib/temporalio/converters/storage_driver_retrieve_context.rb +7 -6
  39. data/lib/temporalio/converters/storage_driver_select_context.rb +11 -5
  40. data/lib/temporalio/converters/storage_driver_store_context.rb +11 -7
  41. data/lib/temporalio/converters/storage_driver_workflow_info.rb +0 -2
  42. data/lib/temporalio/error.rb +10 -3
  43. data/lib/temporalio/internal/bridge/worker.rb +1 -0
  44. data/lib/temporalio/internal/client/described_schedule_action.rb +41 -0
  45. data/lib/temporalio/internal/client/implementation.rb +92 -48
  46. data/lib/temporalio/internal/external_storage_references.rb +5 -4
  47. data/lib/temporalio/internal/external_storage_runner.rb +177 -0
  48. data/lib/temporalio/internal/storage_operation_metrics.rb +76 -0
  49. data/lib/temporalio/internal/worker/activity_worker.rb +60 -24
  50. data/lib/temporalio/internal/worker/workflow_worker.rb +211 -15
  51. data/lib/temporalio/version.rb +1 -1
  52. data/lib/temporalio/worker/workflow_replayer.rb +5 -3
  53. data/lib/temporalio/worker.rb +4 -2
  54. data/rbi/temporalio/api/cloud/account/v1/message.rbi +84 -2
  55. data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +5006 -1157
  56. data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +171 -0
  57. data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +71 -16
  58. data/rbi/temporalio/api/cloud/identity/v1/message.rbi +789 -23
  59. data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +765 -15
  60. data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +19 -2
  61. data/rbi/temporalio/api/cloud/project/v1/message.rbi +334 -0
  62. data/rbi/temporalio/api/cloud/region/v1/message.rbi +1 -0
  63. data/rbi/temporalio/api/cloud/sink/v1/message.rbi +147 -0
  64. data/rbi/temporalio/api/common/v1/message.rbi +6 -0
  65. data/rbi/temporalio/api/enums/v1/failed_cause.rbi +2 -0
  66. data/rbi/temporalio/api/enums/v1/namespace.rbi +20 -0
  67. data/rbi/temporalio/api/history/v1/message.rbi +40 -18
  68. data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +480 -0
  69. data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +32 -0
  70. data/rbi/temporalio/api/payload_visitor.rbi +33 -0
  71. data/rbi/temporalio/api/schedule/v1/message.rbi +12 -6
  72. data/rbi/temporalio/api/taskqueue/v1/message.rbi +179 -13
  73. data/rbi/temporalio/api/worker/v1/message.rbi +6 -6
  74. data/rbi/temporalio/api/workflow/v1/message.rbi +12 -6
  75. data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +140 -41
  76. data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +3 -0
  77. data/rbi/temporalio/client/connection/cloud_service.rbi +57 -0
  78. data/rbi/temporalio/client/connection/operator_service.rbi +9 -0
  79. data/rbi/temporalio/converters/data_converter.rbi +43 -2
  80. data/rbi/temporalio/converters/external_storage.rbi +2 -7
  81. data/rbi/temporalio/converters/storage_driver_limiter.rbi +4 -0
  82. data/rbi/temporalio/converters/storage_driver_retrieve_context.rbi +1 -1
  83. data/rbi/temporalio/converters/storage_driver_select_context.rbi +6 -2
  84. data/rbi/temporalio/converters/storage_driver_store_context.rbi +6 -2
  85. data/rbi/temporalio/error.rbi +3 -1
  86. data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +6 -0
  87. data/rbi/temporalio/internal/bridge/worker.rbi +4 -2
  88. data/rbi/temporalio/internal/client/described_schedule_action.rbi +22 -0
  89. data/rbi/temporalio/internal/client/implementation.rbi +30 -0
  90. data/rbi/temporalio/internal/external_storage_runner.rbi +36 -0
  91. data/rbi/temporalio/internal/storage_operation_metrics.rbi +27 -0
  92. data/rbi/temporalio/internal/worker/activity_worker.rbi +24 -4
  93. data/rbi/temporalio/internal/worker/workflow_worker.rbi +61 -1
  94. data/rbi/temporalio/workflow.rbi +0 -12
  95. data/sig/temporalio/api/cloud/account/v1/message.rbs +30 -0
  96. data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +2122 -601
  97. data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +29 -4
  98. data/sig/temporalio/api/cloud/identity/v1/message.rbs +342 -1
  99. data/sig/temporalio/api/cloud/namespace/v1/message.rbs +341 -2
  100. data/sig/temporalio/api/cloud/nexus/v1/message.rbs +9 -0
  101. data/sig/temporalio/api/cloud/project/v1/message.rbs +164 -0
  102. data/sig/temporalio/api/cloud/region/v1/message.rbs +5 -3
  103. data/sig/temporalio/api/cloud/sink/v1/message.rbs +66 -0
  104. data/sig/temporalio/api/common/v1/message.rbs +6 -0
  105. data/sig/temporalio/api/enums/v1/event_type.rbs +1 -0
  106. data/sig/temporalio/api/enums/v1/failed_cause.rbs +9 -3
  107. data/sig/temporalio/api/enums/v1/namespace.rbs +30 -2
  108. data/sig/temporalio/api/enums/v1/time_skipping.rbs +1 -0
  109. data/sig/temporalio/api/history/v1/message.rbs +8 -0
  110. data/sig/temporalio/api/operatorservice/v1/request_response.rbs +188 -0
  111. data/sig/temporalio/api/payload_visitor.rbs +11 -0
  112. data/sig/temporalio/api/schedule/v1/message.rbs +2 -0
  113. data/sig/temporalio/api/taskqueue/v1/message.rbs +66 -5
  114. data/sig/temporalio/api/worker/v1/message.rbs +2 -2
  115. data/sig/temporalio/api/workflow/v1/message.rbs +2 -0
  116. data/sig/temporalio/api/workflowservice/v1/request_response.rbs +53 -9
  117. data/sig/temporalio/client/connection/cloud_service.rbs +76 -0
  118. data/sig/temporalio/client/connection/operator_service.rbs +12 -0
  119. data/sig/temporalio/client/schedule.rbs +24 -3
  120. data/sig/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbs +2 -1
  121. data/sig/temporalio/contrib/open_telemetry.rbs +4 -4
  122. data/sig/temporalio/converters/data_converter.rbs +19 -1
  123. data/sig/temporalio/converters/external_storage.rbs +1 -3
  124. data/sig/temporalio/converters/storage_driver_limiter.rbs +5 -0
  125. data/sig/temporalio/converters/storage_driver_retrieve_context.rbs +1 -1
  126. data/sig/temporalio/converters/storage_driver_select_context.rbs +3 -1
  127. data/sig/temporalio/converters/storage_driver_store_context.rbs +3 -1
  128. data/sig/temporalio/error.rbs +4 -1
  129. data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +4 -0
  130. data/sig/temporalio/internal/bridge/worker.rbs +2 -0
  131. data/sig/temporalio/internal/client/described_schedule_action.rbs +18 -0
  132. data/sig/temporalio/internal/client/implementation.rbs +22 -0
  133. data/sig/temporalio/internal/external_storage_runner.rbs +32 -0
  134. data/sig/temporalio/internal/storage_operation_metrics.rbs +25 -0
  135. data/sig/temporalio/internal/worker/activity_worker.rbs +11 -2
  136. data/sig/temporalio/internal/worker/workflow_worker.rbs +32 -1
  137. metadata +13 -2
  138. data/sig/open_telemetry.rbs +0 -47
@@ -74,12 +74,11 @@ 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.
77
+ # Worker-reported state about the poller pool issuing a poll.
79
78
  class PollerPoolInfo < ::Google::Protobuf::AbstractMessage
80
79
 
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.
80
+ # Number of pollers this worker is targeting for this task queue and task type.
81
+ # 0 if unknown, such as a poller pool of fixed size.
83
82
  attr_reader target_pollers(): ::Integer
84
83
  attr_writer target_pollers(): ::Integer | ::Float
85
84
  def clear_target_pollers: () -> void
@@ -961,6 +960,31 @@ module Temporalio
961
960
  ("requests_per_second" name, (::Float | ::Integer) value) -> void
962
961
  end
963
962
 
963
+ class ConcurrencyLimit < ::Google::Protobuf::AbstractMessage
964
+
965
+ # Maximum number of concurrent tasks that may be running at a time across the scope of the
966
+ # limit. e.g. in TaskQueueConfig, the scope is the whole task queue.
967
+ # Note that in situations like network partitions, the server's idea of what is running on
968
+ # workers may be out of date, and this limit could be exceeded from the point of view of
969
+ # workers.
970
+ attr_reader concurrent_tasks(): ::Integer
971
+ attr_writer concurrent_tasks(): ::Integer | ::Float
972
+ def clear_concurrent_tasks: () -> void
973
+
974
+ type init_map = {
975
+ concurrent_tasks: (::Integer | ::Float)?,
976
+ "concurrent_tasks" => (::Integer | ::Float)?,
977
+ }
978
+
979
+ def initialize: (?init_map initial_value) -> void
980
+
981
+ def []:
982
+ ("concurrent_tasks" name) -> ::Integer
983
+
984
+ def []=:
985
+ ("concurrent_tasks" name, (::Integer | ::Float) value) -> void
986
+ end
987
+
964
988
  class ConfigMetadata < ::Google::Protobuf::AbstractMessage
965
989
 
966
990
  # Reason for why the config was set.
@@ -1030,9 +1054,37 @@ module Temporalio
1030
1054
  | ("metadata" name, ::Temporalio::Api::TaskQueue::V1::ConfigMetadata? value) -> void
1031
1055
  end
1032
1056
 
1057
+ class ConcurrencyLimitConfig < ::Google::Protobuf::AbstractMessage
1058
+
1059
+ attr_accessor concurrency_limit(): ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit?
1060
+ def has_concurrency_limit?: () -> bool
1061
+ def clear_concurrency_limit: () -> void
1062
+
1063
+ attr_accessor metadata(): ::Temporalio::Api::TaskQueue::V1::ConfigMetadata?
1064
+ def has_metadata?: () -> bool
1065
+ def clear_metadata: () -> void
1066
+
1067
+ type init_map = {
1068
+ concurrency_limit: (::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit | ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit::init_map)?,
1069
+ "concurrency_limit" => (::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit | ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit::init_map)?,
1070
+ metadata: (::Temporalio::Api::TaskQueue::V1::ConfigMetadata | ::Temporalio::Api::TaskQueue::V1::ConfigMetadata::init_map)?,
1071
+ "metadata" => (::Temporalio::Api::TaskQueue::V1::ConfigMetadata | ::Temporalio::Api::TaskQueue::V1::ConfigMetadata::init_map)?,
1072
+ }
1073
+
1074
+ def initialize: (?init_map initial_value) -> void
1075
+
1076
+ def []:
1077
+ ("concurrency_limit" name) -> ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit?
1078
+ | ("metadata" name) -> ::Temporalio::Api::TaskQueue::V1::ConfigMetadata?
1079
+
1080
+ def []=:
1081
+ ("concurrency_limit" name, ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit? value) -> void
1082
+ | ("metadata" name, ::Temporalio::Api::TaskQueue::V1::ConfigMetadata? value) -> void
1083
+ end
1084
+
1033
1085
  class TaskQueueConfig < ::Google::Protobuf::AbstractMessage
1034
1086
 
1035
- # Unless modified, this is the system-defined rate limit.
1087
+ # Rate limit for the whole queue.
1036
1088
  attr_accessor queue_rate_limit(): ::Temporalio::Api::TaskQueue::V1::RateLimitConfig?
1037
1089
  def has_queue_rate_limit?: () -> bool
1038
1090
  def clear_queue_rate_limit: () -> void
@@ -1046,6 +1098,11 @@ module Temporalio
1046
1098
  attr_accessor fairness_weight_overrides(): ::Google::Protobuf::Map[::String, ::Float]
1047
1099
  def clear_fairness_weight_overrides: () -> void
1048
1100
 
1101
+ # Concurrency limit for the whole queue.
1102
+ attr_accessor queue_concurrency_limit(): ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimitConfig?
1103
+ def has_queue_concurrency_limit?: () -> bool
1104
+ def clear_queue_concurrency_limit: () -> void
1105
+
1049
1106
  type init_map = {
1050
1107
  queue_rate_limit: (::Temporalio::Api::TaskQueue::V1::RateLimitConfig | ::Temporalio::Api::TaskQueue::V1::RateLimitConfig::init_map)?,
1051
1108
  "queue_rate_limit" => (::Temporalio::Api::TaskQueue::V1::RateLimitConfig | ::Temporalio::Api::TaskQueue::V1::RateLimitConfig::init_map)?,
@@ -1053,6 +1110,8 @@ module Temporalio
1053
1110
  "fairness_keys_rate_limit_default" => (::Temporalio::Api::TaskQueue::V1::RateLimitConfig | ::Temporalio::Api::TaskQueue::V1::RateLimitConfig::init_map)?,
1054
1111
  fairness_weight_overrides: ::Hash[::String | ::Symbol, ::Float | ::Integer]?,
1055
1112
  "fairness_weight_overrides" => ::Hash[::String | ::Symbol, ::Float | ::Integer]?,
1113
+ queue_concurrency_limit: (::Temporalio::Api::TaskQueue::V1::ConcurrencyLimitConfig | ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimitConfig::init_map)?,
1114
+ "queue_concurrency_limit" => (::Temporalio::Api::TaskQueue::V1::ConcurrencyLimitConfig | ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimitConfig::init_map)?,
1056
1115
  }
1057
1116
 
1058
1117
  def initialize: (?init_map initial_value) -> void
@@ -1061,11 +1120,13 @@ module Temporalio
1061
1120
  ("queue_rate_limit" name) -> ::Temporalio::Api::TaskQueue::V1::RateLimitConfig?
1062
1121
  | ("fairness_keys_rate_limit_default" name) -> ::Temporalio::Api::TaskQueue::V1::RateLimitConfig?
1063
1122
  | ("fairness_weight_overrides" name) -> (::Google::Protobuf::Map[::String, ::Float])
1123
+ | ("queue_concurrency_limit" name) -> ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimitConfig?
1064
1124
 
1065
1125
  def []=:
1066
1126
  ("queue_rate_limit" name, ::Temporalio::Api::TaskQueue::V1::RateLimitConfig? value) -> void
1067
1127
  | ("fairness_keys_rate_limit_default" name, ::Temporalio::Api::TaskQueue::V1::RateLimitConfig? value) -> void
1068
1128
  | ("fairness_weight_overrides" name, (::Google::Protobuf::Map[::String, ::Float]) value) -> void
1129
+ | ("queue_concurrency_limit" name, ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimitConfig? value) -> void
1069
1130
  end
1070
1131
  end
1071
1132
  end
@@ -25,8 +25,8 @@ 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.
28
+ # Number of pollers this poller pool is currently targeting, which may differ from current_pollers.
29
+ # 0 if unknown, such as a poller pool of fixed size.
30
30
  attr_reader target_pollers(): ::Integer
31
31
  attr_writer target_pollers(): ::Integer | ::Float
32
32
  def clear_target_pollers: () -> void
@@ -331,6 +331,7 @@ module Temporalio
331
331
  def has_pause_info?: () -> bool
332
332
  def clear_pause_info: () -> void
333
333
 
334
+ # Experimental.
334
335
  # Information about time skipping of the workflow execution.
335
336
  # If the execution has never enabled time skipping, it will be nil.
336
337
  attr_accessor time_skipping_info(): ::Temporalio::Api::Common::V1::TimeSkippingInfo?
@@ -1876,6 +1877,7 @@ module Temporalio
1876
1877
  def has_priority?: () -> bool
1877
1878
  def clear_priority: () -> void
1878
1879
 
1880
+ # Experimental.
1879
1881
  # The time-skipping configuration for this workflow execution.
1880
1882
  # When `fast_forward` is set, time will be fast-forwarded to a future point relative
1881
1883
  # to the current workflow timestamp. Each call takes effect, even if
@@ -634,6 +634,7 @@ module Temporalio
634
634
  def has_eager_worker_deployment_options?: () -> bool
635
635
  def clear_eager_worker_deployment_options: () -> void
636
636
 
637
+ # Experimental.
637
638
  # Time-skipping configuration. If not set, time skipping is disabled.
638
639
  attr_accessor time_skipping_config(): ::Temporalio::Api::Common::V1::TimeSkippingConfig?
639
640
  def has_time_skipping_config?: () -> bool
@@ -644,6 +645,7 @@ module Temporalio
644
645
  def has_propagated_nexus_serialization_context?: () -> bool
645
646
  def clear_propagated_nexus_serialization_context: () -> void
646
647
 
648
+ # Experimental.
647
649
  # Time-skipping state propagated by the execution that started this workflow.
648
650
  # This field is intended for use by the Temporal server, for example when a schedule
649
651
  # starts a workflow, and is not intended to be set by external clients.
@@ -1108,8 +1110,7 @@ module Temporalio
1108
1110
  def has_deployment_options?: () -> bool
1109
1111
  def clear_deployment_options: () -> void
1110
1112
 
1111
- # Worker-reported poller pool state, used to spread poller scaling suggestions across
1112
- # a fleet. Optional.
1113
+ # Worker-reported poller pool state. Optional.
1113
1114
  attr_accessor poller_pool_info(): ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo?
1114
1115
  def has_poller_pool_info?: () -> bool
1115
1116
  def clear_poller_pool_info: () -> void
@@ -1845,8 +1846,7 @@ module Temporalio
1845
1846
  def has_deployment_options?: () -> bool
1846
1847
  def clear_deployment_options: () -> void
1847
1848
 
1848
- # Worker-reported poller pool state, used to spread poller scaling suggestions across
1849
- # a fleet. Optional.
1849
+ # Worker-reported poller pool state. Optional.
1850
1850
  attr_accessor poller_pool_info(): ::Temporalio::Api::TaskQueue::V1::PollerPoolInfo?
1851
1851
  def has_poller_pool_info?: () -> bool
1852
1852
  def clear_poller_pool_info: () -> void
@@ -3311,6 +3311,7 @@ module Temporalio
3311
3311
  def has_priority?: () -> bool
3312
3312
  def clear_priority: () -> void
3313
3313
 
3314
+ # Experimental.
3314
3315
  # Time-skipping configuration. If not set, time skipping is disabled.
3315
3316
  attr_accessor time_skipping_config(): ::Temporalio::Api::Common::V1::TimeSkippingConfig?
3316
3317
  def has_time_skipping_config?: () -> bool
@@ -8741,10 +8742,9 @@ module Temporalio
8741
8742
  def has_workflow_execution_options?: () -> bool
8742
8743
  def clear_workflow_execution_options: () -> void
8743
8744
 
8744
- # The Workflow Execution time when the options were updated. When time skipping is
8745
- # enabled, this is the workflow's virtual time rather than wall-clock time.
8746
- # This timestamp cannot be used for time-skipping fast-forward verification,
8745
+ # Deprecated. Not populated by the server; for time-skipping fast-forward verification,
8747
8746
  # use `fast_forward_id` in `PollWorkflowExecutionTimeSkippingRequest` instead.
8747
+ # @deprecated
8748
8748
  attr_reader update_time(): ::Google::Protobuf::Timestamp?
8749
8749
  attr_writer update_time(): (::Google::Protobuf::Timestamp | ::Time)?
8750
8750
  def has_update_time?: () -> bool
@@ -10784,12 +10784,12 @@ module Temporalio
10784
10784
  class UpdateTaskQueueConfigRequest < ::Google::Protobuf::AbstractMessage
10785
10785
  class RateLimitUpdate < ::Google::Protobuf::AbstractMessage
10786
10786
 
10787
- # Rate Limit to be updated
10787
+ # Rate limit to be updated
10788
10788
  attr_accessor rate_limit(): ::Temporalio::Api::TaskQueue::V1::RateLimit?
10789
10789
  def has_rate_limit?: () -> bool
10790
10790
  def clear_rate_limit: () -> void
10791
10791
 
10792
- # Reason for why the rate limit was set.
10792
+ # Reason why the rate limit was updated
10793
10793
  attr_reader reason(): ::String
10794
10794
  attr_writer reason(): ::String | ::Symbol
10795
10795
  def clear_reason: () -> void
@@ -10812,6 +10812,36 @@ module Temporalio
10812
10812
  | ("reason" name, (::String | ::Symbol) value) -> void
10813
10813
  end
10814
10814
 
10815
+ class ConcurrencyLimitUpdate < ::Google::Protobuf::AbstractMessage
10816
+
10817
+ # Limit to be updated
10818
+ attr_accessor concurrency_limit(): ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit?
10819
+ def has_concurrency_limit?: () -> bool
10820
+ def clear_concurrency_limit: () -> void
10821
+
10822
+ # Reason why the limit was updated
10823
+ attr_reader reason(): ::String
10824
+ attr_writer reason(): ::String | ::Symbol
10825
+ def clear_reason: () -> void
10826
+
10827
+ type init_map = {
10828
+ concurrency_limit: (::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit | ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit::init_map)?,
10829
+ "concurrency_limit" => (::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit | ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit::init_map)?,
10830
+ reason: (::String | ::Symbol)?,
10831
+ "reason" => (::String | ::Symbol)?,
10832
+ }
10833
+
10834
+ def initialize: (?init_map initial_value) -> void
10835
+
10836
+ def []:
10837
+ ("concurrency_limit" name) -> ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit?
10838
+ | ("reason" name) -> ::String
10839
+
10840
+ def []=:
10841
+ ("concurrency_limit" name, ::Temporalio::Api::TaskQueue::V1::ConcurrencyLimit? value) -> void
10842
+ | ("reason" name, (::String | ::Symbol) value) -> void
10843
+ end
10844
+
10815
10845
  attr_reader namespace(): ::String
10816
10846
  attr_writer namespace(): ::String | ::Symbol
10817
10847
  def clear_namespace: () -> void
@@ -10856,6 +10886,13 @@ module Temporalio
10856
10886
  attr_accessor unset_fairness_weight_overrides(): ::Google::Protobuf::RepeatedField
10857
10887
  def clear_unset_fairness_weight_overrides: () -> void
10858
10888
 
10889
+ # Update queue-wide concurrency limit.
10890
+ # If not set, this configuration is unchanged.
10891
+ # If the `concurrency_limit` field in the `ConcurrencyLimitUpdate` is missing, remove the existing limit.
10892
+ attr_accessor update_queue_concurrency_limit(): ::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigRequest::ConcurrencyLimitUpdate?
10893
+ def has_update_queue_concurrency_limit?: () -> bool
10894
+ def clear_update_queue_concurrency_limit: () -> void
10895
+
10859
10896
  type init_map = {
10860
10897
  namespace: (::String | ::Symbol)?,
10861
10898
  "namespace" => (::String | ::Symbol)?,
@@ -10873,6 +10910,8 @@ module Temporalio
10873
10910
  "set_fairness_weight_overrides" => ::Hash[::String | ::Symbol, ::Float | ::Integer]?,
10874
10911
  unset_fairness_weight_overrides: ::Array[::String | ::Symbol]?,
10875
10912
  "unset_fairness_weight_overrides" => ::Array[::String | ::Symbol]?,
10913
+ update_queue_concurrency_limit: (::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigRequest::ConcurrencyLimitUpdate | ::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigRequest::ConcurrencyLimitUpdate::init_map)?,
10914
+ "update_queue_concurrency_limit" => (::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigRequest::ConcurrencyLimitUpdate | ::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigRequest::ConcurrencyLimitUpdate::init_map)?,
10876
10915
  }
10877
10916
 
10878
10917
  def initialize: (?init_map initial_value) -> void
@@ -10886,6 +10925,7 @@ module Temporalio
10886
10925
  | ("update_fairness_key_rate_limit_default" name) -> ::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigRequest::RateLimitUpdate?
10887
10926
  | ("set_fairness_weight_overrides" name) -> (::Google::Protobuf::Map[::String, ::Float])
10888
10927
  | ("unset_fairness_weight_overrides" name) -> (::Google::Protobuf::RepeatedField)
10928
+ | ("update_queue_concurrency_limit" name) -> ::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigRequest::ConcurrencyLimitUpdate?
10889
10929
 
10890
10930
  def []=:
10891
10931
  ("namespace" name, (::String | ::Symbol) value) -> void
@@ -10896,6 +10936,7 @@ module Temporalio
10896
10936
  | ("update_fairness_key_rate_limit_default" name, ::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigRequest::RateLimitUpdate? value) -> void
10897
10937
  | ("set_fairness_weight_overrides" name, (::Google::Protobuf::Map[::String, ::Float]) value) -> void
10898
10938
  | ("unset_fairness_weight_overrides" name, (::Google::Protobuf::RepeatedField) value) -> void
10939
+ | ("update_queue_concurrency_limit" name, ::Temporalio::Api::WorkflowService::V1::UpdateTaskQueueConfigRequest::ConcurrencyLimitUpdate? value) -> void
10899
10940
  end
10900
10941
 
10901
10942
  class UpdateTaskQueueConfigResponse < ::Google::Protobuf::AbstractMessage
@@ -13108,6 +13149,7 @@ module Temporalio
13108
13149
  # execution. Currently the only supported policy is waiting for completion of the fast-forward
13109
13150
  # identified by `fast_forward_id`; the poll also returns once anything else settles that outcome
13110
13151
  # (e.g. the execution ends or time skipping is disabled).
13152
+ # Experimental. Might change in the future.
13111
13153
  class PollWorkflowExecutionTimeSkippingRequest < ::Google::Protobuf::AbstractMessage
13112
13154
 
13113
13155
  attr_reader namespace(): ::String
@@ -13146,6 +13188,8 @@ module Temporalio
13146
13188
  | ("fast_forward_id" name, (::String | ::Symbol) value) -> void
13147
13189
  end
13148
13190
 
13191
+ # Result of polling a workflow execution's time-skipping fast-forward.
13192
+ # Experimental. Might change in the future.
13149
13193
  class PollWorkflowExecutionTimeSkippingResponse < ::Google::Protobuf::AbstractMessage
13150
13194
 
13151
13195
  # The outcome of the poll for the fast-forward identified by the request's `fast_forward_id`.
@@ -121,6 +121,10 @@ module Temporalio
121
121
  Temporalio::Api::Cloud::CloudService::V1::DeleteNexusEndpointRequest request,
122
122
  ?rpc_options: RPCOptions?
123
123
  ) -> Temporalio::Api::Cloud::CloudService::V1::DeleteNexusEndpointResponse
124
+ def move_nexus_endpoint_to_project: (
125
+ Temporalio::Api::Cloud::CloudService::V1::MoveNexusEndpointToProjectRequest request,
126
+ ?rpc_options: RPCOptions?
127
+ ) -> Temporalio::Api::Cloud::CloudService::V1::MoveNexusEndpointToProjectResponse
124
128
  def get_user_groups: (
125
129
  Temporalio::Api::Cloud::CloudService::V1::GetUserGroupsRequest request,
126
130
  ?rpc_options: RPCOptions?
@@ -217,6 +221,26 @@ module Temporalio
217
221
  Temporalio::Api::Cloud::CloudService::V1::ValidateNamespaceExportSinkRequest request,
218
222
  ?rpc_options: RPCOptions?
219
223
  ) -> Temporalio::Api::Cloud::CloudService::V1::ValidateNamespaceExportSinkResponse
224
+ def create_caller_rate_limit: (
225
+ Temporalio::Api::Cloud::CloudService::V1::CreateCallerRateLimitRequest request,
226
+ ?rpc_options: RPCOptions?
227
+ ) -> Temporalio::Api::Cloud::CloudService::V1::CreateCallerRateLimitResponse
228
+ def get_caller_rate_limit: (
229
+ Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitRequest request,
230
+ ?rpc_options: RPCOptions?
231
+ ) -> Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitResponse
232
+ def get_caller_rate_limits: (
233
+ Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsRequest request,
234
+ ?rpc_options: RPCOptions?
235
+ ) -> Temporalio::Api::Cloud::CloudService::V1::GetCallerRateLimitsResponse
236
+ def update_caller_rate_limit: (
237
+ Temporalio::Api::Cloud::CloudService::V1::UpdateCallerRateLimitRequest request,
238
+ ?rpc_options: RPCOptions?
239
+ ) -> Temporalio::Api::Cloud::CloudService::V1::UpdateCallerRateLimitResponse
240
+ def delete_caller_rate_limit: (
241
+ Temporalio::Api::Cloud::CloudService::V1::DeleteCallerRateLimitRequest request,
242
+ ?rpc_options: RPCOptions?
243
+ ) -> Temporalio::Api::Cloud::CloudService::V1::DeleteCallerRateLimitResponse
220
244
  def update_namespace_tags: (
221
245
  Temporalio::Api::Cloud::CloudService::V1::UpdateNamespaceTagsRequest request,
222
246
  ?rpc_options: RPCOptions?
@@ -309,6 +333,58 @@ module Temporalio
309
333
  Temporalio::Api::Cloud::CloudService::V1::GetUserGroupNamespaceAssignmentsRequest request,
310
334
  ?rpc_options: RPCOptions?
311
335
  ) -> Temporalio::Api::Cloud::CloudService::V1::GetUserGroupNamespaceAssignmentsResponse
336
+ def get_projects: (
337
+ Temporalio::Api::Cloud::CloudService::V1::GetProjectsRequest request,
338
+ ?rpc_options: RPCOptions?
339
+ ) -> Temporalio::Api::Cloud::CloudService::V1::GetProjectsResponse
340
+ def get_project: (
341
+ Temporalio::Api::Cloud::CloudService::V1::GetProjectRequest request,
342
+ ?rpc_options: RPCOptions?
343
+ ) -> Temporalio::Api::Cloud::CloudService::V1::GetProjectResponse
344
+ def create_project: (
345
+ Temporalio::Api::Cloud::CloudService::V1::CreateProjectRequest request,
346
+ ?rpc_options: RPCOptions?
347
+ ) -> Temporalio::Api::Cloud::CloudService::V1::CreateProjectResponse
348
+ def update_project: (
349
+ Temporalio::Api::Cloud::CloudService::V1::UpdateProjectRequest request,
350
+ ?rpc_options: RPCOptions?
351
+ ) -> Temporalio::Api::Cloud::CloudService::V1::UpdateProjectResponse
352
+ def move_namespace_to_project: (
353
+ Temporalio::Api::Cloud::CloudService::V1::MoveNamespaceToProjectRequest request,
354
+ ?rpc_options: RPCOptions?
355
+ ) -> Temporalio::Api::Cloud::CloudService::V1::MoveNamespaceToProjectResponse
356
+ def delete_project: (
357
+ Temporalio::Api::Cloud::CloudService::V1::DeleteProjectRequest request,
358
+ ?rpc_options: RPCOptions?
359
+ ) -> Temporalio::Api::Cloud::CloudService::V1::DeleteProjectResponse
360
+ def set_user_project_access: (
361
+ Temporalio::Api::Cloud::CloudService::V1::SetUserProjectAccessRequest request,
362
+ ?rpc_options: RPCOptions?
363
+ ) -> Temporalio::Api::Cloud::CloudService::V1::SetUserProjectAccessResponse
364
+ def set_user_group_project_access: (
365
+ Temporalio::Api::Cloud::CloudService::V1::SetUserGroupProjectAccessRequest request,
366
+ ?rpc_options: RPCOptions?
367
+ ) -> Temporalio::Api::Cloud::CloudService::V1::SetUserGroupProjectAccessResponse
368
+ def set_service_account_project_access: (
369
+ Temporalio::Api::Cloud::CloudService::V1::SetServiceAccountProjectAccessRequest request,
370
+ ?rpc_options: RPCOptions?
371
+ ) -> Temporalio::Api::Cloud::CloudService::V1::SetServiceAccountProjectAccessResponse
372
+ def get_user_project_assignments: (
373
+ Temporalio::Api::Cloud::CloudService::V1::GetUserProjectAssignmentsRequest request,
374
+ ?rpc_options: RPCOptions?
375
+ ) -> Temporalio::Api::Cloud::CloudService::V1::GetUserProjectAssignmentsResponse
376
+ def get_service_account_project_assignments: (
377
+ Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountProjectAssignmentsRequest request,
378
+ ?rpc_options: RPCOptions?
379
+ ) -> Temporalio::Api::Cloud::CloudService::V1::GetServiceAccountProjectAssignmentsResponse
380
+ def get_user_group_project_assignments: (
381
+ Temporalio::Api::Cloud::CloudService::V1::GetUserGroupProjectAssignmentsRequest request,
382
+ ?rpc_options: RPCOptions?
383
+ ) -> Temporalio::Api::Cloud::CloudService::V1::GetUserGroupProjectAssignmentsResponse
384
+ def get_project_scoped_service_accounts: (
385
+ Temporalio::Api::Cloud::CloudService::V1::GetProjectScopedServiceAccountsRequest request,
386
+ ?rpc_options: RPCOptions?
387
+ ) -> Temporalio::Api::Cloud::CloudService::V1::GetProjectScopedServiceAccountsResponse
312
388
  end
313
389
  end
314
390
  end
@@ -21,6 +21,18 @@ module Temporalio
21
21
  Temporalio::Api::OperatorService::V1::DeleteNamespaceRequest request,
22
22
  ?rpc_options: RPCOptions?
23
23
  ) -> Temporalio::Api::OperatorService::V1::DeleteNamespaceResponse
24
+ def soft_delete_namespace: (
25
+ Temporalio::Api::OperatorService::V1::SoftDeleteNamespaceRequest request,
26
+ ?rpc_options: RPCOptions?
27
+ ) -> Temporalio::Api::OperatorService::V1::SoftDeleteNamespaceResponse
28
+ def restore_namespace: (
29
+ Temporalio::Api::OperatorService::V1::RestoreNamespaceRequest request,
30
+ ?rpc_options: RPCOptions?
31
+ ) -> Temporalio::Api::OperatorService::V1::RestoreNamespaceResponse
32
+ def describe_namespace_restore: (
33
+ Temporalio::Api::OperatorService::V1::DescribeNamespaceRestoreRequest request,
34
+ ?rpc_options: RPCOptions?
35
+ ) -> Temporalio::Api::OperatorService::V1::DescribeNamespaceRestoreResponse
24
36
  def add_or_update_remote_cluster: (
25
37
  Temporalio::Api::OperatorService::V1::AddOrUpdateRemoteClusterRequest request,
26
38
  ?rpc_options: RPCOptions?
@@ -18,7 +18,11 @@ module Temporalio
18
18
  ?state: State
19
19
  ) -> void
20
20
 
21
- def _to_proto: (Converters::DataConverter data_converter) -> Api::Schedule::V1::Schedule
21
+ def _to_proto: (
22
+ Converters::DataConverter data_converter,
23
+ String namespace,
24
+ ?Internal::Client::DescribedScheduleAction? described_action
25
+ ) -> Api::Schedule::V1::Schedule
22
26
 
23
27
  def with: (**untyped) -> Schedule
24
28
 
@@ -57,7 +61,13 @@ module Temporalio
57
61
  Converters::DataConverter data_converter
58
62
  ) -> Action
59
63
 
60
- def _to_proto: (Converters::DataConverter data_converter) -> Api::Schedule::V1::ScheduleAction
64
+ def _to_proto: (
65
+ Converters::DataConverter data_converter,
66
+ String namespace,
67
+ ?Internal::Client::DescribedScheduleAction? described
68
+ ) -> Api::Schedule::V1::ScheduleAction
69
+
70
+ def _described: (Api::Schedule::V1::ScheduleAction raw_action) -> Internal::Client::DescribedScheduleAction?
61
71
 
62
72
  class StartWorkflow
63
73
  include Action
@@ -103,7 +113,18 @@ module Temporalio
103
113
 
104
114
  def with: (**untyped) -> StartWorkflow
105
115
 
106
- def _to_proto: (Converters::DataConverter data_converter) -> Api::Schedule::V1::ScheduleAction
116
+ def _to_proto: (
117
+ Converters::DataConverter data_converter,
118
+ String namespace,
119
+ ?Internal::Client::DescribedScheduleAction? described
120
+ ) -> Api::Schedule::V1::ScheduleAction
121
+
122
+ def _described: (Api::Schedule::V1::ScheduleAction raw_action) -> Internal::Client::DescribedScheduleAction
123
+
124
+ private def _user_metadata_to_proto: (
125
+ Converters::DataConverter data_converter,
126
+ Internal::Client::DescribedScheduleAction? described
127
+ ) -> Api::Sdk::V1::UserMetadata?
107
128
  end
108
129
  end
109
130
 
@@ -57,7 +57,8 @@ module Temporalio
57
57
  Cancellation parent_cancellation
58
58
  ) { (I, Cancellation) -> R } -> Array[R]
59
59
  def context_key_segments: (
60
- (Converters::StorageDriverWorkflowInfo | Converters::StorageDriverActivityInfo)? target
60
+ (Converters::StorageDriverWorkflowInfo | Converters::StorageDriverActivityInfo)? target,
61
+ String? namespace
61
62
  ) -> String
62
63
  def encode_key_segment: (String? value) -> String
63
64
  def client_context: -> String
@@ -16,8 +16,8 @@ module Temporalio
16
16
  ) -> void
17
17
 
18
18
  def _apply_context_to_headers: (Hash[String, untyped] headers, ?context: untyped) -> void
19
- def _attach_context: (Hash[String, untyped] headers) -> Object?
20
- def _detach_context: (Object? token) -> void
19
+ def _attach_context: (Hash[String, untyped] headers) -> Integer?
20
+ def _detach_context: (Integer? token) -> void
21
21
  def _context_from_headers: (Hash[String, untyped] headers) -> untyped
22
22
  def _with_started_span: [T] (
23
23
  name: String,
@@ -38,8 +38,8 @@ module Temporalio
38
38
  class WorkflowInbound < Worker::Interceptor::Workflow::Inbound
39
39
  def initialize: (TracingInterceptor root, Worker::Interceptor::Workflow::Inbound next_interceptor) -> void
40
40
 
41
- def _attach_context: (Hash[String, untyped] headers) -> Object?
42
- def _detach_context: (Object? token) -> void
41
+ def _attach_context: (Hash[String, untyped] headers) -> Integer?
42
+ def _detach_context: (Integer? token) -> void
43
43
  def _links_from_headers: (Hash[String, untyped] headers) -> Array[untyped]
44
44
  end
45
45
 
@@ -4,15 +4,27 @@ module Temporalio
4
4
  attr_reader payload_converter: PayloadConverter
5
5
  attr_reader failure_converter: FailureConverter
6
6
  attr_reader payload_codec: PayloadCodec?
7
+ attr_reader external_storage: ExternalStorage?
8
+
9
+ @external_storage_runner: Internal::ExternalStorageRunner
10
+ @storage_target: storageDriverTargetInfo?
7
11
 
8
12
  def self.default: -> DataConverter
9
13
 
10
14
  def initialize: (
11
15
  ?payload_converter: PayloadConverter,
12
16
  ?failure_converter: FailureConverter,
13
- ?payload_codec: PayloadCodec?
17
+ ?payload_codec: PayloadCodec?,
18
+ ?external_storage: ExternalStorage?
14
19
  ) -> void
15
20
 
21
+ def _with_storage_target: (
22
+ namespace: String?,
23
+ target: storageDriverTargetInfo?
24
+ ) -> DataConverter
25
+
26
+ def _without_storage: -> DataConverter
27
+
16
28
  def to_payload: (Object? value, ?hint: Object?) -> Temporalio::Api::Common::V1::Payload
17
29
  def to_payloads: (
18
30
  Array[Object?] values,
@@ -27,6 +39,12 @@ module Temporalio
27
39
 
28
40
  def to_failure: (Exception error) -> Api::Failure::V1::Failure
29
41
  def from_failure: (Api::Failure::V1::Failure failure) -> Exception
42
+
43
+ private def set_storage: (
44
+ ExternalStorage? external_storage,
45
+ namespace: String?,
46
+ target: storageDriverTargetInfo?
47
+ ) -> void
30
48
  end
31
49
  end
32
50
  end
@@ -8,15 +8,13 @@ module Temporalio
8
8
  attr_reader drivers: Array[StorageDriver]
9
9
  attr_reader driver_selector: driverSelector
10
10
  attr_reader payload_size_threshold: Integer
11
- attr_reader concurrency: ExternalStorageConcurrency
12
11
 
13
12
  @drivers_by_name: Hash[String, StorageDriver]
14
13
 
15
14
  def initialize: (
16
15
  drivers: Array[StorageDriver],
17
16
  ?driver_selector: driverSelector?,
18
- ?payload_size_threshold: Integer,
19
- ?concurrency: ExternalStorageConcurrency
17
+ ?payload_size_threshold: Integer
20
18
  ) -> void
21
19
 
22
20
  def driver: (String name) -> StorageDriver?
@@ -2,6 +2,11 @@ module Temporalio
2
2
  module Converters
3
3
  class StorageDriverLimiter
4
4
  def permit: [T] (Api::Common::V1::Payload | StorageDriverClaim item) { () -> T } -> T
5
+
6
+ class Unbounded < StorageDriverLimiter
7
+ end
8
+
9
+ UNBOUNDED: Unbounded
5
10
  end
6
11
  end
7
12
  end
@@ -6,7 +6,7 @@ module Temporalio
6
6
 
7
7
  def initialize: (
8
8
  cancellation: Cancellation,
9
- limiter: StorageDriverLimiter
9
+ ?limiter: StorageDriverLimiter
10
10
  ) -> void
11
11
  end
12
12
  end
@@ -3,10 +3,12 @@ module Temporalio
3
3
  class StorageDriverSelectContext
4
4
  attr_reader target: storageDriverTargetInfo?
5
5
  attr_reader cancellation: Cancellation
6
+ attr_reader namespace: String?
6
7
 
7
8
  def initialize: (
8
9
  target: storageDriverTargetInfo?,
9
- cancellation: Cancellation
10
+ cancellation: Cancellation,
11
+ ?namespace: String?
10
12
  ) -> void
11
13
  end
12
14
  end
@@ -4,11 +4,13 @@ module Temporalio
4
4
  attr_reader target: storageDriverTargetInfo?
5
5
  attr_reader cancellation: Cancellation
6
6
  attr_reader limiter: StorageDriverLimiter
7
+ attr_reader namespace: String?
7
8
 
8
9
  def initialize: (
9
10
  target: storageDriverTargetInfo?,
10
11
  cancellation: Cancellation,
11
- limiter: StorageDriverLimiter
12
+ ?limiter: StorageDriverLimiter,
13
+ ?namespace: String?
12
14
  ) -> void
13
15
  end
14
16
  end
@@ -49,7 +49,10 @@ module Temporalio
49
49
  def initialize: (Activity::CancellationDetails details) -> void
50
50
  end
51
51
 
52
- class ExternalStorageNotConfiguredError < Error
52
+ class ExternalStorageError < Error
53
+ end
54
+
55
+ class ExternalStorageNotConfiguredError < ExternalStorageError
53
56
  def initialize: (?String message) -> void
54
57
  end
55
58
 
@@ -44,6 +44,10 @@ module Temporalio
44
44
  # execution works this way, then determinism is only impacted by the order routines are driven in
45
45
  # (which must be stable based on lang implementation or convention), rather than the order jobs are
46
46
  # processed.
47
+ # A successful activation completion for queries attached to a workflow task must include a query
48
+ # response. Core holds local activity results for the next task as soon as it dispatches these
49
+ # queries, since sending their responses completes the current task.
50
+ # Workflow tasks with no activation jobs are handled internally by Core, without activating lang.
47
51
  # ## Evictions
48
52
  # Evictions appear as an activations that contains only a `remove_from_cache` job. Such activations
49
53
  # should not cause the workflow code to be invoked and may be responded to with an empty command