temporalio 0.1.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (628) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -0
  3. data/Cargo.lock +4324 -0
  4. data/Cargo.toml +25 -0
  5. data/Gemfile +20 -0
  6. data/LICENSE +16 -15
  7. data/README.md +985 -183
  8. data/Rakefile +101 -0
  9. data/ext/Cargo.toml +26 -0
  10. data/lib/temporalio/activity/complete_async_error.rb +11 -0
  11. data/lib/temporalio/activity/context.rb +86 -78
  12. data/lib/temporalio/activity/definition.rb +175 -0
  13. data/lib/temporalio/activity/info.rb +44 -47
  14. data/lib/temporalio/activity.rb +8 -81
  15. data/lib/temporalio/api/activity/v1/message.rb +25 -0
  16. data/lib/temporalio/api/batch/v1/message.rb +31 -0
  17. data/lib/temporalio/api/cloud/account/v1/message.rb +28 -0
  18. data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +126 -0
  19. data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +25 -0
  20. data/lib/temporalio/api/cloud/cloudservice.rb +3 -0
  21. data/lib/temporalio/api/cloud/identity/v1/message.rb +41 -0
  22. data/lib/temporalio/api/cloud/namespace/v1/message.rb +42 -0
  23. data/lib/temporalio/api/cloud/nexus/v1/message.rb +31 -0
  24. data/lib/temporalio/api/cloud/operation/v1/message.rb +28 -0
  25. data/lib/temporalio/api/cloud/region/v1/message.rb +24 -0
  26. data/lib/temporalio/api/cloud/resource/v1/message.rb +23 -0
  27. data/lib/temporalio/api/cloud/sink/v1/message.rb +24 -0
  28. data/lib/temporalio/api/cloud/usage/v1/message.rb +31 -0
  29. data/lib/temporalio/api/command/v1/message.rb +46 -0
  30. data/lib/temporalio/api/common/v1/grpc_status.rb +23 -0
  31. data/lib/temporalio/api/common/v1/message.rb +47 -0
  32. data/lib/temporalio/api/enums/v1/batch_operation.rb +22 -0
  33. data/lib/temporalio/api/enums/v1/command_type.rb +21 -0
  34. data/lib/temporalio/api/enums/v1/common.rb +26 -0
  35. data/lib/temporalio/api/enums/v1/event_type.rb +21 -0
  36. data/lib/temporalio/api/enums/v1/failed_cause.rb +26 -0
  37. data/lib/temporalio/api/enums/v1/namespace.rb +23 -0
  38. data/lib/temporalio/api/enums/v1/query.rb +22 -0
  39. data/lib/temporalio/api/enums/v1/reset.rb +23 -0
  40. data/lib/temporalio/api/enums/v1/schedule.rb +21 -0
  41. data/lib/temporalio/api/enums/v1/task_queue.rb +25 -0
  42. data/lib/temporalio/api/enums/v1/update.rb +22 -0
  43. data/lib/temporalio/api/enums/v1/workflow.rb +30 -0
  44. data/lib/temporalio/api/errordetails/v1/message.rb +42 -0
  45. data/lib/temporalio/api/export/v1/message.rb +24 -0
  46. data/lib/temporalio/api/failure/v1/message.rb +35 -0
  47. data/lib/temporalio/api/filter/v1/message.rb +27 -0
  48. data/lib/temporalio/api/history/v1/message.rb +90 -0
  49. data/lib/temporalio/api/namespace/v1/message.rb +31 -0
  50. data/lib/temporalio/api/nexus/v1/message.rb +40 -0
  51. data/lib/temporalio/api/operatorservice/v1/request_response.rb +49 -0
  52. data/lib/temporalio/api/operatorservice/v1/service.rb +23 -0
  53. data/lib/temporalio/api/operatorservice.rb +3 -0
  54. data/lib/temporalio/api/payload_visitor.rb +1513 -0
  55. data/lib/temporalio/api/protocol/v1/message.rb +23 -0
  56. data/lib/temporalio/api/query/v1/message.rb +27 -0
  57. data/lib/temporalio/api/replication/v1/message.rb +26 -0
  58. data/lib/temporalio/api/schedule/v1/message.rb +43 -0
  59. data/lib/temporalio/api/sdk/v1/enhanced_stack_trace.rb +25 -0
  60. data/lib/temporalio/api/sdk/v1/task_complete_metadata.rb +21 -0
  61. data/lib/temporalio/api/sdk/v1/user_metadata.rb +23 -0
  62. data/lib/temporalio/api/sdk/v1/workflow_metadata.rb +23 -0
  63. data/lib/temporalio/api/taskqueue/v1/message.rb +45 -0
  64. data/lib/{gen/temporal/api/testservice/v1/request_response_pb.rb → temporalio/api/testservice/v1/request_response.rb} +6 -24
  65. data/lib/temporalio/api/testservice/v1/service.rb +23 -0
  66. data/lib/temporalio/api/update/v1/message.rb +33 -0
  67. data/lib/temporalio/api/version/v1/message.rb +26 -0
  68. data/lib/temporalio/api/workflow/v1/message.rb +43 -0
  69. data/lib/temporalio/api/workflowservice/v1/request_response.rb +204 -0
  70. data/lib/temporalio/api/workflowservice/v1/service.rb +23 -0
  71. data/lib/temporalio/api/workflowservice.rb +3 -0
  72. data/lib/temporalio/api.rb +14 -0
  73. data/lib/temporalio/cancellation.rb +170 -0
  74. data/lib/temporalio/client/activity_id_reference.rb +32 -0
  75. data/lib/temporalio/client/async_activity_handle.rb +85 -0
  76. data/lib/temporalio/client/connection/cloud_service.rb +726 -0
  77. data/lib/temporalio/client/connection/operator_service.rb +201 -0
  78. data/lib/temporalio/client/connection/service.rb +42 -0
  79. data/lib/temporalio/client/connection/test_service.rb +111 -0
  80. data/lib/temporalio/client/connection/workflow_service.rb +1041 -0
  81. data/lib/temporalio/client/connection.rb +316 -0
  82. data/lib/temporalio/client/interceptor.rb +416 -0
  83. data/lib/temporalio/client/schedule.rb +967 -0
  84. data/lib/temporalio/client/schedule_handle.rb +126 -0
  85. data/lib/temporalio/client/workflow_execution.rb +100 -0
  86. data/lib/temporalio/client/workflow_execution_count.rb +36 -0
  87. data/lib/temporalio/client/workflow_execution_status.rb +18 -0
  88. data/lib/temporalio/client/workflow_handle.rb +326 -180
  89. data/lib/temporalio/client/workflow_query_reject_condition.rb +14 -0
  90. data/lib/temporalio/client/workflow_update_handle.rb +65 -0
  91. data/lib/temporalio/client/workflow_update_wait_stage.rb +17 -0
  92. data/lib/temporalio/client.rb +447 -94
  93. data/lib/temporalio/common_enums.rb +41 -0
  94. data/lib/temporalio/converters/data_converter.rb +99 -0
  95. data/lib/temporalio/converters/failure_converter.rb +202 -0
  96. data/lib/temporalio/converters/payload_codec.rb +26 -0
  97. data/lib/temporalio/converters/payload_converter/binary_null.rb +34 -0
  98. data/lib/temporalio/converters/payload_converter/binary_plain.rb +35 -0
  99. data/lib/temporalio/converters/payload_converter/binary_protobuf.rb +42 -0
  100. data/lib/temporalio/converters/payload_converter/composite.rb +66 -0
  101. data/lib/temporalio/converters/payload_converter/encoding.rb +35 -0
  102. data/lib/temporalio/converters/payload_converter/json_plain.rb +44 -0
  103. data/lib/temporalio/converters/payload_converter/json_protobuf.rb +41 -0
  104. data/lib/temporalio/converters/payload_converter.rb +71 -0
  105. data/lib/temporalio/converters/raw_value.rb +20 -0
  106. data/lib/temporalio/converters.rb +9 -0
  107. data/lib/temporalio/error/failure.rb +119 -94
  108. data/lib/temporalio/error.rb +155 -0
  109. data/lib/temporalio/internal/bridge/api/activity_result/activity_result.rb +34 -0
  110. data/lib/temporalio/internal/bridge/api/activity_task/activity_task.rb +31 -0
  111. data/lib/temporalio/internal/bridge/api/child_workflow/child_workflow.rb +33 -0
  112. data/lib/temporalio/internal/bridge/api/common/common.rb +26 -0
  113. data/lib/temporalio/internal/bridge/api/core_interface.rb +40 -0
  114. data/lib/temporalio/internal/bridge/api/external_data/external_data.rb +27 -0
  115. data/lib/temporalio/internal/bridge/api/nexus/nexus.rb +33 -0
  116. data/lib/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rb +56 -0
  117. data/lib/temporalio/internal/bridge/api/workflow_commands/workflow_commands.rb +57 -0
  118. data/lib/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rb +30 -0
  119. data/lib/temporalio/internal/bridge/api.rb +3 -0
  120. data/lib/temporalio/internal/bridge/client.rb +95 -0
  121. data/lib/temporalio/internal/bridge/runtime.rb +53 -0
  122. data/lib/temporalio/internal/bridge/testing.rb +66 -0
  123. data/lib/temporalio/internal/bridge/worker.rb +85 -0
  124. data/lib/temporalio/internal/bridge.rb +36 -0
  125. data/lib/temporalio/internal/client/implementation.rb +700 -0
  126. data/lib/temporalio/internal/metric.rb +122 -0
  127. data/lib/temporalio/internal/proto_utils.rb +133 -0
  128. data/lib/temporalio/internal/worker/activity_worker.rb +373 -0
  129. data/lib/temporalio/internal/worker/multi_runner.rb +213 -0
  130. data/lib/temporalio/internal/worker/workflow_instance/child_workflow_handle.rb +54 -0
  131. data/lib/temporalio/internal/worker/workflow_instance/context.rb +329 -0
  132. data/lib/temporalio/internal/worker/workflow_instance/details.rb +44 -0
  133. data/lib/temporalio/internal/worker/workflow_instance/external_workflow_handle.rb +32 -0
  134. data/lib/temporalio/internal/worker/workflow_instance/externally_immutable_hash.rb +22 -0
  135. data/lib/temporalio/internal/worker/workflow_instance/handler_execution.rb +25 -0
  136. data/lib/temporalio/internal/worker/workflow_instance/handler_hash.rb +41 -0
  137. data/lib/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rb +97 -0
  138. data/lib/temporalio/internal/worker/workflow_instance/inbound_implementation.rb +62 -0
  139. data/lib/temporalio/internal/worker/workflow_instance/outbound_implementation.rb +415 -0
  140. data/lib/temporalio/internal/worker/workflow_instance/replay_safe_logger.rb +37 -0
  141. data/lib/temporalio/internal/worker/workflow_instance/replay_safe_metric.rb +40 -0
  142. data/lib/temporalio/internal/worker/workflow_instance/scheduler.rb +163 -0
  143. data/lib/temporalio/internal/worker/workflow_instance.rb +730 -0
  144. data/lib/temporalio/internal/worker/workflow_worker.rb +196 -0
  145. data/lib/temporalio/internal.rb +7 -0
  146. data/lib/temporalio/metric.rb +109 -0
  147. data/lib/temporalio/retry_policy.rb +55 -73
  148. data/lib/temporalio/runtime.rb +302 -13
  149. data/lib/temporalio/scoped_logger.rb +96 -0
  150. data/lib/temporalio/search_attributes.rb +343 -0
  151. data/lib/temporalio/testing/activity_environment.rb +132 -0
  152. data/lib/temporalio/testing/workflow_environment.rb +345 -74
  153. data/lib/temporalio/testing.rb +4 -169
  154. data/lib/temporalio/version.rb +3 -1
  155. data/lib/temporalio/worker/activity_executor/fiber.rb +49 -0
  156. data/lib/temporalio/worker/activity_executor/thread_pool.rb +46 -0
  157. data/lib/temporalio/worker/activity_executor.rb +55 -0
  158. data/lib/temporalio/worker/interceptor.rb +362 -0
  159. data/lib/temporalio/worker/thread_pool.rb +237 -0
  160. data/lib/temporalio/worker/tuner.rb +151 -0
  161. data/lib/temporalio/worker/workflow_executor/thread_pool.rb +230 -0
  162. data/lib/temporalio/worker/workflow_executor.rb +26 -0
  163. data/lib/temporalio/worker.rb +554 -161
  164. data/lib/temporalio/workflow/activity_cancellation_type.rb +20 -0
  165. data/lib/temporalio/workflow/child_workflow_cancellation_type.rb +21 -0
  166. data/lib/temporalio/workflow/child_workflow_handle.rb +43 -0
  167. data/lib/temporalio/workflow/definition.rb +566 -0
  168. data/lib/temporalio/workflow/external_workflow_handle.rb +41 -0
  169. data/lib/temporalio/workflow/future.rb +117 -104
  170. data/lib/temporalio/workflow/handler_unfinished_policy.rb +13 -0
  171. data/lib/temporalio/workflow/info.rb +63 -57
  172. data/lib/temporalio/workflow/parent_close_policy.rb +19 -0
  173. data/lib/temporalio/workflow/update_info.rb +20 -0
  174. data/lib/temporalio/workflow.rb +523 -0
  175. data/lib/temporalio/workflow_history.rb +22 -0
  176. data/lib/temporalio.rb +6 -7
  177. data/temporalio.gemspec +20 -39
  178. metadata +171 -710
  179. data/bridge/Cargo.lock +0 -2997
  180. data/bridge/Cargo.toml +0 -29
  181. data/bridge/sdk-core/ARCHITECTURE.md +0 -76
  182. data/bridge/sdk-core/Cargo.toml +0 -2
  183. data/bridge/sdk-core/LICENSE.txt +0 -23
  184. data/bridge/sdk-core/README.md +0 -117
  185. data/bridge/sdk-core/arch_docs/diagrams/README.md +0 -10
  186. data/bridge/sdk-core/arch_docs/diagrams/sticky_queues.puml +0 -40
  187. data/bridge/sdk-core/arch_docs/diagrams/workflow_internals.svg +0 -1
  188. data/bridge/sdk-core/arch_docs/sticky_queues.md +0 -51
  189. data/bridge/sdk-core/client/Cargo.toml +0 -40
  190. data/bridge/sdk-core/client/LICENSE.txt +0 -23
  191. data/bridge/sdk-core/client/src/lib.rs +0 -1462
  192. data/bridge/sdk-core/client/src/metrics.rs +0 -174
  193. data/bridge/sdk-core/client/src/raw.rs +0 -932
  194. data/bridge/sdk-core/client/src/retry.rs +0 -763
  195. data/bridge/sdk-core/client/src/workflow_handle/mod.rs +0 -185
  196. data/bridge/sdk-core/core/Cargo.toml +0 -129
  197. data/bridge/sdk-core/core/LICENSE.txt +0 -23
  198. data/bridge/sdk-core/core/benches/workflow_replay.rs +0 -76
  199. data/bridge/sdk-core/core/src/abstractions.rs +0 -355
  200. data/bridge/sdk-core/core/src/core_tests/activity_tasks.rs +0 -1049
  201. data/bridge/sdk-core/core/src/core_tests/child_workflows.rs +0 -221
  202. data/bridge/sdk-core/core/src/core_tests/determinism.rs +0 -270
  203. data/bridge/sdk-core/core/src/core_tests/local_activities.rs +0 -1046
  204. data/bridge/sdk-core/core/src/core_tests/mod.rs +0 -100
  205. data/bridge/sdk-core/core/src/core_tests/queries.rs +0 -893
  206. data/bridge/sdk-core/core/src/core_tests/replay_flag.rs +0 -65
  207. data/bridge/sdk-core/core/src/core_tests/workers.rs +0 -257
  208. data/bridge/sdk-core/core/src/core_tests/workflow_cancels.rs +0 -124
  209. data/bridge/sdk-core/core/src/core_tests/workflow_tasks.rs +0 -2433
  210. data/bridge/sdk-core/core/src/ephemeral_server/mod.rs +0 -609
  211. data/bridge/sdk-core/core/src/internal_flags.rs +0 -136
  212. data/bridge/sdk-core/core/src/lib.rs +0 -289
  213. data/bridge/sdk-core/core/src/pollers/mod.rs +0 -54
  214. data/bridge/sdk-core/core/src/pollers/poll_buffer.rs +0 -297
  215. data/bridge/sdk-core/core/src/protosext/mod.rs +0 -428
  216. data/bridge/sdk-core/core/src/replay/mod.rs +0 -215
  217. data/bridge/sdk-core/core/src/retry_logic.rs +0 -202
  218. data/bridge/sdk-core/core/src/telemetry/log_export.rs +0 -190
  219. data/bridge/sdk-core/core/src/telemetry/metrics.rs +0 -462
  220. data/bridge/sdk-core/core/src/telemetry/mod.rs +0 -423
  221. data/bridge/sdk-core/core/src/telemetry/prometheus_server.rs +0 -83
  222. data/bridge/sdk-core/core/src/test_help/mod.rs +0 -939
  223. data/bridge/sdk-core/core/src/worker/activities/activity_heartbeat_manager.rs +0 -536
  224. data/bridge/sdk-core/core/src/worker/activities/activity_task_poller_stream.rs +0 -89
  225. data/bridge/sdk-core/core/src/worker/activities/local_activities.rs +0 -1278
  226. data/bridge/sdk-core/core/src/worker/activities.rs +0 -557
  227. data/bridge/sdk-core/core/src/worker/client/mocks.rs +0 -107
  228. data/bridge/sdk-core/core/src/worker/client.rs +0 -389
  229. data/bridge/sdk-core/core/src/worker/mod.rs +0 -677
  230. data/bridge/sdk-core/core/src/worker/workflow/bridge.rs +0 -35
  231. data/bridge/sdk-core/core/src/worker/workflow/driven_workflow.rs +0 -99
  232. data/bridge/sdk-core/core/src/worker/workflow/history_update.rs +0 -1111
  233. data/bridge/sdk-core/core/src/worker/workflow/machines/activity_state_machine.rs +0 -964
  234. data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_external_state_machine.rs +0 -294
  235. data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_workflow_state_machine.rs +0 -168
  236. data/bridge/sdk-core/core/src/worker/workflow/machines/child_workflow_state_machine.rs +0 -918
  237. data/bridge/sdk-core/core/src/worker/workflow/machines/complete_workflow_state_machine.rs +0 -137
  238. data/bridge/sdk-core/core/src/worker/workflow/machines/continue_as_new_workflow_state_machine.rs +0 -158
  239. data/bridge/sdk-core/core/src/worker/workflow/machines/fail_workflow_state_machine.rs +0 -130
  240. data/bridge/sdk-core/core/src/worker/workflow/machines/local_activity_state_machine.rs +0 -1525
  241. data/bridge/sdk-core/core/src/worker/workflow/machines/mod.rs +0 -324
  242. data/bridge/sdk-core/core/src/worker/workflow/machines/modify_workflow_properties_state_machine.rs +0 -179
  243. data/bridge/sdk-core/core/src/worker/workflow/machines/patch_state_machine.rs +0 -659
  244. data/bridge/sdk-core/core/src/worker/workflow/machines/signal_external_state_machine.rs +0 -439
  245. data/bridge/sdk-core/core/src/worker/workflow/machines/timer_state_machine.rs +0 -435
  246. data/bridge/sdk-core/core/src/worker/workflow/machines/transition_coverage.rs +0 -175
  247. data/bridge/sdk-core/core/src/worker/workflow/machines/upsert_search_attributes_state_machine.rs +0 -249
  248. data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines/local_acts.rs +0 -85
  249. data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines.rs +0 -1280
  250. data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_task_state_machine.rs +0 -269
  251. data/bridge/sdk-core/core/src/worker/workflow/managed_run/managed_wf_test.rs +0 -213
  252. data/bridge/sdk-core/core/src/worker/workflow/managed_run.rs +0 -1305
  253. data/bridge/sdk-core/core/src/worker/workflow/mod.rs +0 -1276
  254. data/bridge/sdk-core/core/src/worker/workflow/run_cache.rs +0 -128
  255. data/bridge/sdk-core/core/src/worker/workflow/wft_extraction.rs +0 -125
  256. data/bridge/sdk-core/core/src/worker/workflow/wft_poller.rs +0 -85
  257. data/bridge/sdk-core/core/src/worker/workflow/workflow_stream/saved_wf_inputs.rs +0 -117
  258. data/bridge/sdk-core/core/src/worker/workflow/workflow_stream/tonic_status_serde.rs +0 -24
  259. data/bridge/sdk-core/core/src/worker/workflow/workflow_stream.rs +0 -715
  260. data/bridge/sdk-core/core-api/Cargo.toml +0 -33
  261. data/bridge/sdk-core/core-api/LICENSE.txt +0 -23
  262. data/bridge/sdk-core/core-api/src/errors.rs +0 -62
  263. data/bridge/sdk-core/core-api/src/lib.rs +0 -113
  264. data/bridge/sdk-core/core-api/src/telemetry.rs +0 -141
  265. data/bridge/sdk-core/core-api/src/worker.rs +0 -161
  266. data/bridge/sdk-core/etc/deps.svg +0 -162
  267. data/bridge/sdk-core/etc/dynamic-config.yaml +0 -2
  268. data/bridge/sdk-core/etc/otel-collector-config.yaml +0 -36
  269. data/bridge/sdk-core/etc/prometheus.yaml +0 -6
  270. data/bridge/sdk-core/etc/regen-depgraph.sh +0 -5
  271. data/bridge/sdk-core/fsm/Cargo.toml +0 -18
  272. data/bridge/sdk-core/fsm/LICENSE.txt +0 -23
  273. data/bridge/sdk-core/fsm/README.md +0 -3
  274. data/bridge/sdk-core/fsm/rustfsm_procmacro/Cargo.toml +0 -27
  275. data/bridge/sdk-core/fsm/rustfsm_procmacro/LICENSE.txt +0 -23
  276. data/bridge/sdk-core/fsm/rustfsm_procmacro/src/lib.rs +0 -650
  277. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/progress.rs +0 -8
  278. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.rs +0 -18
  279. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dupe_transitions_fail.stderr +0 -12
  280. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/dynamic_dest_pass.rs +0 -41
  281. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/forgot_name_fail.rs +0 -14
  282. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/forgot_name_fail.stderr +0 -11
  283. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/handler_arg_pass.rs +0 -32
  284. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/handler_pass.rs +0 -31
  285. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/medium_complex_pass.rs +0 -46
  286. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.rs +0 -29
  287. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/no_handle_conversions_require_into_fail.stderr +0 -12
  288. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/simple_pass.rs +0 -32
  289. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/struct_event_variant_fail.rs +0 -18
  290. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/struct_event_variant_fail.stderr +0 -5
  291. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_more_item_event_variant_fail.rs +0 -11
  292. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_more_item_event_variant_fail.stderr +0 -5
  293. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_zero_item_event_variant_fail.rs +0 -11
  294. data/bridge/sdk-core/fsm/rustfsm_procmacro/tests/trybuild/tuple_zero_item_event_variant_fail.stderr +0 -5
  295. data/bridge/sdk-core/fsm/rustfsm_trait/Cargo.toml +0 -14
  296. data/bridge/sdk-core/fsm/rustfsm_trait/LICENSE.txt +0 -23
  297. data/bridge/sdk-core/fsm/rustfsm_trait/src/lib.rs +0 -254
  298. data/bridge/sdk-core/fsm/src/lib.rs +0 -2
  299. data/bridge/sdk-core/histories/evict_while_la_running_no_interference-16_history.bin +0 -0
  300. data/bridge/sdk-core/histories/evict_while_la_running_no_interference-23_history.bin +0 -0
  301. data/bridge/sdk-core/histories/evict_while_la_running_no_interference-85_history.bin +0 -0
  302. data/bridge/sdk-core/histories/fail_wf_task.bin +0 -0
  303. data/bridge/sdk-core/histories/timer_workflow_history.bin +0 -0
  304. data/bridge/sdk-core/integ-with-otel.sh +0 -7
  305. data/bridge/sdk-core/protos/api_upstream/README.md +0 -9
  306. data/bridge/sdk-core/protos/api_upstream/api-linter.yaml +0 -40
  307. data/bridge/sdk-core/protos/api_upstream/buf.yaml +0 -9
  308. data/bridge/sdk-core/protos/api_upstream/build/go.mod +0 -7
  309. data/bridge/sdk-core/protos/api_upstream/build/go.sum +0 -5
  310. data/bridge/sdk-core/protos/api_upstream/build/tools.go +0 -29
  311. data/bridge/sdk-core/protos/api_upstream/dependencies/gogoproto/gogo.proto +0 -141
  312. data/bridge/sdk-core/protos/api_upstream/go.mod +0 -6
  313. data/bridge/sdk-core/protos/api_upstream/temporal/api/batch/v1/message.proto +0 -89
  314. data/bridge/sdk-core/protos/api_upstream/temporal/api/command/v1/message.proto +0 -248
  315. data/bridge/sdk-core/protos/api_upstream/temporal/api/common/v1/message.proto +0 -123
  316. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/batch_operation.proto +0 -47
  317. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/command_type.proto +0 -52
  318. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/common.proto +0 -56
  319. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/event_type.proto +0 -170
  320. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/failed_cause.proto +0 -123
  321. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/namespace.proto +0 -51
  322. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/query.proto +0 -50
  323. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/reset.proto +0 -41
  324. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/schedule.proto +0 -60
  325. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/task_queue.proto +0 -59
  326. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/update.proto +0 -56
  327. data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/workflow.proto +0 -122
  328. data/bridge/sdk-core/protos/api_upstream/temporal/api/errordetails/v1/message.proto +0 -108
  329. data/bridge/sdk-core/protos/api_upstream/temporal/api/failure/v1/message.proto +0 -114
  330. data/bridge/sdk-core/protos/api_upstream/temporal/api/filter/v1/message.proto +0 -56
  331. data/bridge/sdk-core/protos/api_upstream/temporal/api/history/v1/message.proto +0 -787
  332. data/bridge/sdk-core/protos/api_upstream/temporal/api/namespace/v1/message.proto +0 -99
  333. data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/request_response.proto +0 -124
  334. data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/service.proto +0 -80
  335. data/bridge/sdk-core/protos/api_upstream/temporal/api/protocol/v1/message.proto +0 -57
  336. data/bridge/sdk-core/protos/api_upstream/temporal/api/query/v1/message.proto +0 -61
  337. data/bridge/sdk-core/protos/api_upstream/temporal/api/replication/v1/message.proto +0 -55
  338. data/bridge/sdk-core/protos/api_upstream/temporal/api/schedule/v1/message.proto +0 -379
  339. data/bridge/sdk-core/protos/api_upstream/temporal/api/sdk/v1/task_complete_metadata.proto +0 -63
  340. data/bridge/sdk-core/protos/api_upstream/temporal/api/taskqueue/v1/message.proto +0 -108
  341. data/bridge/sdk-core/protos/api_upstream/temporal/api/update/v1/message.proto +0 -111
  342. data/bridge/sdk-core/protos/api_upstream/temporal/api/version/v1/message.proto +0 -59
  343. data/bridge/sdk-core/protos/api_upstream/temporal/api/workflow/v1/message.proto +0 -146
  344. data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/request_response.proto +0 -1199
  345. data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/service.proto +0 -415
  346. data/bridge/sdk-core/protos/grpc/health/v1/health.proto +0 -63
  347. data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_result/activity_result.proto +0 -79
  348. data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_task/activity_task.proto +0 -80
  349. data/bridge/sdk-core/protos/local/temporal/sdk/core/child_workflow/child_workflow.proto +0 -78
  350. data/bridge/sdk-core/protos/local/temporal/sdk/core/common/common.proto +0 -16
  351. data/bridge/sdk-core/protos/local/temporal/sdk/core/core_interface.proto +0 -31
  352. data/bridge/sdk-core/protos/local/temporal/sdk/core/external_data/external_data.proto +0 -31
  353. data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_activation/workflow_activation.proto +0 -270
  354. data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_commands/workflow_commands.proto +0 -305
  355. data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_completion/workflow_completion.proto +0 -35
  356. data/bridge/sdk-core/protos/testsrv_upstream/api-linter.yaml +0 -38
  357. data/bridge/sdk-core/protos/testsrv_upstream/buf.yaml +0 -13
  358. data/bridge/sdk-core/protos/testsrv_upstream/dependencies/gogoproto/gogo.proto +0 -141
  359. data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/request_response.proto +0 -63
  360. data/bridge/sdk-core/protos/testsrv_upstream/temporal/api/testservice/v1/service.proto +0 -90
  361. data/bridge/sdk-core/rustfmt.toml +0 -1
  362. data/bridge/sdk-core/sdk/Cargo.toml +0 -48
  363. data/bridge/sdk-core/sdk/LICENSE.txt +0 -23
  364. data/bridge/sdk-core/sdk/src/activity_context.rs +0 -230
  365. data/bridge/sdk-core/sdk/src/app_data.rs +0 -37
  366. data/bridge/sdk-core/sdk/src/interceptors.rs +0 -50
  367. data/bridge/sdk-core/sdk/src/lib.rs +0 -861
  368. data/bridge/sdk-core/sdk/src/payload_converter.rs +0 -11
  369. data/bridge/sdk-core/sdk/src/workflow_context/options.rs +0 -295
  370. data/bridge/sdk-core/sdk/src/workflow_context.rs +0 -694
  371. data/bridge/sdk-core/sdk/src/workflow_future.rs +0 -500
  372. data/bridge/sdk-core/sdk-core-protos/Cargo.toml +0 -33
  373. data/bridge/sdk-core/sdk-core-protos/LICENSE.txt +0 -23
  374. data/bridge/sdk-core/sdk-core-protos/build.rs +0 -142
  375. data/bridge/sdk-core/sdk-core-protos/src/constants.rs +0 -7
  376. data/bridge/sdk-core/sdk-core-protos/src/history_builder.rs +0 -557
  377. data/bridge/sdk-core/sdk-core-protos/src/history_info.rs +0 -234
  378. data/bridge/sdk-core/sdk-core-protos/src/lib.rs +0 -2088
  379. data/bridge/sdk-core/sdk-core-protos/src/task_token.rs +0 -48
  380. data/bridge/sdk-core/sdk-core-protos/src/utilities.rs +0 -14
  381. data/bridge/sdk-core/test-utils/Cargo.toml +0 -38
  382. data/bridge/sdk-core/test-utils/src/canned_histories.rs +0 -1389
  383. data/bridge/sdk-core/test-utils/src/histfetch.rs +0 -28
  384. data/bridge/sdk-core/test-utils/src/lib.rs +0 -709
  385. data/bridge/sdk-core/test-utils/src/wf_input_saver.rs +0 -50
  386. data/bridge/sdk-core/test-utils/src/workflows.rs +0 -29
  387. data/bridge/sdk-core/tests/fuzzy_workflow.rs +0 -130
  388. data/bridge/sdk-core/tests/heavy_tests.rs +0 -265
  389. data/bridge/sdk-core/tests/integ_tests/client_tests.rs +0 -36
  390. data/bridge/sdk-core/tests/integ_tests/ephemeral_server_tests.rs +0 -150
  391. data/bridge/sdk-core/tests/integ_tests/heartbeat_tests.rs +0 -223
  392. data/bridge/sdk-core/tests/integ_tests/metrics_tests.rs +0 -239
  393. data/bridge/sdk-core/tests/integ_tests/polling_tests.rs +0 -90
  394. data/bridge/sdk-core/tests/integ_tests/queries_tests.rs +0 -314
  395. data/bridge/sdk-core/tests/integ_tests/visibility_tests.rs +0 -151
  396. data/bridge/sdk-core/tests/integ_tests/workflow_tests/activities.rs +0 -902
  397. data/bridge/sdk-core/tests/integ_tests/workflow_tests/appdata_propagation.rs +0 -61
  398. data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_external.rs +0 -60
  399. data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_wf.rs +0 -51
  400. data/bridge/sdk-core/tests/integ_tests/workflow_tests/child_workflows.rs +0 -51
  401. data/bridge/sdk-core/tests/integ_tests/workflow_tests/continue_as_new.rs +0 -64
  402. data/bridge/sdk-core/tests/integ_tests/workflow_tests/determinism.rs +0 -47
  403. data/bridge/sdk-core/tests/integ_tests/workflow_tests/local_activities.rs +0 -669
  404. data/bridge/sdk-core/tests/integ_tests/workflow_tests/modify_wf_properties.rs +0 -54
  405. data/bridge/sdk-core/tests/integ_tests/workflow_tests/patches.rs +0 -92
  406. data/bridge/sdk-core/tests/integ_tests/workflow_tests/replay.rs +0 -228
  407. data/bridge/sdk-core/tests/integ_tests/workflow_tests/resets.rs +0 -94
  408. data/bridge/sdk-core/tests/integ_tests/workflow_tests/signals.rs +0 -171
  409. data/bridge/sdk-core/tests/integ_tests/workflow_tests/stickyness.rs +0 -85
  410. data/bridge/sdk-core/tests/integ_tests/workflow_tests/timers.rs +0 -120
  411. data/bridge/sdk-core/tests/integ_tests/workflow_tests/upsert_search_attrs.rs +0 -77
  412. data/bridge/sdk-core/tests/integ_tests/workflow_tests.rs +0 -596
  413. data/bridge/sdk-core/tests/main.rs +0 -103
  414. data/bridge/sdk-core/tests/runner.rs +0 -132
  415. data/bridge/sdk-core/tests/wf_input_replay.rs +0 -32
  416. data/bridge/src/connection.rs +0 -202
  417. data/bridge/src/lib.rs +0 -494
  418. data/bridge/src/runtime.rs +0 -54
  419. data/bridge/src/test_server.rs +0 -153
  420. data/bridge/src/worker.rs +0 -197
  421. data/ext/Rakefile +0 -9
  422. data/lib/gen/dependencies/gogoproto/gogo_pb.rb +0 -14
  423. data/lib/gen/temporal/api/batch/v1/message_pb.rb +0 -50
  424. data/lib/gen/temporal/api/command/v1/message_pb.rb +0 -160
  425. data/lib/gen/temporal/api/common/v1/message_pb.rb +0 -73
  426. data/lib/gen/temporal/api/enums/v1/batch_operation_pb.rb +0 -33
  427. data/lib/gen/temporal/api/enums/v1/command_type_pb.rb +0 -37
  428. data/lib/gen/temporal/api/enums/v1/common_pb.rb +0 -42
  429. data/lib/gen/temporal/api/enums/v1/event_type_pb.rb +0 -68
  430. data/lib/gen/temporal/api/enums/v1/failed_cause_pb.rb +0 -79
  431. data/lib/gen/temporal/api/enums/v1/namespace_pb.rb +0 -37
  432. data/lib/gen/temporal/api/enums/v1/query_pb.rb +0 -31
  433. data/lib/gen/temporal/api/enums/v1/reset_pb.rb +0 -24
  434. data/lib/gen/temporal/api/enums/v1/schedule_pb.rb +0 -28
  435. data/lib/gen/temporal/api/enums/v1/task_queue_pb.rb +0 -30
  436. data/lib/gen/temporal/api/enums/v1/update_pb.rb +0 -25
  437. data/lib/gen/temporal/api/enums/v1/workflow_pb.rb +0 -89
  438. data/lib/gen/temporal/api/errordetails/v1/message_pb.rb +0 -84
  439. data/lib/gen/temporal/api/failure/v1/message_pb.rb +0 -83
  440. data/lib/gen/temporal/api/filter/v1/message_pb.rb +0 -40
  441. data/lib/gen/temporal/api/history/v1/message_pb.rb +0 -498
  442. data/lib/gen/temporal/api/namespace/v1/message_pb.rb +0 -64
  443. data/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb +0 -88
  444. data/lib/gen/temporal/api/operatorservice/v1/service_pb.rb +0 -20
  445. data/lib/gen/temporal/api/protocol/v1/message_pb.rb +0 -30
  446. data/lib/gen/temporal/api/query/v1/message_pb.rb +0 -38
  447. data/lib/gen/temporal/api/replication/v1/message_pb.rb +0 -37
  448. data/lib/gen/temporal/api/schedule/v1/message_pb.rb +0 -149
  449. data/lib/gen/temporal/api/sdk/v1/task_complete_metadata_pb.rb +0 -23
  450. data/lib/gen/temporal/api/taskqueue/v1/message_pb.rb +0 -73
  451. data/lib/gen/temporal/api/testservice/v1/service_pb.rb +0 -21
  452. data/lib/gen/temporal/api/update/v1/message_pb.rb +0 -72
  453. data/lib/gen/temporal/api/version/v1/message_pb.rb +0 -41
  454. data/lib/gen/temporal/api/workflow/v1/message_pb.rb +0 -111
  455. data/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +0 -798
  456. data/lib/gen/temporal/api/workflowservice/v1/service_pb.rb +0 -20
  457. data/lib/gen/temporal/sdk/core/activity_result/activity_result_pb.rb +0 -62
  458. data/lib/gen/temporal/sdk/core/activity_task/activity_task_pb.rb +0 -61
  459. data/lib/gen/temporal/sdk/core/child_workflow/child_workflow_pb.rb +0 -61
  460. data/lib/gen/temporal/sdk/core/common/common_pb.rb +0 -26
  461. data/lib/gen/temporal/sdk/core/core_interface_pb.rb +0 -40
  462. data/lib/gen/temporal/sdk/core/external_data/external_data_pb.rb +0 -31
  463. data/lib/gen/temporal/sdk/core/workflow_activation/workflow_activation_pb.rb +0 -171
  464. data/lib/gen/temporal/sdk/core/workflow_commands/workflow_commands_pb.rb +0 -200
  465. data/lib/gen/temporal/sdk/core/workflow_completion/workflow_completion_pb.rb +0 -41
  466. data/lib/temporalio/bridge/connect_options.rb +0 -15
  467. data/lib/temporalio/bridge/error.rb +0 -8
  468. data/lib/temporalio/bridge/retry_config.rb +0 -24
  469. data/lib/temporalio/bridge/tls_options.rb +0 -19
  470. data/lib/temporalio/bridge.rb +0 -14
  471. data/lib/temporalio/client/implementation.rb +0 -340
  472. data/lib/temporalio/connection/retry_config.rb +0 -44
  473. data/lib/temporalio/connection/service.rb +0 -20
  474. data/lib/temporalio/connection/test_service.rb +0 -92
  475. data/lib/temporalio/connection/tls_options.rb +0 -51
  476. data/lib/temporalio/connection/workflow_service.rb +0 -731
  477. data/lib/temporalio/connection.rb +0 -86
  478. data/lib/temporalio/data_converter.rb +0 -191
  479. data/lib/temporalio/error/workflow_failure.rb +0 -19
  480. data/lib/temporalio/errors.rb +0 -40
  481. data/lib/temporalio/failure_converter/base.rb +0 -26
  482. data/lib/temporalio/failure_converter/basic.rb +0 -319
  483. data/lib/temporalio/failure_converter.rb +0 -7
  484. data/lib/temporalio/interceptor/activity_inbound.rb +0 -22
  485. data/lib/temporalio/interceptor/activity_outbound.rb +0 -24
  486. data/lib/temporalio/interceptor/chain.rb +0 -28
  487. data/lib/temporalio/interceptor/client.rb +0 -127
  488. data/lib/temporalio/interceptor.rb +0 -22
  489. data/lib/temporalio/payload_codec/base.rb +0 -32
  490. data/lib/temporalio/payload_converter/base.rb +0 -24
  491. data/lib/temporalio/payload_converter/bytes.rb +0 -27
  492. data/lib/temporalio/payload_converter/composite.rb +0 -49
  493. data/lib/temporalio/payload_converter/encoding_base.rb +0 -35
  494. data/lib/temporalio/payload_converter/json.rb +0 -26
  495. data/lib/temporalio/payload_converter/nil.rb +0 -26
  496. data/lib/temporalio/payload_converter.rb +0 -14
  497. data/lib/temporalio/retry_state.rb +0 -35
  498. data/lib/temporalio/testing/time_skipping_handle.rb +0 -32
  499. data/lib/temporalio/testing/time_skipping_interceptor.rb +0 -23
  500. data/lib/temporalio/timeout_type.rb +0 -29
  501. data/lib/temporalio/worker/activity_runner.rb +0 -114
  502. data/lib/temporalio/worker/activity_worker.rb +0 -164
  503. data/lib/temporalio/worker/reactor.rb +0 -46
  504. data/lib/temporalio/worker/runner.rb +0 -63
  505. data/lib/temporalio/worker/sync_worker.rb +0 -124
  506. data/lib/temporalio/worker/thread_pool_executor.rb +0 -51
  507. data/lib/temporalio/workflow/async.rb +0 -46
  508. data/lib/temporalio/workflow/execution_info.rb +0 -54
  509. data/lib/temporalio/workflow/execution_status.rb +0 -36
  510. data/lib/temporalio/workflow/id_reuse_policy.rb +0 -36
  511. data/lib/temporalio/workflow/query_reject_condition.rb +0 -33
  512. data/lib/thermite_patch.rb +0 -33
  513. data/sig/async.rbs +0 -17
  514. data/sig/protobuf.rbs +0 -16
  515. data/sig/protos/dependencies/gogoproto/gogo.rbs +0 -914
  516. data/sig/protos/google/protobuf/any.rbs +0 -157
  517. data/sig/protos/google/protobuf/descriptor.rbs +0 -2825
  518. data/sig/protos/google/protobuf/duration.rbs +0 -114
  519. data/sig/protos/google/protobuf/empty.rbs +0 -36
  520. data/sig/protos/google/protobuf/timestamp.rbs +0 -145
  521. data/sig/protos/google/protobuf/wrappers.rbs +0 -358
  522. data/sig/protos/temporal/api/batch/v1/message.rbs +0 -300
  523. data/sig/protos/temporal/api/command/v1/message.rbs +0 -1399
  524. data/sig/protos/temporal/api/common/v1/message.rbs +0 -528
  525. data/sig/protos/temporal/api/enums/v1/batch_operation.rbs +0 -79
  526. data/sig/protos/temporal/api/enums/v1/command_type.rbs +0 -68
  527. data/sig/protos/temporal/api/enums/v1/common.rbs +0 -118
  528. data/sig/protos/temporal/api/enums/v1/event_type.rbs +0 -264
  529. data/sig/protos/temporal/api/enums/v1/failed_cause.rbs +0 -277
  530. data/sig/protos/temporal/api/enums/v1/namespace.rbs +0 -108
  531. data/sig/protos/temporal/api/enums/v1/query.rbs +0 -81
  532. data/sig/protos/temporal/api/enums/v1/reset.rbs +0 -44
  533. data/sig/protos/temporal/api/enums/v1/schedule.rbs +0 -72
  534. data/sig/protos/temporal/api/enums/v1/task_queue.rbs +0 -92
  535. data/sig/protos/temporal/api/enums/v1/update.rbs +0 -64
  536. data/sig/protos/temporal/api/enums/v1/workflow.rbs +0 -371
  537. data/sig/protos/temporal/api/errordetails/v1/message.rbs +0 -551
  538. data/sig/protos/temporal/api/failure/v1/message.rbs +0 -581
  539. data/sig/protos/temporal/api/filter/v1/message.rbs +0 -171
  540. data/sig/protos/temporal/api/history/v1/message.rbs +0 -4609
  541. data/sig/protos/temporal/api/namespace/v1/message.rbs +0 -410
  542. data/sig/protos/temporal/api/operatorservice/v1/request_response.rbs +0 -643
  543. data/sig/protos/temporal/api/operatorservice/v1/service.rbs +0 -17
  544. data/sig/protos/temporal/api/protocol/v1/message.rbs +0 -84
  545. data/sig/protos/temporal/api/query/v1/message.rbs +0 -182
  546. data/sig/protos/temporal/api/replication/v1/message.rbs +0 -148
  547. data/sig/protos/temporal/api/schedule/v1/message.rbs +0 -1488
  548. data/sig/protos/temporal/api/sdk/v1/task_complete_metadata.rbs +0 -110
  549. data/sig/protos/temporal/api/taskqueue/v1/message.rbs +0 -486
  550. data/sig/protos/temporal/api/testservice/v1/request_response.rbs +0 -249
  551. data/sig/protos/temporal/api/testservice/v1/service.rbs +0 -15
  552. data/sig/protos/temporal/api/update/v1/message.rbs +0 -489
  553. data/sig/protos/temporal/api/version/v1/message.rbs +0 -184
  554. data/sig/protos/temporal/api/workflow/v1/message.rbs +0 -824
  555. data/sig/protos/temporal/api/workflowservice/v1/request_response.rbs +0 -7250
  556. data/sig/protos/temporal/api/workflowservice/v1/service.rbs +0 -22
  557. data/sig/protos/temporal/sdk/core/activity_result/activity_result.rbs +0 -380
  558. data/sig/protos/temporal/sdk/core/activity_task/activity_task.rbs +0 -386
  559. data/sig/protos/temporal/sdk/core/child_workflow/child_workflow.rbs +0 -323
  560. data/sig/protos/temporal/sdk/core/common/common.rbs +0 -62
  561. data/sig/protos/temporal/sdk/core/core_interface.rbs +0 -101
  562. data/sig/protos/temporal/sdk/core/external_data/external_data.rbs +0 -119
  563. data/sig/protos/temporal/sdk/core/workflow_activation/workflow_activation.rbs +0 -1473
  564. data/sig/protos/temporal/sdk/core/workflow_commands/workflow_commands.rbs +0 -1784
  565. data/sig/protos/temporal/sdk/core/workflow_completion/workflow_completion.rbs +0 -180
  566. data/sig/ruby.rbs +0 -12
  567. data/sig/temporalio/activity/context.rbs +0 -29
  568. data/sig/temporalio/activity/info.rbs +0 -43
  569. data/sig/temporalio/activity.rbs +0 -19
  570. data/sig/temporalio/bridge/connect_options.rbs +0 -19
  571. data/sig/temporalio/bridge/error.rbs +0 -8
  572. data/sig/temporalio/bridge/retry_config.rbs +0 -21
  573. data/sig/temporalio/bridge/tls_options.rbs +0 -17
  574. data/sig/temporalio/bridge.rbs +0 -71
  575. data/sig/temporalio/client/implementation.rbs +0 -38
  576. data/sig/temporalio/client/workflow_handle.rbs +0 -41
  577. data/sig/temporalio/client.rbs +0 -35
  578. data/sig/temporalio/connection/retry_config.rbs +0 -37
  579. data/sig/temporalio/connection/service.rbs +0 -14
  580. data/sig/temporalio/connection/test_service.rbs +0 -13
  581. data/sig/temporalio/connection/tls_options.rbs +0 -43
  582. data/sig/temporalio/connection/workflow_service.rbs +0 -48
  583. data/sig/temporalio/connection.rbs +0 -30
  584. data/sig/temporalio/data_converter.rbs +0 -35
  585. data/sig/temporalio/error/failure.rbs +0 -121
  586. data/sig/temporalio/error/workflow_failure.rbs +0 -9
  587. data/sig/temporalio/errors.rbs +0 -36
  588. data/sig/temporalio/failure_converter/base.rbs +0 -12
  589. data/sig/temporalio/failure_converter/basic.rbs +0 -86
  590. data/sig/temporalio/failure_converter.rbs +0 -5
  591. data/sig/temporalio/interceptor/activity_inbound.rbs +0 -21
  592. data/sig/temporalio/interceptor/activity_outbound.rbs +0 -10
  593. data/sig/temporalio/interceptor/chain.rbs +0 -24
  594. data/sig/temporalio/interceptor/client.rbs +0 -148
  595. data/sig/temporalio/interceptor.rbs +0 -6
  596. data/sig/temporalio/payload_codec/base.rbs +0 -12
  597. data/sig/temporalio/payload_converter/base.rbs +0 -12
  598. data/sig/temporalio/payload_converter/bytes.rbs +0 -9
  599. data/sig/temporalio/payload_converter/composite.rbs +0 -19
  600. data/sig/temporalio/payload_converter/encoding_base.rbs +0 -14
  601. data/sig/temporalio/payload_converter/json.rbs +0 -9
  602. data/sig/temporalio/payload_converter/nil.rbs +0 -9
  603. data/sig/temporalio/payload_converter.rbs +0 -5
  604. data/sig/temporalio/retry_policy.rbs +0 -25
  605. data/sig/temporalio/retry_state.rbs +0 -20
  606. data/sig/temporalio/runtime.rbs +0 -12
  607. data/sig/temporalio/testing/time_skipping_handle.rbs +0 -15
  608. data/sig/temporalio/testing/time_skipping_interceptor.rbs +0 -13
  609. data/sig/temporalio/testing/workflow_environment.rbs +0 -22
  610. data/sig/temporalio/testing.rbs +0 -35
  611. data/sig/temporalio/timeout_type.rbs +0 -15
  612. data/sig/temporalio/version.rbs +0 -3
  613. data/sig/temporalio/worker/activity_runner.rbs +0 -35
  614. data/sig/temporalio/worker/activity_worker.rbs +0 -44
  615. data/sig/temporalio/worker/reactor.rbs +0 -22
  616. data/sig/temporalio/worker/runner.rbs +0 -21
  617. data/sig/temporalio/worker/sync_worker.rbs +0 -23
  618. data/sig/temporalio/worker/thread_pool_executor.rbs +0 -23
  619. data/sig/temporalio/worker.rbs +0 -46
  620. data/sig/temporalio/workflow/async.rbs +0 -9
  621. data/sig/temporalio/workflow/execution_info.rbs +0 -55
  622. data/sig/temporalio/workflow/execution_status.rbs +0 -21
  623. data/sig/temporalio/workflow/future.rbs +0 -40
  624. data/sig/temporalio/workflow/id_reuse_policy.rbs +0 -15
  625. data/sig/temporalio/workflow/info.rbs +0 -55
  626. data/sig/temporalio/workflow/query_reject_condition.rbs +0 -14
  627. data/sig/temporalio.rbs +0 -2
  628. data/sig/thermite_patch.rbs +0 -15
@@ -1,1199 +0,0 @@
1
- // The MIT License
2
- //
3
- // Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.
4
- //
5
- // Permission is hereby granted, free of charge, to any person obtaining a copy
6
- // of this software and associated documentation files (the "Software"), to deal
7
- // in the Software without restriction, including without limitation the rights
8
- // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- // copies of the Software, and to permit persons to whom the Software is
10
- // furnished to do so, subject to the following conditions:
11
- //
12
- // The above copyright notice and this permission notice shall be included in
13
- // all copies or substantial portions of the Software.
14
- //
15
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- // THE SOFTWARE.
22
-
23
- syntax = "proto3";
24
-
25
- package temporal.api.workflowservice.v1;
26
-
27
- option go_package = "go.temporal.io/api/workflowservice/v1;workflowservice";
28
- option java_package = "io.temporal.api.workflowservice.v1";
29
- option java_multiple_files = true;
30
- option java_outer_classname = "RequestResponseProto";
31
- option ruby_package = "Temporalio::Api::WorkflowService::V1";
32
- option csharp_namespace = "Temporalio.Api.WorkflowService.V1";
33
-
34
- import "temporal/api/enums/v1/batch_operation.proto";
35
- import "temporal/api/enums/v1/workflow.proto";
36
- import "temporal/api/enums/v1/namespace.proto";
37
- import "temporal/api/enums/v1/failed_cause.proto";
38
- import "temporal/api/enums/v1/common.proto";
39
- import "temporal/api/enums/v1/query.proto";
40
- import "temporal/api/enums/v1/reset.proto";
41
- import "temporal/api/enums/v1/task_queue.proto";
42
- import "temporal/api/common/v1/message.proto";
43
- import "temporal/api/history/v1/message.proto";
44
- import "temporal/api/workflow/v1/message.proto";
45
- import "temporal/api/command/v1/message.proto";
46
- import "temporal/api/failure/v1/message.proto";
47
- import "temporal/api/filter/v1/message.proto";
48
- import "temporal/api/protocol/v1/message.proto";
49
- import "temporal/api/namespace/v1/message.proto";
50
- import "temporal/api/query/v1/message.proto";
51
- import "temporal/api/replication/v1/message.proto";
52
- import "temporal/api/schedule/v1/message.proto";
53
- import "temporal/api/taskqueue/v1/message.proto";
54
- import "temporal/api/update/v1/message.proto";
55
- import "temporal/api/version/v1/message.proto";
56
- import "temporal/api/batch/v1/message.proto";
57
- import "temporal/api/sdk/v1/task_complete_metadata.proto";
58
-
59
- import "google/protobuf/duration.proto";
60
- import "google/protobuf/timestamp.proto";
61
-
62
- import "dependencies/gogoproto/gogo.proto";
63
-
64
- message RegisterNamespaceRequest {
65
- string namespace = 1;
66
- string description = 2;
67
- string owner_email = 3;
68
- google.protobuf.Duration workflow_execution_retention_period = 4 [(gogoproto.stdduration) = true];
69
- repeated temporal.api.replication.v1.ClusterReplicationConfig clusters = 5;
70
- string active_cluster_name = 6;
71
- // A key-value map for any customized purpose.
72
- map<string, string> data = 7;
73
- string security_token = 8;
74
- bool is_global_namespace = 9;
75
- // If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
76
- temporal.api.enums.v1.ArchivalState history_archival_state = 10;
77
- string history_archival_uri = 11;
78
- // If unspecified (ARCHIVAL_STATE_UNSPECIFIED) then default server configuration is used.
79
- temporal.api.enums.v1.ArchivalState visibility_archival_state = 12;
80
- string visibility_archival_uri = 13;
81
- }
82
-
83
- message RegisterNamespaceResponse {
84
- }
85
-
86
- message ListNamespacesRequest {
87
- int32 page_size = 1;
88
- bytes next_page_token = 2;
89
- temporal.api.namespace.v1.NamespaceFilter namespace_filter = 3;
90
- }
91
-
92
- message ListNamespacesResponse {
93
- repeated DescribeNamespaceResponse namespaces = 1;
94
- bytes next_page_token = 2;
95
- }
96
-
97
- message DescribeNamespaceRequest {
98
- string namespace = 1;
99
- string id = 2;
100
- }
101
-
102
- message DescribeNamespaceResponse {
103
- temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
104
- temporal.api.namespace.v1.NamespaceConfig config = 2;
105
- temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
106
- int64 failover_version = 4;
107
- bool is_global_namespace = 5;
108
- // Contains the historical state of failover_versions for the cluster, truncated to contain only the last N
109
- // states to ensure that the list does not grow unbounded.
110
- repeated temporal.api.replication.v1.FailoverStatus failover_history = 6;
111
- }
112
-
113
- // (-- api-linter: core::0134::request-mask-required=disabled
114
- // aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
115
- // (-- api-linter: core::0134::request-resource-required=disabled
116
- // aip.dev/not-precedent: UpdateNamespace RPC doesn't follow Google API format. --)
117
- message UpdateNamespaceRequest {
118
- string namespace = 1;
119
- temporal.api.namespace.v1.UpdateNamespaceInfo update_info = 2;
120
- temporal.api.namespace.v1.NamespaceConfig config = 3;
121
- temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 4;
122
- string security_token = 5;
123
- string delete_bad_binary = 6;
124
- // promote local namespace to global namespace. Ignored if namespace is already global namespace.
125
- bool promote_namespace = 7;
126
- }
127
-
128
- message UpdateNamespaceResponse {
129
- temporal.api.namespace.v1.NamespaceInfo namespace_info = 1;
130
- temporal.api.namespace.v1.NamespaceConfig config = 2;
131
- temporal.api.replication.v1.NamespaceReplicationConfig replication_config = 3;
132
- int64 failover_version = 4;
133
- bool is_global_namespace = 5;
134
- }
135
-
136
- // Deprecated.
137
- message DeprecateNamespaceRequest {
138
- string namespace = 1;
139
- string security_token = 2;
140
- }
141
-
142
- // Deprecated.
143
- message DeprecateNamespaceResponse {
144
- }
145
-
146
- message StartWorkflowExecutionRequest {
147
- string namespace = 1;
148
- string workflow_id = 2;
149
- temporal.api.common.v1.WorkflowType workflow_type = 3;
150
- temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
151
- // Serialized arguments to the workflow. These are passed as arguments to the workflow function.
152
- temporal.api.common.v1.Payloads input = 5;
153
- // Total workflow execution timeout including retries and continue as new.
154
- google.protobuf.Duration workflow_execution_timeout = 6 [(gogoproto.stdduration) = true];
155
- // Timeout of a single workflow run.
156
- google.protobuf.Duration workflow_run_timeout = 7 [(gogoproto.stdduration) = true];
157
- // Timeout of a single workflow task.
158
- google.protobuf.Duration workflow_task_timeout = 8 [(gogoproto.stdduration) = true];
159
- // The identity of the client who initiated this request
160
- string identity = 9;
161
- // A unique identifier for this start request. Typically UUIDv4.
162
- string request_id = 10;
163
- // Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
164
- temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;
165
- // The retry policy for the workflow. Will never exceed `workflow_execution_timeout`.
166
- temporal.api.common.v1.RetryPolicy retry_policy = 12;
167
- // See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
168
- string cron_schedule = 13;
169
- temporal.api.common.v1.Memo memo = 14;
170
- temporal.api.common.v1.SearchAttributes search_attributes = 15;
171
- temporal.api.common.v1.Header header = 16;
172
- // Request to get the first workflow task inline in the response bypassing matching service and worker polling.
173
- // If set to `true` the caller is expected to have a worker available and capable of processing the task.
174
- // The returned task will be marked as started and is expected to be completed by the specified
175
- // `workflow_task_timeout`.
176
- bool request_eager_execution = 17;
177
- // These values will be available as ContinuedFailure and LastCompletionResult in the
178
- // WorkflowExecutionStarted event and through SDKs. The are currently only used by the
179
- // server itself (for the schedules feature) and are not intended to be exposed in
180
- // StartWorkflowExecution.
181
- temporal.api.failure.v1.Failure continued_failure = 18;
182
- temporal.api.common.v1.Payloads last_completion_result = 19;
183
- }
184
-
185
- message StartWorkflowExecutionResponse {
186
- string run_id = 1;
187
- // When `request_eager_execution` is set on the `StartWorkflowExecutionRequest`, the server - if supported - will
188
- // return the first workflow task to be eagerly executed.
189
- // The caller is expected to have a worker available to process the task.
190
- PollWorkflowTaskQueueResponse eager_workflow_task = 2;
191
- }
192
-
193
- message GetWorkflowExecutionHistoryRequest {
194
- string namespace = 1;
195
- temporal.api.common.v1.WorkflowExecution execution = 2;
196
- int32 maximum_page_size = 3;
197
- // If a `GetWorkflowExecutionHistoryResponse` or a `PollWorkflowTaskQueueResponse` had one of
198
- // these, it should be passed here to fetch the next page.
199
- bytes next_page_token = 4;
200
- // If set to true, the RPC call will not resolve until there is a new event which matches
201
- // the `history_event_filter_type`, or a timeout is hit.
202
- bool wait_new_event = 5;
203
- // Filter returned events such that they match the specified filter type.
204
- // Default: HISTORY_EVENT_FILTER_TYPE_ALL_EVENT.
205
- temporal.api.enums.v1.HistoryEventFilterType history_event_filter_type = 6;
206
- bool skip_archival = 7;
207
- }
208
-
209
- message GetWorkflowExecutionHistoryResponse {
210
- temporal.api.history.v1.History history = 1;
211
- // Raw history is an alternate representation of history that may be returned if configured on
212
- // the frontend. This is not supported by all SDKs. Either this or `history` will be set.
213
- repeated temporal.api.common.v1.DataBlob raw_history = 2;
214
- // Will be set if there are more history events than were included in this response
215
- bytes next_page_token = 3;
216
- bool archived = 4;
217
- }
218
-
219
- message GetWorkflowExecutionHistoryReverseRequest {
220
- string namespace = 1;
221
- temporal.api.common.v1.WorkflowExecution execution = 2;
222
- int32 maximum_page_size = 3;
223
- bytes next_page_token = 4;
224
- }
225
-
226
- message GetWorkflowExecutionHistoryReverseResponse {
227
- temporal.api.history.v1.History history = 1;
228
- // Will be set if there are more history events than were included in this response
229
- bytes next_page_token = 3;
230
- }
231
-
232
- message PollWorkflowTaskQueueRequest {
233
- string namespace = 1;
234
- temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
235
- // The identity of the worker/client who is polling this task queue
236
- string identity = 3;
237
- // Each worker process should provide an ID unique to the specific set of code it is running
238
- // "checksum" in this field name isn't very accurate, it should be though of as an id.
239
- string binary_checksum = 4;
240
- // If set, the worker is opting in to build-id based versioning and wishes to only
241
- // receive tasks that are considered compatible with the version provided.
242
- // Doing so only makes sense in conjunction with the `UpdateWorkerBuildIdOrdering` API.
243
- // When `worker_versioning_id` has a `worker_build_id`, and `binary_checksum` is not
244
- // set, that value should also be considered as the `binary_checksum`.
245
- temporal.api.taskqueue.v1.VersionId worker_versioning_id = 5;
246
- }
247
-
248
- message PollWorkflowTaskQueueResponse {
249
- // A unique identifier for this task
250
- bytes task_token = 1;
251
- temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
252
- temporal.api.common.v1.WorkflowType workflow_type = 3;
253
- // The last workflow task started event which was processed by some worker for this execution.
254
- // Will be zero if no task has ever started.
255
- int64 previous_started_event_id = 4;
256
- // The id of the most recent workflow task started event, which will have been generated as a
257
- // result of this poll request being served.
258
- int64 started_event_id = 5;
259
- // Starting at 1, the number of attempts to complete this task by any worker.
260
- int32 attempt = 6;
261
- // A hint that there are more tasks already present in this task queue. Can be used to
262
- // prioritize draining a sticky queue before polling from a normal queue.
263
- int64 backlog_count_hint = 7;
264
- // The history for this workflow, which will either be complete or partial. Partial histories
265
- // are sent to workers who have signaled that they are using a sticky queue when completing
266
- // a workflow task.
267
- temporal.api.history.v1.History history = 8;
268
- // Will be set if there are more history events than were included in this response. Such events
269
- // should be fetched via `GetWorkflowExecutionHistory`.
270
- bytes next_page_token = 9;
271
- // Legacy queries appear in this field. The query must be responded to via
272
- // `RespondQueryTaskCompleted`. If the workflow is already closed (queries are permitted on
273
- // closed workflows) then the `history` field will be populated with the entire history. It
274
- // may also be populated if this task originates on a non-sticky queue.
275
- temporal.api.query.v1.WorkflowQuery query = 10;
276
- // The task queue this task originated from, which will always be the original non-sticky name
277
- // for the queue, even if this response came from polling a sticky queue.
278
- temporal.api.taskqueue.v1.TaskQueue workflow_execution_task_queue = 11;
279
- // When this task was scheduled by the server
280
- google.protobuf.Timestamp scheduled_time = 12 [(gogoproto.stdtime) = true];
281
- // When the current workflow task started event was generated, meaning the current attempt.
282
- google.protobuf.Timestamp started_time = 13 [(gogoproto.stdtime) = true];
283
- // Queries that should be executed after applying the history in this task. Responses should be
284
- // attached to `RespondWorkflowTaskCompletedRequest::query_results`
285
- map<string, temporal.api.query.v1.WorkflowQuery> queries = 14;
286
- // Protocol messages piggybacking on a WFT as a transport
287
- repeated temporal.api.protocol.v1.Message messages = 15;
288
- }
289
-
290
- message RespondWorkflowTaskCompletedRequest {
291
- // The task token as received in `PollWorkflowTaskQueueResponse`
292
- bytes task_token = 1;
293
- // A list of commands generated when driving the workflow code in response to the new task
294
- repeated temporal.api.command.v1.Command commands = 2;
295
- // The identity of the worker/client
296
- string identity = 3;
297
- // May be set by workers to indicate that the worker desires future tasks to be provided with
298
- // incremental history on a sticky queue.
299
- temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4;
300
- // If set, the worker wishes to immediately receive the next workflow task as a response to
301
- // this completion. This can save on polling round-trips.
302
- bool return_new_workflow_task = 5;
303
- // Can be used to *force* creation of a new workflow task, even if no commands have resolved or
304
- // one would not otherwise have been generated. This is used when the worker knows it is doing
305
- // something useful, but cannot complete it within the workflow task timeout. Local activities
306
- // which run for longer than the task timeout being the prime example.
307
- bool force_create_new_workflow_task = 6;
308
- // Worker process' unique binary id
309
- string binary_checksum = 7;
310
- // Responses to the `queries` field in the task being responded to
311
- map<string, temporal.api.query.v1.WorkflowQueryResult> query_results = 8;
312
- string namespace = 9;
313
- // If using versioning, worker should send the same id here that it used to
314
- // poll for the workflow task.
315
- // When `worker_versioning_id` has a `worker_build_id`, and `binary_checksum` is not
316
- // set, that value should also be considered as the `binary_checksum`.
317
- temporal.api.taskqueue.v1.VersionId worker_versioning_id = 10;
318
- // Protocol messages piggybacking on a WFT as a transport
319
- repeated temporal.api.protocol.v1.Message messages = 11;
320
- // Data the SDK wishes to record for itself, but server need not interpret, and does not
321
- // directly impact workflow state.
322
- temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 12;
323
- // Local usage data collected for metering
324
- temporal.api.common.v1.MeteringMetadata metering_metadata = 13;
325
- }
326
-
327
- message RespondWorkflowTaskCompletedResponse {
328
- // See `RespondWorkflowTaskCompletedResponse::return_new_workflow_task`
329
- PollWorkflowTaskQueueResponse workflow_task = 1;
330
- // See `ScheduleActivityTaskCommandAttributes::request_start`
331
- repeated PollActivityTaskQueueResponse activity_tasks = 2;
332
-
333
- int64 reset_history_event_id = 3;
334
- }
335
-
336
- message RespondWorkflowTaskFailedRequest {
337
- // The task token as received in `PollWorkflowTaskQueueResponse`
338
- bytes task_token = 1;
339
- // Why did the task fail? It's important to note that many of the variants in this enum cannot
340
- // apply to worker responses. See the type's doc for more.
341
- temporal.api.enums.v1.WorkflowTaskFailedCause cause = 2;
342
- // Failure details
343
- temporal.api.failure.v1.Failure failure = 3;
344
- // The identity of the worker/client
345
- string identity = 4;
346
- // Worker process' unique binary id
347
- string binary_checksum = 5;
348
- string namespace = 6;
349
- // Protocol messages piggybacking on a WFT as a transport
350
- repeated temporal.api.protocol.v1.Message messages = 7;
351
- }
352
-
353
- message RespondWorkflowTaskFailedResponse {
354
- }
355
-
356
- message PollActivityTaskQueueRequest {
357
- string namespace = 1;
358
- temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
359
- // The identity of the worker/client
360
- string identity = 3;
361
- temporal.api.taskqueue.v1.TaskQueueMetadata task_queue_metadata = 4;
362
- // If set, the worker is opting in to build-id based versioning and wishes to only
363
- // receive tasks that are considered compatible with the version provided.
364
- // Doing so only makes sense in conjunction with the `UpdateWorkerBuildIdOrdering` API.
365
- temporal.api.taskqueue.v1.VersionId worker_versioning_id = 5;
366
- }
367
-
368
- message PollActivityTaskQueueResponse {
369
- // A unique identifier for this task
370
- bytes task_token = 1;
371
- // The namespace the workflow which requested this activity lives in
372
- string workflow_namespace = 2;
373
- // Type of the requesting workflow
374
- temporal.api.common.v1.WorkflowType workflow_type = 3;
375
- // Execution info of the requesting workflow
376
- temporal.api.common.v1.WorkflowExecution workflow_execution = 4;
377
- temporal.api.common.v1.ActivityType activity_type = 5;
378
- // The autogenerated or user specified identifier of this activity. Can be used to complete the
379
- // activity via `RespondActivityTaskCompletedById`. May be re-used as long as the last usage
380
- // has resolved, but unique IDs for every activity invocation is a good idea.
381
- string activity_id = 6;
382
- // Headers specified by the scheduling workflow. Commonly used to propagate contextual info
383
- // from the workflow to its activities. For example, tracing contexts.
384
- temporal.api.common.v1.Header header = 7;
385
- // Arguments to the activity invocation
386
- temporal.api.common.v1.Payloads input = 8;
387
- // Details of the last heartbeat that was recorded for this activity as of the time this task
388
- // was delivered.
389
- temporal.api.common.v1.Payloads heartbeat_details = 9;
390
- // When was this task first scheduled
391
- google.protobuf.Timestamp scheduled_time = 10 [(gogoproto.stdtime) = true];
392
- // When was this task attempt scheduled
393
- google.protobuf.Timestamp current_attempt_scheduled_time = 11 [(gogoproto.stdtime) = true];
394
- // When was this task started (this attempt)
395
- google.protobuf.Timestamp started_time = 12 [(gogoproto.stdtime) = true];
396
- // Starting at 1, the number of attempts to perform this activity
397
- int32 attempt = 13;
398
- // First scheduled -> final result reported timeout
399
- //
400
- // (-- api-linter: core::0140::prepositions=disabled
401
- // aip.dev/not-precedent: "to" is used to indicate interval. --)
402
- google.protobuf.Duration schedule_to_close_timeout = 14 [(gogoproto.stdduration) = true];
403
- // Current attempt start -> final result reported timeout
404
- //
405
- // (-- api-linter: core::0140::prepositions=disabled
406
- // aip.dev/not-precedent: "to" is used to indicate interval. --)
407
- google.protobuf.Duration start_to_close_timeout = 15 [(gogoproto.stdduration) = true];
408
- // Window within which the activity must report a heartbeat, or be timed out.
409
- google.protobuf.Duration heartbeat_timeout = 16 [(gogoproto.stdduration) = true];
410
- // This is the retry policy the service uses which may be different from the one provided
411
- // (or not) during activity scheduling. The service can override the provided one if some
412
- // values are not specified or exceed configured system limits.
413
- temporal.api.common.v1.RetryPolicy retry_policy = 17;
414
- }
415
-
416
- message RecordActivityTaskHeartbeatRequest {
417
- // The task token as received in `PollActivityTaskQueueResponse`
418
- bytes task_token = 1;
419
- // Arbitrary data, of which the most recent call is kept, to store for this activity
420
- temporal.api.common.v1.Payloads details = 2;
421
- // The identity of the worker/client
422
- string identity = 3;
423
- string namespace = 4;
424
- }
425
-
426
- message RecordActivityTaskHeartbeatResponse {
427
- // Will be set to true if the activity has been asked to cancel itself. The SDK should then
428
- // notify the activity of cancellation if it is still running.
429
- bool cancel_requested = 1;
430
- }
431
-
432
- message RecordActivityTaskHeartbeatByIdRequest {
433
- // Namespace of the workflow which scheduled this activity
434
- string namespace = 1;
435
- // Id of the workflow which scheduled this activity
436
- string workflow_id = 2;
437
- // Run Id of the workflow which scheduled this activity
438
- string run_id = 3;
439
- // Id of the activity we're heartbeating
440
- string activity_id = 4;
441
- // Arbitrary data, of which the most recent call is kept, to store for this activity
442
- temporal.api.common.v1.Payloads details = 5;
443
- // The identity of the worker/client
444
- string identity = 6;
445
- }
446
-
447
- message RecordActivityTaskHeartbeatByIdResponse {
448
- // Will be set to true if the activity has been asked to cancel itself. The SDK should then
449
- // notify the activity of cancellation if it is still running.
450
- bool cancel_requested = 1;
451
- }
452
-
453
- message RespondActivityTaskCompletedRequest {
454
- // The task token as received in `PollActivityTaskQueueResponse`
455
- bytes task_token = 1;
456
- // The result of successfully executing the activity
457
- temporal.api.common.v1.Payloads result = 2;
458
- // The identity of the worker/client
459
- string identity = 3;
460
- string namespace = 4;
461
- }
462
-
463
- message RespondActivityTaskCompletedResponse {
464
- }
465
-
466
- message RespondActivityTaskCompletedByIdRequest {
467
- // Namespace of the workflow which scheduled this activity
468
- string namespace = 1;
469
- // Id of the workflow which scheduled this activity
470
- string workflow_id = 2;
471
- // Run Id of the workflow which scheduled this activity
472
- string run_id = 3;
473
- // Id of the activity to complete
474
- string activity_id = 4;
475
- // The serialized result of activity execution
476
- temporal.api.common.v1.Payloads result = 5;
477
- // The identity of the worker/client
478
- string identity = 6;
479
- }
480
-
481
- message RespondActivityTaskCompletedByIdResponse {
482
- }
483
-
484
- message RespondActivityTaskFailedRequest {
485
- // The task token as received in `PollActivityTaskQueueResponse`
486
- bytes task_token = 1;
487
- // Detailed failure information
488
- temporal.api.failure.v1.Failure failure = 2;
489
- // The identity of the worker/client
490
- string identity = 3;
491
- string namespace = 4;
492
- // Additional details to be stored as last activity heartbeat
493
- temporal.api.common.v1.Payloads last_heartbeat_details = 5;
494
- }
495
-
496
- message RespondActivityTaskFailedResponse {
497
- // Server validation failures could include
498
- // last_heartbeat_details payload is too large, request failure is too large
499
- repeated temporal.api.failure.v1.Failure failures = 1;
500
- }
501
-
502
- message RespondActivityTaskFailedByIdRequest {
503
- // Namespace of the workflow which scheduled this activity
504
- string namespace = 1;
505
- // Id of the workflow which scheduled this activity
506
- string workflow_id = 2;
507
- // Run Id of the workflow which scheduled this activity
508
- string run_id = 3;
509
- // Id of the activity to fail
510
- string activity_id = 4;
511
- // Detailed failure information
512
- temporal.api.failure.v1.Failure failure = 5;
513
- // The identity of the worker/client
514
- string identity = 6;
515
- // Additional details to be stored as last activity heartbeat
516
- temporal.api.common.v1.Payloads last_heartbeat_details = 7;
517
- }
518
-
519
- message RespondActivityTaskFailedByIdResponse {
520
- // Server validation failures could include
521
- // last_heartbeat_details payload is too large, request failure is too large
522
- repeated temporal.api.failure.v1.Failure failures = 1;
523
- }
524
-
525
- message RespondActivityTaskCanceledRequest {
526
- // The task token as received in `PollActivityTaskQueueResponse`
527
- bytes task_token = 1;
528
- // Serialized additional information to attach to the cancellation
529
- temporal.api.common.v1.Payloads details = 2;
530
- // The identity of the worker/client
531
- string identity = 3;
532
- string namespace = 4;
533
- }
534
-
535
- message RespondActivityTaskCanceledResponse {
536
- }
537
-
538
- message RespondActivityTaskCanceledByIdRequest {
539
- // Namespace of the workflow which scheduled this activity
540
- string namespace = 1;
541
- // Id of the workflow which scheduled this activity
542
- string workflow_id = 2;
543
- // Run Id of the workflow which scheduled this activity
544
- string run_id = 3;
545
- // Id of the activity to confirm is cancelled
546
- string activity_id = 4;
547
- // Serialized additional information to attach to the cancellation
548
- temporal.api.common.v1.Payloads details = 5;
549
- // The identity of the worker/client
550
- string identity = 6;
551
- }
552
-
553
- message RespondActivityTaskCanceledByIdResponse {
554
- }
555
-
556
- message RequestCancelWorkflowExecutionRequest {
557
- string namespace = 1;
558
- temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
559
- // The identity of the worker/client
560
- string identity = 3;
561
- // Used to de-dupe cancellation requests
562
- string request_id = 4;
563
- // If set, this call will error if the most recent (if no run id is set on
564
- // `workflow_execution`), or specified (if it is) workflow execution is not part of the same
565
- // execution chain as this id.
566
- string first_execution_run_id = 5;
567
- // Reason for requesting the cancellation
568
- string reason = 6;
569
- }
570
-
571
- message RequestCancelWorkflowExecutionResponse {
572
- }
573
-
574
- message SignalWorkflowExecutionRequest {
575
- string namespace = 1;
576
- temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
577
- // The workflow author-defined name of the signal to send to the workflow
578
- string signal_name = 3;
579
- // Serialized value(s) to provide with the signal
580
- temporal.api.common.v1.Payloads input = 4;
581
- // The identity of the worker/client
582
- string identity = 5;
583
- // Used to de-dupe sent signals
584
- string request_id = 6;
585
- // Deprecated
586
- string control = 7;
587
- // Headers that are passed with the signal to the processing workflow.
588
- // These can include things like auth or tracing tokens.
589
- temporal.api.common.v1.Header header = 8;
590
- }
591
-
592
- message SignalWorkflowExecutionResponse {
593
- }
594
-
595
- message SignalWithStartWorkflowExecutionRequest {
596
- string namespace = 1;
597
- string workflow_id = 2;
598
- temporal.api.common.v1.WorkflowType workflow_type = 3;
599
- // The task queue to start this workflow on, if it will be started
600
- temporal.api.taskqueue.v1.TaskQueue task_queue = 4;
601
- // Serialized arguments to the workflow. These are passed as arguments to the workflow function.
602
- temporal.api.common.v1.Payloads input = 5;
603
- // Total workflow execution timeout including retries and continue as new
604
- google.protobuf.Duration workflow_execution_timeout = 6 [(gogoproto.stdduration) = true];
605
- // Timeout of a single workflow run
606
- google.protobuf.Duration workflow_run_timeout = 7 [(gogoproto.stdduration) = true];
607
- // Timeout of a single workflow task
608
- google.protobuf.Duration workflow_task_timeout = 8 [(gogoproto.stdduration) = true];
609
- // The identity of the worker/client
610
- string identity = 9;
611
- // Used to de-dupe signal w/ start requests
612
- string request_id = 10;
613
- temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 11;
614
- // The workflow author-defined name of the signal to send to the workflow
615
- string signal_name = 12;
616
- // Serialized value(s) to provide with the signal
617
- temporal.api.common.v1.Payloads signal_input = 13;
618
- // Deprecated
619
- string control = 14;
620
- // Retry policy for the workflow Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
621
- temporal.api.common.v1.RetryPolicy retry_policy = 15;
622
- // See https://docs.temporal.io/docs/content/what-is-a-temporal-cron-job/
623
- string cron_schedule = 16;
624
- temporal.api.common.v1.Memo memo = 17;
625
- temporal.api.common.v1.SearchAttributes search_attributes = 18;
626
- temporal.api.common.v1.Header header = 19;
627
- }
628
-
629
- message SignalWithStartWorkflowExecutionResponse {
630
- string run_id = 1;
631
- }
632
-
633
- message ResetWorkflowExecutionRequest {
634
- string namespace = 1;
635
- temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
636
- string reason = 3;
637
- // The id of a `WORKFLOW_TASK_COMPLETED`,`WORKFLOW_TASK_TIMED_OUT`, `WORKFLOW_TASK_FAILED`, or
638
- // `WORKFLOW_TASK_STARTED` event to reset to.
639
- int64 workflow_task_finish_event_id = 4;
640
- // Used to de-dupe reset requests
641
- string request_id = 5;
642
- // Reset reapplay(replay) options.
643
- temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 6;
644
- }
645
-
646
- message ResetWorkflowExecutionResponse {
647
- string run_id = 1;
648
- }
649
-
650
- message TerminateWorkflowExecutionRequest {
651
- string namespace = 1;
652
- temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
653
- string reason = 3;
654
- // Serialized additional information to attach to the termination event
655
- temporal.api.common.v1.Payloads details = 4;
656
- // The identity of the worker/client
657
- string identity = 5;
658
- // If set, this call will error if the most recent (if no run id is set on
659
- // `workflow_execution`), or specified (if it is) workflow execution is not part of the same
660
- // execution chain as this id.
661
- string first_execution_run_id = 6;
662
- }
663
-
664
- message TerminateWorkflowExecutionResponse {
665
- }
666
-
667
- // (-- api-linter: core::0135::request-unknown-fields=disabled
668
- // aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
669
- // (-- api-linter: core::0135::request-name-required=disabled
670
- // aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
671
- message DeleteWorkflowExecutionRequest {
672
- string namespace = 1;
673
- // Workflow Execution to delete. If run_id is not specified, the latest one is used.
674
- temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
675
- }
676
-
677
- message DeleteWorkflowExecutionResponse {
678
- }
679
-
680
- message ListOpenWorkflowExecutionsRequest {
681
- string namespace = 1;
682
- int32 maximum_page_size = 2;
683
- bytes next_page_token = 3;
684
- temporal.api.filter.v1.StartTimeFilter start_time_filter = 4;
685
- oneof filters {
686
- temporal.api.filter.v1.WorkflowExecutionFilter execution_filter = 5;
687
- temporal.api.filter.v1.WorkflowTypeFilter type_filter = 6;
688
- }
689
- }
690
-
691
- message ListOpenWorkflowExecutionsResponse {
692
- repeated temporal.api.workflow.v1.WorkflowExecutionInfo executions = 1;
693
- bytes next_page_token = 2;
694
- }
695
-
696
- message ListClosedWorkflowExecutionsRequest {
697
- string namespace = 1;
698
- int32 maximum_page_size = 2;
699
- bytes next_page_token = 3;
700
- temporal.api.filter.v1.StartTimeFilter start_time_filter = 4;
701
- oneof filters {
702
- temporal.api.filter.v1.WorkflowExecutionFilter execution_filter = 5;
703
- temporal.api.filter.v1.WorkflowTypeFilter type_filter = 6;
704
- temporal.api.filter.v1.StatusFilter status_filter = 7;
705
- }
706
- }
707
-
708
- message ListClosedWorkflowExecutionsResponse {
709
- repeated temporal.api.workflow.v1.WorkflowExecutionInfo executions = 1;
710
- bytes next_page_token = 2;
711
- }
712
-
713
- message ListWorkflowExecutionsRequest {
714
- string namespace = 1;
715
- int32 page_size = 2;
716
- bytes next_page_token = 3;
717
- string query = 4;
718
- }
719
-
720
- message ListWorkflowExecutionsResponse {
721
- repeated temporal.api.workflow.v1.WorkflowExecutionInfo executions = 1;
722
- bytes next_page_token = 2;
723
- }
724
-
725
- message ListArchivedWorkflowExecutionsRequest {
726
- string namespace = 1;
727
- int32 page_size = 2;
728
- bytes next_page_token = 3;
729
- string query = 4;
730
- }
731
-
732
- message ListArchivedWorkflowExecutionsResponse {
733
- repeated temporal.api.workflow.v1.WorkflowExecutionInfo executions = 1;
734
- bytes next_page_token = 2;
735
- }
736
-
737
- message ScanWorkflowExecutionsRequest {
738
- string namespace = 1;
739
- int32 page_size = 2;
740
- bytes next_page_token = 3;
741
- string query = 4;
742
- }
743
-
744
- message ScanWorkflowExecutionsResponse {
745
- repeated temporal.api.workflow.v1.WorkflowExecutionInfo executions = 1;
746
- bytes next_page_token = 2;
747
- }
748
-
749
- message CountWorkflowExecutionsRequest {
750
- string namespace = 1;
751
- string query = 2;
752
- }
753
-
754
- message CountWorkflowExecutionsResponse {
755
- int64 count = 1;
756
- }
757
-
758
- message GetSearchAttributesRequest {
759
- }
760
-
761
- message GetSearchAttributesResponse {
762
- map<string, temporal.api.enums.v1.IndexedValueType> keys = 1;
763
- }
764
-
765
- message RespondQueryTaskCompletedRequest {
766
- bytes task_token = 1;
767
- temporal.api.enums.v1.QueryResultType completed_type = 2;
768
- temporal.api.common.v1.Payloads query_result = 3;
769
- string error_message = 4;
770
- reserved 5;
771
- string namespace = 6;
772
- }
773
-
774
- message RespondQueryTaskCompletedResponse {
775
- }
776
-
777
- message ResetStickyTaskQueueRequest {
778
- string namespace = 1;
779
- temporal.api.common.v1.WorkflowExecution execution = 2;
780
- }
781
-
782
- message ResetStickyTaskQueueResponse {
783
- }
784
-
785
- message QueryWorkflowRequest {
786
- string namespace = 1;
787
- temporal.api.common.v1.WorkflowExecution execution = 2;
788
- temporal.api.query.v1.WorkflowQuery query = 3;
789
- // QueryRejectCondition can used to reject the query if workflow state does not satisfy condition.
790
- // Default: QUERY_REJECT_CONDITION_NONE.
791
- temporal.api.enums.v1.QueryRejectCondition query_reject_condition = 4;
792
- }
793
-
794
- message QueryWorkflowResponse {
795
- temporal.api.common.v1.Payloads query_result = 1;
796
- temporal.api.query.v1.QueryRejected query_rejected = 2;
797
- }
798
-
799
- message DescribeWorkflowExecutionRequest {
800
- string namespace = 1;
801
- temporal.api.common.v1.WorkflowExecution execution = 2;
802
- }
803
-
804
- message DescribeWorkflowExecutionResponse {
805
- temporal.api.workflow.v1.WorkflowExecutionConfig execution_config = 1;
806
- temporal.api.workflow.v1.WorkflowExecutionInfo workflow_execution_info = 2;
807
- repeated temporal.api.workflow.v1.PendingActivityInfo pending_activities = 3;
808
- repeated temporal.api.workflow.v1.PendingChildExecutionInfo pending_children = 4;
809
- temporal.api.workflow.v1.PendingWorkflowTaskInfo pending_workflow_task = 5;
810
- }
811
-
812
- message DescribeTaskQueueRequest {
813
- string namespace = 1;
814
- temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
815
- temporal.api.enums.v1.TaskQueueType task_queue_type = 3;
816
- bool include_task_queue_status = 4;
817
- }
818
-
819
- message DescribeTaskQueueResponse {
820
- repeated temporal.api.taskqueue.v1.PollerInfo pollers = 1;
821
- temporal.api.taskqueue.v1.TaskQueueStatus task_queue_status = 2;
822
- }
823
-
824
- message GetClusterInfoRequest {
825
- }
826
-
827
- // GetClusterInfoResponse contains information about Temporal cluster.
828
- message GetClusterInfoResponse {
829
- // Key is client name i.e "temporal-go", "temporal-java", or "temporal-cli".
830
- // Value is ranges of supported versions of this client i.e ">1.1.1 <=1.4.0 || ^5.0.0".
831
- map<string,string> supported_clients = 1;
832
- string server_version = 2;
833
- string cluster_id = 3;
834
- temporal.api.version.v1.VersionInfo version_info = 4;
835
- string cluster_name = 5;
836
- int32 history_shard_count = 6;
837
- string persistence_store = 7;
838
- string visibility_store = 8;
839
- }
840
-
841
- message GetSystemInfoRequest {
842
- }
843
-
844
- message GetSystemInfoResponse {
845
- // Version of the server.
846
- string server_version = 1;
847
-
848
- // All capabilities the system supports.
849
- Capabilities capabilities = 2;
850
-
851
- // System capability details.
852
- message Capabilities {
853
- // True if signal and query headers are supported.
854
- bool signal_and_query_header = 1;
855
-
856
- // True if internal errors are differentiated from other types of errors for purposes of
857
- // retrying non-internal errors.
858
- //
859
- // When unset/false, clients retry all failures. When true, clients should only retry
860
- // non-internal errors.
861
- bool internal_error_differentiation = 2;
862
-
863
- // True if RespondActivityTaskFailed API supports including heartbeat details
864
- bool activity_failure_include_heartbeat = 3;
865
-
866
- // Supports scheduled workflow features.
867
- bool supports_schedules = 4;
868
-
869
- // True if server uses protos that include temporal.api.failure.v1.Failure.encoded_attributes
870
- bool encoded_failure_attributes = 5;
871
-
872
- // True if server supports dispatching Workflow and Activity tasks based on a worker's build_id
873
- // (see:
874
- // https://github.com/temporalio/proposals/blob/a123af3b559f43db16ea6dd31870bfb754c4dc5e/versioning/worker-versions.md)
875
- bool build_id_based_versioning = 6;
876
-
877
- // True if server supports upserting workflow memo
878
- bool upsert_memo = 7;
879
-
880
- // True if server supports eager workflow task dispatching for the StartWorkflowExecution API
881
- bool eager_workflow_start = 8;
882
-
883
- // True if the server knows about the sdk metadata field on WFT completions and will record
884
- // it in history
885
- bool sdk_metadata = 9;
886
- }
887
- }
888
-
889
- message ListTaskQueuePartitionsRequest {
890
- string namespace = 1;
891
- temporal.api.taskqueue.v1.TaskQueue task_queue = 2;
892
- }
893
-
894
- message ListTaskQueuePartitionsResponse {
895
- repeated temporal.api.taskqueue.v1.TaskQueuePartitionMetadata activity_task_queue_partitions = 1;
896
- repeated temporal.api.taskqueue.v1.TaskQueuePartitionMetadata workflow_task_queue_partitions = 2;
897
- }
898
-
899
- // (-- api-linter: core::0133::request-parent-required=disabled
900
- // aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
901
- // (-- api-linter: core::0133::request-unknown-fields=disabled
902
- // aip.dev/not-precedent: CreateSchedule doesn't follow Google API format --)
903
- // (-- api-linter: core::0133::request-resource-behavior=disabled
904
- // aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)
905
- // (-- api-linter: core::0203::optional=disabled
906
- // aip.dev/not-precedent: field_behavior annotation not available in our gogo fork --)
907
- message CreateScheduleRequest {
908
- // The namespace the schedule should be created in.
909
- string namespace = 1;
910
- // The id of the new schedule.
911
- string schedule_id = 2;
912
- // The schedule spec, policies, action, and initial state.
913
- temporal.api.schedule.v1.Schedule schedule = 3;
914
- // Optional initial patch (e.g. to run the action once immediately).
915
- temporal.api.schedule.v1.SchedulePatch initial_patch = 4;
916
- // The identity of the client who initiated this request.
917
- string identity = 5;
918
- // A unique identifier for this create request for idempotence. Typically UUIDv4.
919
- string request_id = 6;
920
- // Memo and search attributes to attach to the schedule itself.
921
- temporal.api.common.v1.Memo memo = 7;
922
- temporal.api.common.v1.SearchAttributes search_attributes = 8;
923
- }
924
-
925
- message CreateScheduleResponse {
926
- bytes conflict_token = 1;
927
- }
928
-
929
- message DescribeScheduleRequest {
930
- // The namespace of the schedule to describe.
931
- string namespace = 1;
932
- // The id of the schedule to describe.
933
- string schedule_id = 2;
934
- }
935
-
936
- message DescribeScheduleResponse {
937
- // The complete current schedule details. This may not match the schedule as
938
- // created because:
939
- // - some types of schedule specs may get compiled into others (e.g.
940
- // CronString into StructuredCalendarSpec)
941
- // - some unspecified fields may be replaced by defaults
942
- // - some fields in the state are modified automatically
943
- // - the schedule may have been modified by UpdateSchedule or PatchSchedule
944
- temporal.api.schedule.v1.Schedule schedule = 1;
945
- // Extra schedule state info.
946
- temporal.api.schedule.v1.ScheduleInfo info = 2;
947
- // The memo and search attributes that the schedule was created with.
948
- temporal.api.common.v1.Memo memo = 3;
949
- temporal.api.common.v1.SearchAttributes search_attributes = 4;
950
-
951
- // This value can be passed back to UpdateSchedule to ensure that the
952
- // schedule was not modified between a Describe and an Update, which could
953
- // lead to lost updates and other confusion.
954
- bytes conflict_token = 5;
955
- }
956
-
957
- // (-- api-linter: core::0134::request-mask-required=disabled
958
- // aip.dev/not-precedent: UpdateSchedule doesn't follow Google API format --)
959
- message UpdateScheduleRequest {
960
- // The namespace of the schedule to update.
961
- string namespace = 1;
962
- // The id of the schedule to update.
963
- string schedule_id = 2;
964
- // The new schedule. The four main fields of the schedule (spec, action,
965
- // policies, state) are replaced completely by the values in this message.
966
- temporal.api.schedule.v1.Schedule schedule = 3;
967
- // This can be the value of conflict_token from a DescribeScheduleResponse,
968
- // which will cause this request to fail if the schedule has been modified
969
- // between the Describe and this Update.
970
- // If missing, the schedule will be updated unconditionally.
971
- bytes conflict_token = 4;
972
- // The identity of the client who initiated this request.
973
- string identity = 5;
974
- // A unique identifier for this update request for idempotence. Typically UUIDv4.
975
- string request_id = 6;
976
- }
977
-
978
- message UpdateScheduleResponse {
979
- }
980
-
981
- message PatchScheduleRequest {
982
- // The namespace of the schedule to patch.
983
- string namespace = 1;
984
- // The id of the schedule to patch.
985
- string schedule_id = 2;
986
- temporal.api.schedule.v1.SchedulePatch patch = 3;
987
- // The identity of the client who initiated this request.
988
- string identity = 4;
989
- // A unique identifier for this update request for idempotence. Typically UUIDv4.
990
- string request_id = 5;
991
- }
992
-
993
- message PatchScheduleResponse {
994
- }
995
-
996
- message ListScheduleMatchingTimesRequest {
997
- // The namespace of the schedule to query.
998
- string namespace = 1;
999
- // The id of the schedule to query.
1000
- string schedule_id = 2;
1001
- // Time range to query.
1002
- google.protobuf.Timestamp start_time = 3 [(gogoproto.stdtime) = true];
1003
- google.protobuf.Timestamp end_time = 4 [(gogoproto.stdtime) = true];
1004
- }
1005
-
1006
- message ListScheduleMatchingTimesResponse {
1007
- repeated google.protobuf.Timestamp start_time = 1 [(gogoproto.stdtime) = true];
1008
- }
1009
-
1010
- // (-- api-linter: core::0135::request-name-required=disabled
1011
- // aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --)
1012
- // (-- api-linter: core::0135::request-unknown-fields=disabled
1013
- // aip.dev/not-precedent: DeleteSchedule doesn't follow Google API format --)
1014
- message DeleteScheduleRequest {
1015
- // The namespace of the schedule to delete.
1016
- string namespace = 1;
1017
- // The id of the schedule to delete.
1018
- string schedule_id = 2;
1019
- // The identity of the client who initiated this request.
1020
- string identity = 3;
1021
- }
1022
-
1023
- message DeleteScheduleResponse {
1024
- }
1025
-
1026
- message ListSchedulesRequest {
1027
- // The namespace to list schedules in.
1028
- string namespace = 1;
1029
- // How many to return at once.
1030
- int32 maximum_page_size = 2;
1031
- // Token to get the next page of results.
1032
- bytes next_page_token = 3;
1033
- }
1034
-
1035
- message ListSchedulesResponse {
1036
- repeated temporal.api.schedule.v1.ScheduleListEntry schedules = 1;
1037
- bytes next_page_token = 2;
1038
- }
1039
-
1040
- // (-- api-linter: core::0134::request-mask-required=disabled
1041
- // aip.dev/not-precedent: UpdateWorkerBuildIdOrderingRequest doesn't follow Google API format --)
1042
- // (-- api-linter: core::0134::request-resource-required=disabled
1043
- // aip.dev/not-precedent: UpdateWorkerBuildIdOrderingRequest RPC doesn't follow Google API format. --)
1044
- message UpdateWorkerBuildIdOrderingRequest {
1045
- string namespace = 1;
1046
- // Must be set, the task queue to apply changes to. Because all workers on
1047
- // a given task queue must have the same set of workflow & activity
1048
- // implementations, there is no reason to specify a task queue type here.
1049
- string task_queue = 2;
1050
- // The version id we are targeting.
1051
- temporal.api.taskqueue.v1.VersionId version_id = 3;
1052
- // When set, indicates that the `version_id` in this message is compatible
1053
- // with the one specified in this field. Because compatability should form
1054
- // a DAG, any build id can only be the "next compatible" version for one
1055
- // other ID of a certain type at a time, and any setting which would create a cycle is invalid.
1056
- temporal.api.taskqueue.v1.VersionId previous_compatible = 4;
1057
- // When set, establishes the specified `version_id` as the default of it's type
1058
- // for the queue. Workers matching it will begin processing new workflow executions.
1059
- // The existing default will be marked as a previous incompatible version
1060
- // to this one, assuming it is not also in `is_compatible_with`.
1061
- bool become_default = 5;
1062
- }
1063
- message UpdateWorkerBuildIdOrderingResponse {}
1064
-
1065
- // (-- api-linter: core::0134::request-resource-required=disabled
1066
- // aip.dev/not-precedent: GetWorkerBuildIdOrderingRequest RPC doesn't follow Google API format. --)
1067
- message GetWorkerBuildIdOrderingRequest {
1068
- string namespace = 1;
1069
- // Must be set, the task queue to interrogate about worker id ordering
1070
- string task_queue = 2;
1071
- // Limits how deep the returned DAG will go. 1 will return only the
1072
- // default build id. A default/0 value will return the entire graph.
1073
- int32 max_depth = 3;
1074
- }
1075
- message GetWorkerBuildIdOrderingResponse {
1076
- // The currently established default version
1077
- temporal.api.taskqueue.v1.VersionIdNode current_default = 1;
1078
- // Other current latest-compatible versions who are not the overall default. These are the
1079
- // versions that will be used when generating new tasks by following the graph from the
1080
- // version of the last task out to a leaf.
1081
- repeated temporal.api.taskqueue.v1.VersionIdNode compatible_leaves = 2;
1082
- }
1083
-
1084
- // (-- api-linter: core::0134=disabled
1085
- // aip.dev/not-precedent: Update RPCs don't follow Google API format. --)
1086
- message UpdateWorkflowExecutionRequest {
1087
- // The namespace name of the target workflow
1088
- string namespace = 1;
1089
- // The target workflow id and (optionally) a specific run thereof
1090
- // (-- api-linter: core::0203::optional=disabled
1091
- // aip.dev/not-precedent: false positive triggered by the word "optional" --)
1092
- temporal.api.common.v1.WorkflowExecution workflow_execution = 2;
1093
- // If set, this call will error if the most recent (if no run id is set on
1094
- // `workflow_execution`), or specified (if it is) workflow execution is not
1095
- // part of the same execution chain as this id.
1096
- string first_execution_run_id = 3;
1097
-
1098
- // Describes when this request should return - basically whether the
1099
- // update is synchronous, asynchronous, or somewhere in between.
1100
- temporal.api.update.v1.WaitPolicy wait_policy = 4;
1101
-
1102
- // The request information that will be delivered all the way down to the
1103
- // workflow execution.
1104
- temporal.api.update.v1.Request request = 5;
1105
- }
1106
-
1107
- message UpdateWorkflowExecutionResponse {
1108
- // Enough information for subsequent poll calls if needed. Never null.
1109
- temporal.api.update.v1.UpdateRef update_ref = 1;
1110
-
1111
- // The outcome of the update if and only if the workflow execution update
1112
- // has completed. If this response is being returned before the update has
1113
- // completed then this field will not be set.
1114
- temporal.api.update.v1.Outcome outcome = 2;
1115
- }
1116
-
1117
- message StartBatchOperationRequest {
1118
- // Namespace that contains the batch operation
1119
- string namespace = 1;
1120
- // Visibility query defines the the group of workflow to apply the batch operation
1121
- // This field and Executions are mutually exclusive
1122
- string visibility_query = 2;
1123
- // Job ID defines the unique ID for the batch job
1124
- string job_id = 3;
1125
- // Reason to perform the batch operation
1126
- string reason = 4;
1127
- // Executions to apply the batch operation
1128
- // This field and VisibilityQuery are mutually exclusive
1129
- repeated temporal.api.common.v1.WorkflowExecution executions = 5;
1130
- // Operation input
1131
- oneof operation {
1132
- temporal.api.batch.v1.BatchOperationTermination termination_operation = 10;
1133
- temporal.api.batch.v1.BatchOperationSignal signal_operation = 11;
1134
- temporal.api.batch.v1.BatchOperationCancellation cancellation_operation = 12;
1135
- temporal.api.batch.v1.BatchOperationDeletion deletion_operation = 13;
1136
- }
1137
- }
1138
-
1139
- message StartBatchOperationResponse {
1140
- }
1141
-
1142
- message StopBatchOperationRequest {
1143
- // Namespace that contains the batch operation
1144
- string namespace = 1;
1145
- // Batch job id
1146
- string job_id = 2;
1147
- // Reason to stop a batch operation
1148
- string reason = 3;
1149
- // Identity of the operator
1150
- string identity = 4;
1151
- }
1152
-
1153
- message StopBatchOperationResponse {
1154
- }
1155
-
1156
- message DescribeBatchOperationRequest {
1157
- // Namespace that contains the batch operation
1158
- string namespace = 1;
1159
- // Batch job id
1160
- string job_id = 2;
1161
- }
1162
-
1163
- message DescribeBatchOperationResponse {
1164
- // Batch operation type
1165
- temporal.api.enums.v1.BatchOperationType operation_type = 1;
1166
- // Batch job ID
1167
- string job_id = 2;
1168
- // Batch operation state
1169
- temporal.api.enums.v1.BatchOperationState state = 3;
1170
- // Batch operation start time
1171
- google.protobuf.Timestamp start_time = 4 [(gogoproto.stdtime) = true];
1172
- // Batch operation close time
1173
- google.protobuf.Timestamp close_time = 5 [(gogoproto.stdtime) = true];
1174
- // Total operation count
1175
- int64 total_operation_count = 6;
1176
- // Complete operation count
1177
- int64 complete_operation_count = 7;
1178
- // Failure operation count
1179
- int64 failure_operation_count = 8;
1180
- // Identity indicates the operator identity
1181
- string identity = 9;
1182
- // Reason indicates the reason to stop a operation
1183
- string reason = 10;
1184
- }
1185
-
1186
- message ListBatchOperationsRequest {
1187
- // Namespace that contains the batch operation
1188
- string namespace = 1;
1189
- // List page size
1190
- int32 page_size = 2;
1191
- // Next page token
1192
- bytes next_page_token = 3;
1193
- }
1194
-
1195
- message ListBatchOperationsResponse {
1196
- // BatchOperationInfo contains the basic info about batch operation
1197
- repeated temporal.api.batch.v1.BatchOperationInfo operation_info = 1;
1198
- bytes next_page_token = 2;
1199
- }