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.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +28 -0
  3. data/lib/temporalio/activity/info.rb +0 -3
  4. data/lib/temporalio/api/activity/v1/message.rb +2 -1
  5. data/lib/temporalio/api/callback/v1/message.rb +1 -1
  6. data/lib/temporalio/api/common/v1/message.rb +3 -1
  7. data/lib/temporalio/api/compute/v1/config.rb +1 -1
  8. data/lib/temporalio/api/enums/v1/common.rb +1 -1
  9. data/lib/temporalio/api/enums/v1/failed_cause.rb +2 -1
  10. data/lib/temporalio/api/export/v1/message.rb +4 -1
  11. data/lib/temporalio/api/history/v1/message.rb +2 -1
  12. data/lib/temporalio/api/nexus/v1/message.rb +2 -1
  13. data/lib/temporalio/api/nexusoperation/v1/message.rb +26 -0
  14. data/lib/temporalio/api/notificationservice/v1/request_response.rb +25 -0
  15. data/lib/temporalio/api/payload_visitor.rb +54 -0
  16. data/lib/temporalio/api/replication/v1/message.rb +2 -1
  17. data/lib/temporalio/api/update/v1/message.rb +2 -1
  18. data/lib/temporalio/api/worker/v1/message.rb +1 -1
  19. data/lib/temporalio/api/workflow/v1/message.rb +2 -1
  20. data/lib/temporalio/api/workflowservice/v1/request_response.rb +2 -1
  21. data/lib/temporalio/client/activity_execution.rb +1 -5
  22. data/lib/temporalio/client/activity_execution_count.rb +0 -4
  23. data/lib/temporalio/client/activity_execution_status.rb +0 -2
  24. data/lib/temporalio/client/activity_handle.rb +9 -6
  25. data/lib/temporalio/client/activity_id_reference.rb +0 -4
  26. data/lib/temporalio/client/interceptor.rb +1 -29
  27. data/lib/temporalio/client/pending_activity_state.rb +0 -2
  28. data/lib/temporalio/client/schedule.rb +8 -7
  29. data/lib/temporalio/client/with_start_workflow_operation.rb +1 -1
  30. data/lib/temporalio/client.rb +10 -20
  31. data/lib/temporalio/common_enums.rb +0 -4
  32. data/lib/temporalio/converters/external_storage.rb +90 -0
  33. data/lib/temporalio/converters/external_storage_concurrency.rb +52 -0
  34. data/lib/temporalio/converters/storage_driver.rb +56 -0
  35. data/lib/temporalio/converters/storage_driver_activity_info.rb +38 -0
  36. data/lib/temporalio/converters/storage_driver_claim.rb +30 -0
  37. data/lib/temporalio/converters/storage_driver_limiter.rb +37 -0
  38. data/lib/temporalio/converters/storage_driver_retrieve_context.rb +30 -0
  39. data/lib/temporalio/converters/storage_driver_select_context.rb +26 -0
  40. data/lib/temporalio/converters/storage_driver_store_context.rb +31 -0
  41. data/lib/temporalio/converters/storage_driver_workflow_info.rb +40 -0
  42. data/lib/temporalio/converters.rb +11 -0
  43. data/lib/temporalio/error/failure.rb +16 -2
  44. data/lib/temporalio/error.rb +17 -2
  45. data/lib/temporalio/internal/bridge/3.3/temporalio_bridge.so +2 -2
  46. data/lib/temporalio/internal/bridge/3.4/temporalio_bridge.so +2 -2
  47. data/lib/temporalio/internal/bridge/4.0/temporalio_bridge.so +2 -2
  48. data/lib/temporalio/internal/bridge/api/activity_result/activity_result.rb +2 -1
  49. data/lib/temporalio/internal/bridge/api/child_workflow/child_workflow.rb +1 -1
  50. data/lib/temporalio/internal/bridge/api/external_data/external_data.rb +1 -1
  51. data/lib/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rb +2 -1
  52. data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +3 -1
  53. data/lib/temporalio/internal/client/implementation.rb +6 -1
  54. data/lib/temporalio/internal/external_storage_references.rb +62 -0
  55. data/lib/temporalio/internal/worker/workflow_instance/context.rb +2 -0
  56. data/lib/temporalio/internal/worker/workflow_instance/outbound_implementation.rb +21 -3
  57. data/lib/temporalio/testing/activity_environment.rb +1 -1
  58. data/lib/temporalio/testing/workflow_environment.rb +4 -4
  59. data/lib/temporalio/version.rb +1 -1
  60. data/lib/temporalio/versioning_override.rb +28 -1
  61. data/lib/temporalio/worker/interceptor.rb +1 -0
  62. data/lib/temporalio/workflow.rb +14 -4
  63. data/rbi/temporalio/api/activity/v1/message.rbi +39 -2
  64. data/rbi/temporalio/api/callback/v1/message.rbi +22 -2
  65. data/rbi/temporalio/api/common/v1/message.rbi +294 -4
  66. data/rbi/temporalio/api/compute/v1/config.rbi +39 -5
  67. data/rbi/temporalio/api/enums/v1/common.rbi +1 -0
  68. data/rbi/temporalio/api/enums/v1/failed_cause.rbi +20 -0
  69. data/rbi/temporalio/api/export/v1/message.rbi +136 -2
  70. data/rbi/temporalio/api/history/v1/message.rbi +38 -4
  71. data/rbi/temporalio/api/nexus/v1/message.rbi +88 -0
  72. data/rbi/temporalio/api/nexusoperation/v1/message.rbi +287 -0
  73. data/rbi/temporalio/api/notificationservice/v1/request_response.rbi +151 -0
  74. data/rbi/temporalio/api/payload_visitor.rbi +21 -0
  75. data/rbi/temporalio/api/replication/v1/message.rbi +22 -2
  76. data/rbi/temporalio/api/update/v1/message.rbi +19 -2
  77. data/rbi/temporalio/api/worker/v1/message.rbi +2 -0
  78. data/rbi/temporalio/api/workflow/v1/message.rbi +41 -4
  79. data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +294 -20
  80. data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +0 -13
  81. data/rbi/temporalio/client/activity_execution.rbi +1 -1
  82. data/rbi/temporalio/client/interceptor.rbi +1 -1
  83. data/rbi/temporalio/client/schedule.rbi +2 -2
  84. data/rbi/temporalio/client.rbi +4 -4
  85. data/rbi/temporalio/converters/external_storage.rbi +49 -0
  86. data/rbi/temporalio/converters/external_storage_concurrency.rbi +26 -0
  87. data/rbi/temporalio/converters/storage_driver.rbi +27 -0
  88. data/rbi/temporalio/converters/storage_driver_activity_info.rbi +36 -0
  89. data/rbi/temporalio/converters/storage_driver_claim.rbi +20 -0
  90. data/rbi/temporalio/converters/storage_driver_limiter.rbi +13 -0
  91. data/rbi/temporalio/converters/storage_driver_retrieve_context.rbi +23 -0
  92. data/rbi/temporalio/converters/storage_driver_select_context.rbi +42 -0
  93. data/rbi/temporalio/converters/storage_driver_store_context.rbi +46 -0
  94. data/rbi/temporalio/converters/storage_driver_workflow_info.rbi +36 -0
  95. data/rbi/temporalio/error.rbi +17 -0
  96. data/rbi/temporalio/internal/bridge/api/activity_result/activity_result.rbi +41 -2
  97. data/rbi/temporalio/internal/bridge/api/child_workflow/child_workflow.rbi +2 -0
  98. data/rbi/temporalio/internal/bridge/api/external_data/external_data.rbi +29 -2
  99. data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +88 -14
  100. data/rbi/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbi +91 -6
  101. data/rbi/temporalio/internal/external_storage_references.rbi +26 -0
  102. data/rbi/temporalio/internal/worker/workflow_instance/context.rbi +2 -0
  103. data/rbi/temporalio/versioning_override.rbi +8 -0
  104. data/rbi/temporalio/worker/interceptor.rbi +3 -0
  105. data/rbi/temporalio/workflow.rbi +4 -0
  106. data/sig/temporalio/api/activity/v1/message.rbs +18 -0
  107. data/sig/temporalio/api/callback/v1/message.rbs +10 -0
  108. data/sig/temporalio/api/common/v1/message.rbs +133 -4
  109. data/sig/temporalio/api/compute/v1/config.rbs +17 -1
  110. data/sig/temporalio/api/enums/v1/common.rbs +7 -4
  111. data/sig/temporalio/api/enums/v1/failed_cause.rbs +42 -5
  112. data/sig/temporalio/api/export/v1/message.rbs +50 -2
  113. data/sig/temporalio/api/history/v1/message.rbs +19 -0
  114. data/sig/temporalio/api/nexus/v1/message.rbs +37 -0
  115. data/sig/temporalio/api/nexusoperation/v1/message.rbs +125 -0
  116. data/sig/temporalio/api/notificationservice/v1/request_response.rbs +81 -0
  117. data/sig/temporalio/api/payload_visitor.rbs +7 -0
  118. data/sig/temporalio/api/replication/v1/message.rbs +11 -0
  119. data/sig/temporalio/api/update/v1/message.rbs +9 -0
  120. data/sig/temporalio/api/worker/v1/message.rbs +9 -3
  121. data/sig/temporalio/api/workflow/v1/message.rbs +19 -0
  122. data/sig/temporalio/api/workflowservice/v1/request_response.rbs +136 -0
  123. data/sig/temporalio/client/activity_execution.rbs +1 -1
  124. data/sig/temporalio/client/interceptor.rbs +2 -2
  125. data/sig/temporalio/client/schedule.rbs +3 -2
  126. data/sig/temporalio/client.rbs +2 -2
  127. data/sig/temporalio/converters/external_storage.rbs +25 -0
  128. data/sig/temporalio/converters/external_storage_concurrency.rbs +16 -0
  129. data/sig/temporalio/converters/storage_driver.rbs +16 -0
  130. data/sig/temporalio/converters/storage_driver_activity_info.rbs +17 -0
  131. data/sig/temporalio/converters/storage_driver_claim.rbs +9 -0
  132. data/sig/temporalio/converters/storage_driver_limiter.rbs +7 -0
  133. data/sig/temporalio/converters/storage_driver_retrieve_context.rbs +13 -0
  134. data/sig/temporalio/converters/storage_driver_select_context.rbs +13 -0
  135. data/sig/temporalio/converters/storage_driver_store_context.rbs +15 -0
  136. data/sig/temporalio/converters/storage_driver_target_info.rbs +5 -0
  137. data/sig/temporalio/converters/storage_driver_workflow_info.rbs +17 -0
  138. data/sig/temporalio/error/failure.rbs +8 -0
  139. data/sig/temporalio/error.rbs +4 -0
  140. data/sig/temporalio/internal/bridge/api/activity_result/activity_result.rbs +46 -0
  141. data/sig/temporalio/internal/bridge/api/child_workflow/child_workflow.rbs +7 -3
  142. data/sig/temporalio/internal/bridge/api/external_data/external_data.rbs +16 -0
  143. data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +42 -2
  144. data/sig/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rbs +42 -0
  145. data/sig/temporalio/internal/external_storage_references.rbs +18 -0
  146. data/sig/temporalio/internal/worker/workflow_instance/context.rbs +1 -0
  147. data/sig/temporalio/testing/activity_environment.rbs +1 -1
  148. data/sig/temporalio/versioning_override.rbs +7 -0
  149. data/sig/temporalio/worker/interceptor.rbs +2 -0
  150. data/sig/temporalio/workflow.rbs +2 -0
  151. data/temporalio.gemspec +1 -0
  152. metadata +56 -2
@@ -1134,7 +1134,8 @@ class Temporalio::Api::WorkflowService::V1::StartWorkflowExecutionRequest
1134
1134
  on_conflict_options: T.nilable(Temporalio::Api::Workflow::V1::OnConflictOptions),
1135
1135
  priority: T.nilable(Temporalio::Api::Common::V1::Priority),
1136
1136
  eager_worker_deployment_options: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentOptions),
1137
- time_skipping_config: T.nilable(Temporalio::Api::Common::V1::TimeSkippingConfig)
1137
+ time_skipping_config: T.nilable(Temporalio::Api::Common::V1::TimeSkippingConfig),
1138
+ propagated_nexus_serialization_context: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)
1138
1139
  ).void
1139
1140
  end
1140
1141
  def initialize(
@@ -1166,7 +1167,8 @@ class Temporalio::Api::WorkflowService::V1::StartWorkflowExecutionRequest
1166
1167
  on_conflict_options: nil,
1167
1168
  priority: nil,
1168
1169
  eager_worker_deployment_options: nil,
1169
- time_skipping_config: nil
1170
+ time_skipping_config: nil,
1171
+ propagated_nexus_serialization_context: nil
1170
1172
  )
1171
1173
  end
1172
1174
 
@@ -1647,6 +1649,21 @@ class Temporalio::Api::WorkflowService::V1::StartWorkflowExecutionRequest
1647
1649
  def clear_time_skipping_config
1648
1650
  end
1649
1651
 
1652
+ # Serialization context propagated from the Nexus caller that started this workflow.
1653
+ sig { returns(T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)) }
1654
+ def propagated_nexus_serialization_context
1655
+ end
1656
+
1657
+ # Serialization context propagated from the Nexus caller that started this workflow.
1658
+ sig { params(value: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)).void }
1659
+ def propagated_nexus_serialization_context=(value)
1660
+ end
1661
+
1662
+ # Serialization context propagated from the Nexus caller that started this workflow.
1663
+ sig { void }
1664
+ def clear_propagated_nexus_serialization_context
1665
+ end
1666
+
1650
1667
  sig { params(field: String).returns(T.untyped) }
1651
1668
  def [](field)
1652
1669
  end
@@ -2006,14 +2023,16 @@ class Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryResponse
2006
2023
  history: T.nilable(Temporalio::Api::History::V1::History),
2007
2024
  raw_history: T.nilable(T::Array[T.nilable(Temporalio::Api::Common::V1::DataBlob)]),
2008
2025
  next_page_token: T.nilable(String),
2009
- archived: T.nilable(T::Boolean)
2026
+ archived: T.nilable(T::Boolean),
2027
+ propagated_nexus_serialization_context: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)
2010
2028
  ).void
2011
2029
  end
2012
2030
  def initialize(
2013
2031
  history: nil,
2014
2032
  raw_history: [],
2015
2033
  next_page_token: "",
2016
- archived: false
2034
+ archived: false,
2035
+ propagated_nexus_serialization_context: nil
2017
2036
  )
2018
2037
  end
2019
2038
 
@@ -2074,6 +2093,27 @@ class Temporalio::Api::WorkflowService::V1::GetWorkflowExecutionHistoryResponse
2074
2093
  def clear_archived
2075
2094
  end
2076
2095
 
2096
+ # Serialization context propagated from the Nexus caller that started this run.
2097
+ # Returned on the initial request (without next_page_token) when present. Clients should
2098
+ # retain it across paginated responses, which may omit it.
2099
+ sig { returns(T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)) }
2100
+ def propagated_nexus_serialization_context
2101
+ end
2102
+
2103
+ # Serialization context propagated from the Nexus caller that started this run.
2104
+ # Returned on the initial request (without next_page_token) when present. Clients should
2105
+ # retain it across paginated responses, which may omit it.
2106
+ sig { params(value: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)).void }
2107
+ def propagated_nexus_serialization_context=(value)
2108
+ end
2109
+
2110
+ # Serialization context propagated from the Nexus caller that started this run.
2111
+ # Returned on the initial request (without next_page_token) when present. Clients should
2112
+ # retain it across paginated responses, which may omit it.
2113
+ sig { void }
2114
+ def clear_propagated_nexus_serialization_context
2115
+ end
2116
+
2077
2117
  sig { params(field: String).returns(T.untyped) }
2078
2118
  def [](field)
2079
2119
  end
@@ -4072,7 +4112,8 @@ class Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueResponse
4072
4112
  priority: T.nilable(Temporalio::Api::Common::V1::Priority),
4073
4113
  activity_run_id: T.nilable(String),
4074
4114
  poller_group_infos: T.nilable(T::Array[T.nilable(Temporalio::Api::TaskQueue::V1::PollerGroupInfo)]),
4075
- poller_groups_info: T.nilable(Temporalio::Api::TaskQueue::V1::PollerGroupsInfo)
4115
+ poller_groups_info: T.nilable(Temporalio::Api::TaskQueue::V1::PollerGroupsInfo),
4116
+ propagated_nexus_serialization_context: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)
4076
4117
  ).void
4077
4118
  end
4078
4119
  def initialize(
@@ -4097,7 +4138,8 @@ class Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueResponse
4097
4138
  priority: nil,
4098
4139
  activity_run_id: "",
4099
4140
  poller_group_infos: [],
4100
- poller_groups_info: nil
4141
+ poller_groups_info: nil,
4142
+ propagated_nexus_serialization_context: nil
4101
4143
  )
4102
4144
  end
4103
4145
 
@@ -4506,6 +4548,21 @@ class Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueResponse
4506
4548
  def clear_poller_groups_info
4507
4549
  end
4508
4550
 
4551
+ # Serialization context propagated from the Nexus caller that started this activity.
4552
+ sig { returns(T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)) }
4553
+ def propagated_nexus_serialization_context
4554
+ end
4555
+
4556
+ # Serialization context propagated from the Nexus caller that started this activity.
4557
+ sig { params(value: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)).void }
4558
+ def propagated_nexus_serialization_context=(value)
4559
+ end
4560
+
4561
+ # Serialization context propagated from the Nexus caller that started this activity.
4562
+ sig { void }
4563
+ def clear_propagated_nexus_serialization_context
4564
+ end
4565
+
4509
4566
  sig { params(field: String).returns(T.untyped) }
4510
4567
  def [](field)
4511
4568
  end
@@ -5491,7 +5548,8 @@ class Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedRequest
5491
5548
  last_heartbeat_details: T.nilable(Temporalio::Api::Common::V1::Payloads),
5492
5549
  worker_version: T.nilable(Temporalio::Api::Common::V1::WorkerVersionStamp),
5493
5550
  deployment: T.nilable(Temporalio::Api::Deployment::V1::Deployment),
5494
- deployment_options: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentOptions)
5551
+ deployment_options: T.nilable(Temporalio::Api::Deployment::V1::WorkerDeploymentOptions),
5552
+ cause: T.nilable(T.any(Symbol, String, Integer))
5495
5553
  ).void
5496
5554
  end
5497
5555
  def initialize(
@@ -5503,7 +5561,8 @@ class Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedRequest
5503
5561
  last_heartbeat_details: nil,
5504
5562
  worker_version: nil,
5505
5563
  deployment: nil,
5506
- deployment_options: nil
5564
+ deployment_options: nil,
5565
+ cause: :ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED
5507
5566
  )
5508
5567
  end
5509
5568
 
@@ -5654,6 +5713,21 @@ class Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedRequest
5654
5713
  def clear_deployment_options
5655
5714
  end
5656
5715
 
5716
+ # Why did the task fail? When unset, the failure is treated as an unspecified activity failure.
5717
+ sig { returns(T.any(Symbol, Integer)) }
5718
+ def cause
5719
+ end
5720
+
5721
+ # Why did the task fail? When unset, the failure is treated as an unspecified activity failure.
5722
+ sig { params(value: T.any(Symbol, String, Integer)).void }
5723
+ def cause=(value)
5724
+ end
5725
+
5726
+ # Why did the task fail? When unset, the failure is treated as an unspecified activity failure.
5727
+ sig { void }
5728
+ def clear_cause
5729
+ end
5730
+
5657
5731
  sig { params(field: String).returns(T.untyped) }
5658
5732
  def [](field)
5659
5733
  end
@@ -5765,7 +5839,8 @@ class Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedByIdRequest
5765
5839
  failure: T.nilable(Temporalio::Api::Failure::V1::Failure),
5766
5840
  identity: T.nilable(String),
5767
5841
  last_heartbeat_details: T.nilable(Temporalio::Api::Common::V1::Payloads),
5768
- resource_id: T.nilable(String)
5842
+ resource_id: T.nilable(String),
5843
+ cause: T.nilable(T.any(Symbol, String, Integer))
5769
5844
  ).void
5770
5845
  end
5771
5846
  def initialize(
@@ -5776,7 +5851,8 @@ class Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedByIdRequest
5776
5851
  failure: nil,
5777
5852
  identity: "",
5778
5853
  last_heartbeat_details: nil,
5779
- resource_id: ""
5854
+ resource_id: "",
5855
+ cause: :ACTIVITY_TASK_FAILED_CAUSE_UNSPECIFIED
5780
5856
  )
5781
5857
  end
5782
5858
 
@@ -5903,6 +5979,24 @@ class Temporalio::Api::WorkflowService::V1::RespondActivityTaskFailedByIdRequest
5903
5979
  def clear_resource_id
5904
5980
  end
5905
5981
 
5982
+ # Why did the activity task fail? Optional; when unset the failure is treated as a normal
5983
+ # activity failure. See the type's doc for more.
5984
+ sig { returns(T.any(Symbol, Integer)) }
5985
+ def cause
5986
+ end
5987
+
5988
+ # Why did the activity task fail? Optional; when unset the failure is treated as a normal
5989
+ # activity failure. See the type's doc for more.
5990
+ sig { params(value: T.any(Symbol, String, Integer)).void }
5991
+ def cause=(value)
5992
+ end
5993
+
5994
+ # Why did the activity task fail? Optional; when unset the failure is treated as a normal
5995
+ # activity failure. See the type's doc for more.
5996
+ sig { void }
5997
+ def clear_cause
5998
+ end
5999
+
5906
6000
  sig { params(field: String).returns(T.untyped) }
5907
6001
  def [](field)
5908
6002
  end
@@ -25041,7 +25135,9 @@ class Temporalio::Api::WorkflowService::V1::StartActivityExecutionRequest
25041
25135
  completion_callbacks: T.nilable(T::Array[T.nilable(Temporalio::Api::Common::V1::Callback)]),
25042
25136
  links: T.nilable(T::Array[T.nilable(Temporalio::Api::Common::V1::Link)]),
25043
25137
  on_conflict_options: T.nilable(Temporalio::Api::Common::V1::OnConflictOptions),
25044
- start_delay: T.nilable(Google::Protobuf::Duration)
25138
+ start_delay: T.nilable(Google::Protobuf::Duration),
25139
+ propagated_nexus_serialization_context: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext),
25140
+ request_eager_execution: T.nilable(T::Boolean)
25045
25141
  ).void
25046
25142
  end
25047
25143
  def initialize(
@@ -25066,7 +25162,9 @@ class Temporalio::Api::WorkflowService::V1::StartActivityExecutionRequest
25066
25162
  completion_callbacks: [],
25067
25163
  links: [],
25068
25164
  on_conflict_options: nil,
25069
- start_delay: nil
25165
+ start_delay: nil,
25166
+ propagated_nexus_serialization_context: nil,
25167
+ request_eager_execution: false
25070
25168
  )
25071
25169
  end
25072
25170
 
@@ -25457,6 +25555,45 @@ class Temporalio::Api::WorkflowService::V1::StartActivityExecutionRequest
25457
25555
  def clear_start_delay
25458
25556
  end
25459
25557
 
25558
+ # Serialization context propagated from the Nexus caller that started this activity.
25559
+ sig { returns(T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)) }
25560
+ def propagated_nexus_serialization_context
25561
+ end
25562
+
25563
+ # Serialization context propagated from the Nexus caller that started this activity.
25564
+ sig { params(value: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)).void }
25565
+ def propagated_nexus_serialization_context=(value)
25566
+ end
25567
+
25568
+ # Serialization context propagated from the Nexus caller that started this activity.
25569
+ sig { void }
25570
+ def clear_propagated_nexus_serialization_context
25571
+ end
25572
+
25573
+ # Request that the first activity task be returned directly in the start response instead of
25574
+ # being dispatched through a task queue. If set to true, the caller is expected to have a
25575
+ # worker available and capable of processing the task. The returned task will be marked as
25576
+ # started. The server may ignore this request.
25577
+ sig { returns(T::Boolean) }
25578
+ def request_eager_execution
25579
+ end
25580
+
25581
+ # Request that the first activity task be returned directly in the start response instead of
25582
+ # being dispatched through a task queue. If set to true, the caller is expected to have a
25583
+ # worker available and capable of processing the task. The returned task will be marked as
25584
+ # started. The server may ignore this request.
25585
+ sig { params(value: T::Boolean).void }
25586
+ def request_eager_execution=(value)
25587
+ end
25588
+
25589
+ # Request that the first activity task be returned directly in the start response instead of
25590
+ # being dispatched through a task queue. If set to true, the caller is expected to have a
25591
+ # worker available and capable of processing the task. The returned task will be marked as
25592
+ # started. The server may ignore this request.
25593
+ sig { void }
25594
+ def clear_request_eager_execution
25595
+ end
25596
+
25460
25597
  sig { params(field: String).returns(T.untyped) }
25461
25598
  def [](field)
25462
25599
  end
@@ -25498,13 +25635,15 @@ class Temporalio::Api::WorkflowService::V1::StartActivityExecutionResponse
25498
25635
  params(
25499
25636
  run_id: T.nilable(String),
25500
25637
  started: T.nilable(T::Boolean),
25501
- link: T.nilable(Temporalio::Api::Common::V1::Link)
25638
+ link: T.nilable(Temporalio::Api::Common::V1::Link),
25639
+ eager_activity_task: T.nilable(Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueResponse)
25502
25640
  ).void
25503
25641
  end
25504
25642
  def initialize(
25505
25643
  run_id: "",
25506
25644
  started: false,
25507
- link: nil
25645
+ link: nil,
25646
+ eager_activity_task: nil
25508
25647
  )
25509
25648
  end
25510
25649
 
@@ -25553,6 +25692,24 @@ class Temporalio::Api::WorkflowService::V1::StartActivityExecutionResponse
25553
25692
  def clear_link
25554
25693
  end
25555
25694
 
25695
+ # The first activity task when eager execution was requested and accepted.
25696
+ # This is set only for the first attempt of a newly started activity.
25697
+ sig { returns(T.nilable(Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueResponse)) }
25698
+ def eager_activity_task
25699
+ end
25700
+
25701
+ # The first activity task when eager execution was requested and accepted.
25702
+ # This is set only for the first attempt of a newly started activity.
25703
+ sig { params(value: T.nilable(Temporalio::Api::WorkflowService::V1::PollActivityTaskQueueResponse)).void }
25704
+ def eager_activity_task=(value)
25705
+ end
25706
+
25707
+ # The first activity task when eager execution was requested and accepted.
25708
+ # This is set only for the first attempt of a newly started activity.
25709
+ sig { void }
25710
+ def clear_eager_activity_task
25711
+ end
25712
+
25556
25713
  sig { params(field: String).returns(T.untyped) }
25557
25714
  def [](field)
25558
25715
  end
@@ -26026,12 +26183,14 @@ class Temporalio::Api::WorkflowService::V1::PollActivityExecutionResponse
26026
26183
  sig do
26027
26184
  params(
26028
26185
  run_id: T.nilable(String),
26029
- outcome: T.nilable(Temporalio::Api::Activity::V1::ActivityExecutionOutcome)
26186
+ outcome: T.nilable(Temporalio::Api::Activity::V1::ActivityExecutionOutcome),
26187
+ propagated_nexus_serialization_context: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)
26030
26188
  ).void
26031
26189
  end
26032
26190
  def initialize(
26033
26191
  run_id: "",
26034
- outcome: nil
26192
+ outcome: nil,
26193
+ propagated_nexus_serialization_context: nil
26035
26194
  )
26036
26195
  end
26037
26196
 
@@ -26062,6 +26221,21 @@ class Temporalio::Api::WorkflowService::V1::PollActivityExecutionResponse
26062
26221
  def clear_outcome
26063
26222
  end
26064
26223
 
26224
+ # Serialization context propagated from the Nexus caller that started this activity.
26225
+ sig { returns(T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)) }
26226
+ def propagated_nexus_serialization_context
26227
+ end
26228
+
26229
+ # Serialization context propagated from the Nexus caller that started this activity.
26230
+ sig { params(value: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)).void }
26231
+ def propagated_nexus_serialization_context=(value)
26232
+ end
26233
+
26234
+ # Serialization context propagated from the Nexus caller that started this activity.
26235
+ sig { void }
26236
+ def clear_propagated_nexus_serialization_context
26237
+ end
26238
+
26065
26239
  sig { params(field: String).returns(T.untyped) }
26066
26240
  def [](field)
26067
26241
  end
@@ -26300,9 +26474,12 @@ class Temporalio::Api::WorkflowService::V1::StartNexusOperationExecutionRequest
26300
26474
  input: T.nilable(Temporalio::Api::Common::V1::Payload),
26301
26475
  id_reuse_policy: T.nilable(T.any(Symbol, String, Integer)),
26302
26476
  id_conflict_policy: T.nilable(T.any(Symbol, String, Integer)),
26477
+ on_conflict_options: T.nilable(Temporalio::Api::NexusOperation::V1::OnConflictOptions),
26303
26478
  search_attributes: T.nilable(Temporalio::Api::Common::V1::SearchAttributes),
26304
26479
  nexus_header: T.nilable(T::Hash[String, String]),
26305
- user_metadata: T.nilable(Temporalio::Api::Sdk::V1::UserMetadata)
26480
+ user_metadata: T.nilable(Temporalio::Api::Sdk::V1::UserMetadata),
26481
+ completion_callbacks: T.nilable(T::Array[T.nilable(Temporalio::Api::Common::V1::Callback)]),
26482
+ links: T.nilable(T::Array[T.nilable(Temporalio::Api::Common::V1::Link)])
26306
26483
  ).void
26307
26484
  end
26308
26485
  def initialize(
@@ -26319,9 +26496,12 @@ class Temporalio::Api::WorkflowService::V1::StartNexusOperationExecutionRequest
26319
26496
  input: nil,
26320
26497
  id_reuse_policy: :NEXUS_OPERATION_ID_REUSE_POLICY_UNSPECIFIED,
26321
26498
  id_conflict_policy: :NEXUS_OPERATION_ID_CONFLICT_POLICY_UNSPECIFIED,
26499
+ on_conflict_options: nil,
26322
26500
  search_attributes: nil,
26323
26501
  nexus_header: ::Google::Protobuf::Map.new(:string, :string),
26324
- user_metadata: nil
26502
+ user_metadata: nil,
26503
+ completion_callbacks: [],
26504
+ links: []
26325
26505
  )
26326
26506
  end
26327
26507
 
@@ -26574,6 +26754,27 @@ class Temporalio::Api::WorkflowService::V1::StartNexusOperationExecutionRequest
26574
26754
  def clear_id_conflict_policy
26575
26755
  end
26576
26756
 
26757
+ # Defines actions to be done to the existing running standalone Nexus when the conflict policy
26758
+ # NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING is used. If not set or set to a empty object
26759
+ # (all options with default value), it will not modify the running operation.
26760
+ sig { returns(T.nilable(Temporalio::Api::NexusOperation::V1::OnConflictOptions)) }
26761
+ def on_conflict_options
26762
+ end
26763
+
26764
+ # Defines actions to be done to the existing running standalone Nexus when the conflict policy
26765
+ # NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING is used. If not set or set to a empty object
26766
+ # (all options with default value), it will not modify the running operation.
26767
+ sig { params(value: T.nilable(Temporalio::Api::NexusOperation::V1::OnConflictOptions)).void }
26768
+ def on_conflict_options=(value)
26769
+ end
26770
+
26771
+ # Defines actions to be done to the existing running standalone Nexus when the conflict policy
26772
+ # NEXUS_OPERATION_ID_CONFLICT_POLICY_USE_EXISTING is used. If not set or set to a empty object
26773
+ # (all options with default value), it will not modify the running operation.
26774
+ sig { void }
26775
+ def clear_on_conflict_options
26776
+ end
26777
+
26577
26778
  # Search attributes for indexing.
26578
26779
  sig { returns(T.nilable(Temporalio::Api::Common::V1::SearchAttributes)) }
26579
26780
  def search_attributes
@@ -26634,6 +26835,39 @@ class Temporalio::Api::WorkflowService::V1::StartNexusOperationExecutionRequest
26634
26835
  def clear_user_metadata
26635
26836
  end
26636
26837
 
26838
+ # Completion callbacks to be invoked once the Nexus operation reaches a terminal state.
26839
+ sig { returns(T::Array[T.nilable(Temporalio::Api::Common::V1::Callback)]) }
26840
+ def completion_callbacks
26841
+ end
26842
+
26843
+ # Completion callbacks to be invoked once the Nexus operation reaches a terminal state.
26844
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
26845
+ def completion_callbacks=(value)
26846
+ end
26847
+
26848
+ # Completion callbacks to be invoked once the Nexus operation reaches a terminal state.
26849
+ sig { void }
26850
+ def clear_completion_callbacks
26851
+ end
26852
+
26853
+ # Links to be associated with the Nexus operation. Callbacks may also have associated links;
26854
+ # links already included with a callback should not be duplicated here.
26855
+ sig { returns(T::Array[T.nilable(Temporalio::Api::Common::V1::Link)]) }
26856
+ def links
26857
+ end
26858
+
26859
+ # Links to be associated with the Nexus operation. Callbacks may also have associated links;
26860
+ # links already included with a callback should not be duplicated here.
26861
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
26862
+ def links=(value)
26863
+ end
26864
+
26865
+ # Links to be associated with the Nexus operation. Callbacks may also have associated links;
26866
+ # links already included with a callback should not be duplicated here.
26867
+ sig { void }
26868
+ def clear_links
26869
+ end
26870
+
26637
26871
  sig { params(field: String).returns(T.untyped) }
26638
26872
  def [](field)
26639
26873
  end
@@ -26913,7 +27147,8 @@ class Temporalio::Api::WorkflowService::V1::DescribeNexusOperationExecutionRespo
26913
27147
  input: T.nilable(Temporalio::Api::Common::V1::Payload),
26914
27148
  result: T.nilable(Temporalio::Api::Common::V1::Payload),
26915
27149
  failure: T.nilable(Temporalio::Api::Failure::V1::Failure),
26916
- long_poll_token: T.nilable(String)
27150
+ long_poll_token: T.nilable(String),
27151
+ completion_callbacks: T.nilable(T::Array[T.nilable(Temporalio::Api::NexusOperation::V1::CallbackInfo)])
26917
27152
  ).void
26918
27153
  end
26919
27154
  def initialize(
@@ -26922,7 +27157,8 @@ class Temporalio::Api::WorkflowService::V1::DescribeNexusOperationExecutionRespo
26922
27157
  input: nil,
26923
27158
  result: nil,
26924
27159
  failure: nil,
26925
- long_poll_token: ""
27160
+ long_poll_token: "",
27161
+ completion_callbacks: []
26926
27162
  )
26927
27163
  end
26928
27164
 
@@ -27019,6 +27255,24 @@ class Temporalio::Api::WorkflowService::V1::DescribeNexusOperationExecutionRespo
27019
27255
  def clear_long_poll_token
27020
27256
  end
27021
27257
 
27258
+ # Completion callbacks to be invoked once the Nexus operation reaches a terminal state.
27259
+ # They will remain in the CALLBACK_STATE_STANDBY state until the Nexus operation is finished.
27260
+ sig { returns(T::Array[T.nilable(Temporalio::Api::NexusOperation::V1::CallbackInfo)]) }
27261
+ def completion_callbacks
27262
+ end
27263
+
27264
+ # Completion callbacks to be invoked once the Nexus operation reaches a terminal state.
27265
+ # They will remain in the CALLBACK_STATE_STANDBY state until the Nexus operation is finished.
27266
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
27267
+ def completion_callbacks=(value)
27268
+ end
27269
+
27270
+ # Completion callbacks to be invoked once the Nexus operation reaches a terminal state.
27271
+ # They will remain in the CALLBACK_STATE_STANDBY state until the Nexus operation is finished.
27272
+ sig { void }
27273
+ def clear_completion_callbacks
27274
+ end
27275
+
27022
27276
  sig { returns(T.nilable(Symbol)) }
27023
27277
  def outcome
27024
27278
  end
@@ -27172,6 +27426,7 @@ class Temporalio::Api::WorkflowService::V1::PollNexusOperationExecutionResponse
27172
27426
  run_id: T.nilable(String),
27173
27427
  wait_stage: T.nilable(T.any(Symbol, String, Integer)),
27174
27428
  operation_token: T.nilable(String),
27429
+ propagated_nexus_serialization_context: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext),
27175
27430
  result: T.nilable(Temporalio::Api::Common::V1::Payload),
27176
27431
  failure: T.nilable(Temporalio::Api::Failure::V1::Failure)
27177
27432
  ).void
@@ -27180,6 +27435,7 @@ class Temporalio::Api::WorkflowService::V1::PollNexusOperationExecutionResponse
27180
27435
  run_id: "",
27181
27436
  wait_stage: :NEXUS_OPERATION_WAIT_STAGE_UNSPECIFIED,
27182
27437
  operation_token: "",
27438
+ propagated_nexus_serialization_context: nil,
27183
27439
  result: nil,
27184
27440
  failure: nil
27185
27441
  )
@@ -27230,6 +27486,24 @@ class Temporalio::Api::WorkflowService::V1::PollNexusOperationExecutionResponse
27230
27486
  def clear_operation_token
27231
27487
  end
27232
27488
 
27489
+ # Serialization context for this operation's payloads, derived from its stored target.
27490
+ # For a reused operation, this is the original execution's context.
27491
+ sig { returns(T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)) }
27492
+ def propagated_nexus_serialization_context
27493
+ end
27494
+
27495
+ # Serialization context for this operation's payloads, derived from its stored target.
27496
+ # For a reused operation, this is the original execution's context.
27497
+ sig { params(value: T.nilable(Temporalio::Api::Nexus::V1::PropagatedSerializationContext)).void }
27498
+ def propagated_nexus_serialization_context=(value)
27499
+ end
27500
+
27501
+ # Serialization context for this operation's payloads, derived from its stored target.
27502
+ # For a reused operation, this is the original execution's context.
27503
+ sig { void }
27504
+ def clear_propagated_nexus_serialization_context
27505
+ end
27506
+
27233
27507
  # The result if the operation completed successfully.
27234
27508
  sig { returns(T.nilable(Temporalio::Api::Common::V1::Payload)) }
27235
27509
  def result
@@ -772,7 +772,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
772
772
  end
773
773
 
774
774
  # Describes a worker deployment.
775
- # Experimental. This API might significantly change or be removed in a future release.
776
775
  # Deprecated. Replaced with `DescribeWorkerDeploymentVersion`.
777
776
  sig do
778
777
  params(
@@ -783,7 +782,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
783
782
  end
784
783
 
785
784
  # Describes a worker deployment version.
786
- # Experimental. This API might significantly change or be removed in a future release.
787
785
  sig do
788
786
  params(
789
787
  request: Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentVersionRequest
@@ -794,7 +792,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
794
792
 
795
793
  # Lists worker deployments in the namespace. Optionally can filter based on deployment series
796
794
  # name.
797
- # Experimental. This API might significantly change or be removed in a future release.
798
795
  # Deprecated. Replaced with `ListWorkerDeployments`.
799
796
  sig do
800
797
  params(
@@ -810,7 +807,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
810
807
  # Calculating reachability is relatively expensive. Therefore, server might return a recently
811
808
  # cached value. In such a case, the `last_update_time` will inform you about the actual
812
809
  # reachability calculation time.
813
- # Experimental. This API might significantly change or be removed in a future release.
814
810
  # Deprecated. Replaced with `DrainageInfo` returned by `DescribeWorkerDeploymentVersion`.
815
811
  sig do
816
812
  params(
@@ -821,7 +817,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
821
817
  end
822
818
 
823
819
  # Returns the current deployment (and its info) for a given deployment series.
824
- # Experimental. This API might significantly change or be removed in a future release.
825
820
  # Deprecated. Replaced by `current_version` returned by `DescribeWorkerDeployment`.
826
821
  sig do
827
822
  params(
@@ -833,7 +828,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
833
828
 
834
829
  # Sets a deployment as the current deployment for its deployment series. Can optionally update
835
830
  # the metadata of the deployment as well.
836
- # Experimental. This API might significantly change or be removed in a future release.
837
831
  # Deprecated. Replaced by `SetWorkerDeploymentCurrentVersion`.
838
832
  sig do
839
833
  params(
@@ -845,7 +839,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
845
839
 
846
840
  # Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping
847
841
  # Version if it is the Version being set as Current.
848
- # Experimental. This API might significantly change or be removed in a future release.
849
842
  sig do
850
843
  params(
851
844
  request: Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentCurrentVersionRequest
@@ -855,7 +848,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
855
848
  end
856
849
 
857
850
  # Describes a Worker Deployment.
858
- # Experimental. This API might significantly change or be removed in a future release.
859
851
  sig do
860
852
  params(
861
853
  request: Temporalio::Api::WorkflowService::V1::DescribeWorkerDeploymentRequest
@@ -866,7 +858,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
866
858
 
867
859
  # Deletes records of (an old) Deployment. A deployment can only be deleted if
868
860
  # it has no Version in it.
869
- # Experimental. This API might significantly change or be removed in a future release.
870
861
  sig do
871
862
  params(
872
863
  request: Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentRequest
@@ -881,7 +872,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
881
872
  # - It has no active pollers (none of the task queues in the Version have pollers)
882
873
  # - It is not draining (see WorkerDeploymentVersionInfo.drainage_info). This condition
883
874
  # can be skipped by passing `skip-drainage=true`.
884
- # Experimental. This API might significantly change or be removed in a future release.
885
875
  sig do
886
876
  params(
887
877
  request: Temporalio::Api::WorkflowService::V1::DeleteWorkerDeploymentVersionRequest
@@ -892,7 +882,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
892
882
 
893
883
  # Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for
894
884
  # gradual ramp to unversioned workers too.
895
- # Experimental. This API might significantly change or be removed in a future release.
896
885
  sig do
897
886
  params(
898
887
  request: Temporalio::Api::WorkflowService::V1::SetWorkerDeploymentRampingVersionRequest
@@ -902,7 +891,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
902
891
  end
903
892
 
904
893
  # Lists all Worker Deployments that are tracked in the Namespace.
905
- # Experimental. This API might significantly change or be removed in a future release.
906
894
  sig do
907
895
  params(
908
896
  request: Temporalio::Api::WorkflowService::V1::ListWorkerDeploymentsRequest
@@ -956,7 +944,6 @@ module Temporalio::Api::WorkflowService::V1::WorkflowService
956
944
  end
957
945
 
958
946
  # Updates the user-given metadata attached to a Worker Deployment Version.
959
- # Experimental. This API might significantly change or be removed in a future release.
960
947
  sig do
961
948
  params(
962
949
  request: Temporalio::Api::WorkflowService::V1::UpdateWorkerDeploymentVersionMetadataRequest
@@ -149,7 +149,7 @@ class Temporalio::Client::ActivityExecution::Description < ::Temporalio::Client:
149
149
  def canceled_reason; end
150
150
 
151
151
  sig { returns(T.nilable(String)) }
152
- def static_summary; end
152
+ def summary; end
153
153
 
154
154
  sig { returns(T.nilable(String)) }
155
155
  def static_details; end
@@ -792,7 +792,7 @@ class Temporalio::Client::Interceptor::StartActivityInput < ::Data
792
792
  def search_attributes; end
793
793
 
794
794
  sig { returns(T.nilable(String)) }
795
- def static_summary; end
795
+ def summary; end
796
796
 
797
797
  sig { returns(T.nilable(String)) }
798
798
  def static_details; end
@@ -377,7 +377,7 @@ class Temporalio::Client::Schedule::Policy < ::Data
377
377
  sig do
378
378
  params(
379
379
  overlap: Integer,
380
- catchup_window: T.any(Integer, Float),
380
+ catchup_window: T.nilable(T.any(Integer, Float)),
381
381
  pause_on_failure: T::Boolean
382
382
  ).void
383
383
  end
@@ -386,7 +386,7 @@ class Temporalio::Client::Schedule::Policy < ::Data
386
386
  sig { returns(Integer) }
387
387
  def overlap; end
388
388
 
389
- sig { returns(T.any(Integer, Float)) }
389
+ sig { returns(T.nilable(T.any(Integer, Float))) }
390
390
  def catchup_window; end
391
391
 
392
392
  sig { returns(T::Boolean) }