temporalio 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -23
- data/bridge/Cargo.lock +168 -59
- data/bridge/Cargo.toml +4 -2
- data/bridge/sdk-core/README.md +19 -6
- data/bridge/sdk-core/client/src/lib.rs +215 -39
- data/bridge/sdk-core/client/src/metrics.rs +17 -8
- data/bridge/sdk-core/client/src/raw.rs +4 -4
- data/bridge/sdk-core/client/src/retry.rs +32 -20
- data/bridge/sdk-core/core/Cargo.toml +22 -9
- data/bridge/sdk-core/core/src/abstractions.rs +203 -14
- data/bridge/sdk-core/core/src/core_tests/activity_tasks.rs +76 -41
- data/bridge/sdk-core/core/src/core_tests/determinism.rs +165 -2
- data/bridge/sdk-core/core/src/core_tests/local_activities.rs +204 -83
- data/bridge/sdk-core/core/src/core_tests/queries.rs +3 -4
- data/bridge/sdk-core/core/src/core_tests/workers.rs +1 -3
- data/bridge/sdk-core/core/src/core_tests/workflow_tasks.rs +397 -54
- data/bridge/sdk-core/core/src/ephemeral_server/mod.rs +106 -12
- data/bridge/sdk-core/core/src/internal_flags.rs +136 -0
- data/bridge/sdk-core/core/src/lib.rs +16 -9
- data/bridge/sdk-core/core/src/telemetry/log_export.rs +1 -1
- data/bridge/sdk-core/core/src/telemetry/metrics.rs +69 -35
- data/bridge/sdk-core/core/src/telemetry/mod.rs +29 -13
- data/bridge/sdk-core/core/src/telemetry/prometheus_server.rs +17 -12
- data/bridge/sdk-core/core/src/test_help/mod.rs +62 -12
- data/bridge/sdk-core/core/src/worker/activities/activity_heartbeat_manager.rs +112 -156
- data/bridge/sdk-core/core/src/worker/activities/activity_task_poller_stream.rs +89 -0
- data/bridge/sdk-core/core/src/worker/activities/local_activities.rs +352 -122
- data/bridge/sdk-core/core/src/worker/activities.rs +233 -157
- data/bridge/sdk-core/core/src/worker/client/mocks.rs +22 -2
- data/bridge/sdk-core/core/src/worker/client.rs +18 -2
- data/bridge/sdk-core/core/src/worker/mod.rs +165 -58
- data/bridge/sdk-core/core/src/worker/workflow/bridge.rs +1 -3
- data/bridge/sdk-core/core/src/worker/workflow/driven_workflow.rs +3 -5
- data/bridge/sdk-core/core/src/worker/workflow/history_update.rs +856 -277
- data/bridge/sdk-core/core/src/worker/workflow/machines/activity_state_machine.rs +100 -43
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_external_state_machine.rs +7 -7
- data/bridge/sdk-core/core/src/worker/workflow/machines/cancel_workflow_state_machine.rs +5 -4
- data/bridge/sdk-core/core/src/worker/workflow/machines/child_workflow_state_machine.rs +87 -27
- data/bridge/sdk-core/core/src/worker/workflow/machines/complete_workflow_state_machine.rs +5 -4
- data/bridge/sdk-core/core/src/worker/workflow/machines/continue_as_new_workflow_state_machine.rs +5 -4
- data/bridge/sdk-core/core/src/worker/workflow/machines/fail_workflow_state_machine.rs +5 -4
- data/bridge/sdk-core/core/src/worker/workflow/machines/local_activity_state_machine.rs +137 -62
- data/bridge/sdk-core/core/src/worker/workflow/machines/mod.rs +25 -17
- data/bridge/sdk-core/core/src/worker/workflow/machines/modify_workflow_properties_state_machine.rs +7 -6
- data/bridge/sdk-core/core/src/worker/workflow/machines/patch_state_machine.rs +103 -152
- data/bridge/sdk-core/core/src/worker/workflow/machines/signal_external_state_machine.rs +7 -7
- data/bridge/sdk-core/core/src/worker/workflow/machines/timer_state_machine.rs +9 -9
- data/bridge/sdk-core/core/src/worker/workflow/machines/transition_coverage.rs +2 -2
- data/bridge/sdk-core/core/src/worker/workflow/machines/upsert_search_attributes_state_machine.rs +14 -7
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines/local_acts.rs +5 -16
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_machines.rs +201 -121
- data/bridge/sdk-core/core/src/worker/workflow/machines/workflow_task_state_machine.rs +11 -14
- data/bridge/sdk-core/core/src/worker/workflow/managed_run/managed_wf_test.rs +30 -15
- data/bridge/sdk-core/core/src/worker/workflow/managed_run.rs +1026 -376
- data/bridge/sdk-core/core/src/worker/workflow/mod.rs +460 -384
- data/bridge/sdk-core/core/src/worker/workflow/run_cache.rs +40 -57
- data/bridge/sdk-core/core/src/worker/workflow/wft_extraction.rs +125 -0
- data/bridge/sdk-core/core/src/worker/workflow/wft_poller.rs +1 -4
- data/bridge/sdk-core/core/src/worker/workflow/workflow_stream/saved_wf_inputs.rs +117 -0
- data/bridge/sdk-core/core/src/worker/workflow/workflow_stream/tonic_status_serde.rs +24 -0
- data/bridge/sdk-core/core/src/worker/workflow/workflow_stream.rs +448 -718
- data/bridge/sdk-core/core-api/Cargo.toml +2 -1
- data/bridge/sdk-core/core-api/src/errors.rs +1 -34
- data/bridge/sdk-core/core-api/src/lib.rs +6 -2
- data/bridge/sdk-core/core-api/src/telemetry.rs +0 -6
- data/bridge/sdk-core/core-api/src/worker.rs +14 -1
- data/bridge/sdk-core/fsm/rustfsm_procmacro/src/lib.rs +18 -15
- data/bridge/sdk-core/fsm/rustfsm_trait/src/lib.rs +8 -3
- data/bridge/sdk-core/histories/evict_while_la_running_no_interference-16_history.bin +0 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/command/v1/message.proto +5 -17
- data/bridge/sdk-core/protos/api_upstream/temporal/api/common/v1/message.proto +11 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/command_type.proto +1 -6
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/event_type.proto +6 -6
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/failed_cause.proto +5 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/update.proto +22 -6
- data/bridge/sdk-core/protos/api_upstream/temporal/api/history/v1/message.proto +48 -19
- data/bridge/sdk-core/protos/api_upstream/temporal/api/namespace/v1/message.proto +2 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/request_response.proto +3 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/{enums/v1/interaction_type.proto → protocol/v1/message.proto} +29 -11
- data/bridge/sdk-core/protos/api_upstream/temporal/api/sdk/v1/task_complete_metadata.proto +63 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/update/v1/message.proto +111 -0
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/request_response.proto +59 -28
- data/bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/service.proto +2 -2
- data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_result/activity_result.proto +1 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/activity_task/activity_task.proto +1 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/child_workflow/child_workflow.proto +1 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/common/common.proto +1 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/core_interface.proto +1 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/external_data/external_data.proto +1 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_activation/workflow_activation.proto +7 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_commands/workflow_commands.proto +1 -0
- data/bridge/sdk-core/protos/local/temporal/sdk/core/workflow_completion/workflow_completion.proto +6 -0
- data/bridge/sdk-core/sdk/Cargo.toml +3 -2
- data/bridge/sdk-core/sdk/src/lib.rs +87 -20
- data/bridge/sdk-core/sdk/src/workflow_future.rs +9 -8
- data/bridge/sdk-core/sdk-core-protos/Cargo.toml +5 -2
- data/bridge/sdk-core/sdk-core-protos/build.rs +36 -1
- data/bridge/sdk-core/sdk-core-protos/src/history_builder.rs +100 -87
- data/bridge/sdk-core/sdk-core-protos/src/history_info.rs +5 -1
- data/bridge/sdk-core/sdk-core-protos/src/lib.rs +175 -57
- data/bridge/sdk-core/sdk-core-protos/src/task_token.rs +12 -2
- data/bridge/sdk-core/test-utils/Cargo.toml +3 -1
- data/bridge/sdk-core/test-utils/src/canned_histories.rs +106 -296
- data/bridge/sdk-core/test-utils/src/histfetch.rs +1 -1
- data/bridge/sdk-core/test-utils/src/lib.rs +82 -23
- data/bridge/sdk-core/test-utils/src/wf_input_saver.rs +50 -0
- data/bridge/sdk-core/test-utils/src/workflows.rs +29 -0
- data/bridge/sdk-core/tests/fuzzy_workflow.rs +130 -0
- data/bridge/sdk-core/tests/{load_tests.rs → heavy_tests.rs} +125 -51
- data/bridge/sdk-core/tests/integ_tests/ephemeral_server_tests.rs +25 -3
- data/bridge/sdk-core/tests/integ_tests/heartbeat_tests.rs +5 -3
- data/bridge/sdk-core/tests/integ_tests/metrics_tests.rs +218 -16
- data/bridge/sdk-core/tests/integ_tests/polling_tests.rs +4 -47
- data/bridge/sdk-core/tests/integ_tests/queries_tests.rs +5 -128
- data/bridge/sdk-core/tests/integ_tests/visibility_tests.rs +83 -25
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/activities.rs +93 -69
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_external.rs +1 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/cancel_wf.rs +6 -13
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/child_workflows.rs +1 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/continue_as_new.rs +6 -2
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/determinism.rs +3 -10
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/local_activities.rs +72 -191
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/modify_wf_properties.rs +1 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/patches.rs +7 -28
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/replay.rs +12 -7
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/resets.rs +1 -0
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/signals.rs +18 -14
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/stickyness.rs +6 -20
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/timers.rs +10 -21
- data/bridge/sdk-core/tests/integ_tests/workflow_tests/upsert_search_attrs.rs +6 -4
- data/bridge/sdk-core/tests/integ_tests/workflow_tests.rs +10 -11
- data/bridge/sdk-core/tests/main.rs +3 -13
- data/bridge/sdk-core/tests/runner.rs +75 -36
- data/bridge/sdk-core/tests/wf_input_replay.rs +32 -0
- data/bridge/src/connection.rs +41 -25
- data/bridge/src/lib.rs +269 -14
- data/bridge/src/runtime.rs +1 -1
- data/bridge/src/test_server.rs +153 -0
- data/bridge/src/worker.rs +89 -16
- data/lib/gen/temporal/api/command/v1/message_pb.rb +4 -18
- data/lib/gen/temporal/api/common/v1/message_pb.rb +4 -0
- data/lib/gen/temporal/api/enums/v1/command_type_pb.rb +1 -3
- data/lib/gen/temporal/api/enums/v1/event_type_pb.rb +3 -3
- data/lib/gen/temporal/api/enums/v1/failed_cause_pb.rb +2 -0
- data/lib/gen/temporal/api/enums/v1/update_pb.rb +6 -4
- data/lib/gen/temporal/api/history/v1/message_pb.rb +27 -19
- data/lib/gen/temporal/api/namespace/v1/message_pb.rb +1 -0
- data/lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb +3 -0
- data/lib/gen/temporal/api/protocol/v1/message_pb.rb +30 -0
- data/lib/gen/temporal/api/sdk/v1/task_complete_metadata_pb.rb +23 -0
- data/lib/gen/temporal/api/testservice/v1/request_response_pb.rb +49 -0
- data/lib/gen/temporal/api/testservice/v1/service_pb.rb +21 -0
- data/lib/gen/temporal/api/update/v1/message_pb.rb +72 -0
- data/lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb +26 -16
- data/lib/gen/temporal/sdk/core/activity_result/activity_result_pb.rb +13 -9
- data/lib/gen/temporal/sdk/core/activity_task/activity_task_pb.rb +10 -6
- data/lib/gen/temporal/sdk/core/child_workflow/child_workflow_pb.rb +13 -9
- data/lib/gen/temporal/sdk/core/common/common_pb.rb +7 -3
- data/lib/gen/temporal/sdk/core/core_interface_pb.rb +9 -3
- data/lib/gen/temporal/sdk/core/external_data/external_data_pb.rb +7 -3
- data/lib/gen/temporal/sdk/core/workflow_activation/workflow_activation_pb.rb +27 -21
- data/lib/gen/temporal/sdk/core/workflow_commands/workflow_commands_pb.rb +28 -24
- data/lib/gen/temporal/sdk/core/workflow_completion/workflow_completion_pb.rb +12 -5
- data/lib/temporalio/activity/context.rb +13 -8
- data/lib/temporalio/activity/info.rb +1 -1
- data/lib/temporalio/bridge/connect_options.rb +15 -0
- data/lib/temporalio/bridge/retry_config.rb +24 -0
- data/lib/temporalio/bridge/tls_options.rb +19 -0
- data/lib/temporalio/client/implementation.rb +8 -8
- data/lib/temporalio/connection/retry_config.rb +44 -0
- data/lib/temporalio/connection/service.rb +20 -0
- data/lib/temporalio/connection/test_service.rb +92 -0
- data/lib/temporalio/connection/tls_options.rb +51 -0
- data/lib/temporalio/connection/workflow_service.rb +731 -0
- data/lib/temporalio/connection.rb +55 -720
- data/lib/temporalio/interceptor/activity_inbound.rb +22 -0
- data/lib/temporalio/interceptor/activity_outbound.rb +24 -0
- data/lib/temporalio/interceptor/chain.rb +5 -5
- data/lib/temporalio/interceptor/client.rb +8 -4
- data/lib/temporalio/interceptor.rb +22 -0
- data/lib/temporalio/retry_policy.rb +13 -3
- data/lib/temporalio/testing/time_skipping_handle.rb +32 -0
- data/lib/temporalio/testing/time_skipping_interceptor.rb +23 -0
- data/lib/temporalio/testing/workflow_environment.rb +112 -0
- data/lib/temporalio/testing.rb +175 -0
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/activity_runner.rb +26 -4
- data/lib/temporalio/worker/activity_worker.rb +44 -18
- data/lib/temporalio/worker/sync_worker.rb +47 -11
- data/lib/temporalio/worker.rb +27 -21
- data/lib/temporalio/workflow/async.rb +46 -0
- data/lib/temporalio/workflow/future.rb +138 -0
- data/lib/temporalio/workflow/info.rb +76 -0
- data/temporalio.gemspec +4 -3
- metadata +67 -17
- data/bridge/sdk-core/Cargo.lock +0 -2606
- data/bridge/sdk-core/protos/api_upstream/temporal/api/interaction/v1/message.proto +0 -87
- data/lib/bridge.so +0 -0
- data/lib/gen/temporal/api/enums/v1/interaction_type_pb.rb +0 -25
- data/lib/gen/temporal/api/interaction/v1/message_pb.rb +0 -49
- data/lib/gen/temporal/sdk/core/bridge/bridge_pb.rb +0 -222
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: temporalio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Temporal Technologies Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async
|
@@ -150,6 +150,26 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rbs
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 2.8.0
|
160
|
+
- - "<"
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 3.0.0
|
163
|
+
type: :development
|
164
|
+
prerelease: false
|
165
|
+
version_requirements: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: 2.8.0
|
170
|
+
- - "<"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 3.0.0
|
153
173
|
- !ruby/object:Gem::Dependency
|
154
174
|
name: rbs_protobuf
|
155
175
|
requirement: !ruby/object:Gem::Requirement
|
@@ -210,16 +230,16 @@ dependencies:
|
|
210
230
|
name: steep
|
211
231
|
requirement: !ruby/object:Gem::Requirement
|
212
232
|
requirements:
|
213
|
-
- - "
|
233
|
+
- - "~>"
|
214
234
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
235
|
+
version: 1.3.0
|
216
236
|
type: :development
|
217
237
|
prerelease: false
|
218
238
|
version_requirements: !ruby/object:Gem::Requirement
|
219
239
|
requirements:
|
220
|
-
- - "
|
240
|
+
- - "~>"
|
221
241
|
- !ruby/object:Gem::Version
|
222
|
-
version:
|
242
|
+
version: 1.3.0
|
223
243
|
- !ruby/object:Gem::Dependency
|
224
244
|
name: typeprof
|
225
245
|
requirement: !ruby/object:Gem::Requirement
|
@@ -250,7 +270,7 @@ dependencies:
|
|
250
270
|
version: '0'
|
251
271
|
description: An SDK for implementing Temporal.io workflows and activities in Ruby
|
252
272
|
email:
|
253
|
-
-
|
273
|
+
- sdk@temporal.io
|
254
274
|
executables: []
|
255
275
|
extensions:
|
256
276
|
- ext/Rakefile
|
@@ -262,7 +282,6 @@ files:
|
|
262
282
|
- bridge/Cargo.lock
|
263
283
|
- bridge/Cargo.toml
|
264
284
|
- bridge/sdk-core/ARCHITECTURE.md
|
265
|
-
- bridge/sdk-core/Cargo.lock
|
266
285
|
- bridge/sdk-core/Cargo.toml
|
267
286
|
- bridge/sdk-core/LICENSE.txt
|
268
287
|
- bridge/sdk-core/README.md
|
@@ -298,6 +317,7 @@ files:
|
|
298
317
|
- bridge/sdk-core/core/src/core_tests/workflow_cancels.rs
|
299
318
|
- bridge/sdk-core/core/src/core_tests/workflow_tasks.rs
|
300
319
|
- bridge/sdk-core/core/src/ephemeral_server/mod.rs
|
320
|
+
- bridge/sdk-core/core/src/internal_flags.rs
|
301
321
|
- bridge/sdk-core/core/src/lib.rs
|
302
322
|
- bridge/sdk-core/core/src/pollers/mod.rs
|
303
323
|
- bridge/sdk-core/core/src/pollers/poll_buffer.rs
|
@@ -311,6 +331,7 @@ files:
|
|
311
331
|
- bridge/sdk-core/core/src/test_help/mod.rs
|
312
332
|
- bridge/sdk-core/core/src/worker/activities.rs
|
313
333
|
- bridge/sdk-core/core/src/worker/activities/activity_heartbeat_manager.rs
|
334
|
+
- bridge/sdk-core/core/src/worker/activities/activity_task_poller_stream.rs
|
314
335
|
- bridge/sdk-core/core/src/worker/activities/local_activities.rs
|
315
336
|
- bridge/sdk-core/core/src/worker/client.rs
|
316
337
|
- bridge/sdk-core/core/src/worker/client/mocks.rs
|
@@ -340,8 +361,11 @@ files:
|
|
340
361
|
- bridge/sdk-core/core/src/worker/workflow/managed_run/managed_wf_test.rs
|
341
362
|
- bridge/sdk-core/core/src/worker/workflow/mod.rs
|
342
363
|
- bridge/sdk-core/core/src/worker/workflow/run_cache.rs
|
364
|
+
- bridge/sdk-core/core/src/worker/workflow/wft_extraction.rs
|
343
365
|
- bridge/sdk-core/core/src/worker/workflow/wft_poller.rs
|
344
366
|
- bridge/sdk-core/core/src/worker/workflow/workflow_stream.rs
|
367
|
+
- bridge/sdk-core/core/src/worker/workflow/workflow_stream/saved_wf_inputs.rs
|
368
|
+
- bridge/sdk-core/core/src/worker/workflow/workflow_stream/tonic_status_serde.rs
|
345
369
|
- bridge/sdk-core/etc/deps.svg
|
346
370
|
- bridge/sdk-core/etc/dynamic-config.yaml
|
347
371
|
- bridge/sdk-core/etc/otel-collector-config.yaml
|
@@ -375,6 +399,7 @@ files:
|
|
375
399
|
- bridge/sdk-core/fsm/rustfsm_trait/LICENSE.txt
|
376
400
|
- bridge/sdk-core/fsm/rustfsm_trait/src/lib.rs
|
377
401
|
- bridge/sdk-core/fsm/src/lib.rs
|
402
|
+
- bridge/sdk-core/histories/evict_while_la_running_no_interference-16_history.bin
|
378
403
|
- bridge/sdk-core/histories/evict_while_la_running_no_interference-23_history.bin
|
379
404
|
- bridge/sdk-core/histories/evict_while_la_running_no_interference-85_history.bin
|
380
405
|
- bridge/sdk-core/histories/fail_wf_task.bin
|
@@ -396,7 +421,6 @@ files:
|
|
396
421
|
- bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/common.proto
|
397
422
|
- bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/event_type.proto
|
398
423
|
- bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/failed_cause.proto
|
399
|
-
- bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/interaction_type.proto
|
400
424
|
- bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/namespace.proto
|
401
425
|
- bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/query.proto
|
402
426
|
- bridge/sdk-core/protos/api_upstream/temporal/api/enums/v1/reset.proto
|
@@ -408,14 +432,16 @@ files:
|
|
408
432
|
- bridge/sdk-core/protos/api_upstream/temporal/api/failure/v1/message.proto
|
409
433
|
- bridge/sdk-core/protos/api_upstream/temporal/api/filter/v1/message.proto
|
410
434
|
- bridge/sdk-core/protos/api_upstream/temporal/api/history/v1/message.proto
|
411
|
-
- bridge/sdk-core/protos/api_upstream/temporal/api/interaction/v1/message.proto
|
412
435
|
- bridge/sdk-core/protos/api_upstream/temporal/api/namespace/v1/message.proto
|
413
436
|
- bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/request_response.proto
|
414
437
|
- bridge/sdk-core/protos/api_upstream/temporal/api/operatorservice/v1/service.proto
|
438
|
+
- bridge/sdk-core/protos/api_upstream/temporal/api/protocol/v1/message.proto
|
415
439
|
- bridge/sdk-core/protos/api_upstream/temporal/api/query/v1/message.proto
|
416
440
|
- bridge/sdk-core/protos/api_upstream/temporal/api/replication/v1/message.proto
|
417
441
|
- bridge/sdk-core/protos/api_upstream/temporal/api/schedule/v1/message.proto
|
442
|
+
- bridge/sdk-core/protos/api_upstream/temporal/api/sdk/v1/task_complete_metadata.proto
|
418
443
|
- bridge/sdk-core/protos/api_upstream/temporal/api/taskqueue/v1/message.proto
|
444
|
+
- bridge/sdk-core/protos/api_upstream/temporal/api/update/v1/message.proto
|
419
445
|
- bridge/sdk-core/protos/api_upstream/temporal/api/version/v1/message.proto
|
420
446
|
- bridge/sdk-core/protos/api_upstream/temporal/api/workflow/v1/message.proto
|
421
447
|
- bridge/sdk-core/protos/api_upstream/temporal/api/workflowservice/v1/request_response.proto
|
@@ -459,6 +485,10 @@ files:
|
|
459
485
|
- bridge/sdk-core/test-utils/src/canned_histories.rs
|
460
486
|
- bridge/sdk-core/test-utils/src/histfetch.rs
|
461
487
|
- bridge/sdk-core/test-utils/src/lib.rs
|
488
|
+
- bridge/sdk-core/test-utils/src/wf_input_saver.rs
|
489
|
+
- bridge/sdk-core/test-utils/src/workflows.rs
|
490
|
+
- bridge/sdk-core/tests/fuzzy_workflow.rs
|
491
|
+
- bridge/sdk-core/tests/heavy_tests.rs
|
462
492
|
- bridge/sdk-core/tests/integ_tests/client_tests.rs
|
463
493
|
- bridge/sdk-core/tests/integ_tests/ephemeral_server_tests.rs
|
464
494
|
- bridge/sdk-core/tests/integ_tests/heartbeat_tests.rs
|
@@ -483,15 +513,15 @@ files:
|
|
483
513
|
- bridge/sdk-core/tests/integ_tests/workflow_tests/stickyness.rs
|
484
514
|
- bridge/sdk-core/tests/integ_tests/workflow_tests/timers.rs
|
485
515
|
- bridge/sdk-core/tests/integ_tests/workflow_tests/upsert_search_attrs.rs
|
486
|
-
- bridge/sdk-core/tests/load_tests.rs
|
487
516
|
- bridge/sdk-core/tests/main.rs
|
488
517
|
- bridge/sdk-core/tests/runner.rs
|
518
|
+
- bridge/sdk-core/tests/wf_input_replay.rs
|
489
519
|
- bridge/src/connection.rs
|
490
520
|
- bridge/src/lib.rs
|
491
521
|
- bridge/src/runtime.rs
|
522
|
+
- bridge/src/test_server.rs
|
492
523
|
- bridge/src/worker.rs
|
493
524
|
- ext/Rakefile
|
494
|
-
- lib/bridge.so
|
495
525
|
- lib/gen/dependencies/gogoproto/gogo_pb.rb
|
496
526
|
- lib/gen/temporal/api/batch/v1/message_pb.rb
|
497
527
|
- lib/gen/temporal/api/command/v1/message_pb.rb
|
@@ -501,7 +531,6 @@ files:
|
|
501
531
|
- lib/gen/temporal/api/enums/v1/common_pb.rb
|
502
532
|
- lib/gen/temporal/api/enums/v1/event_type_pb.rb
|
503
533
|
- lib/gen/temporal/api/enums/v1/failed_cause_pb.rb
|
504
|
-
- lib/gen/temporal/api/enums/v1/interaction_type_pb.rb
|
505
534
|
- lib/gen/temporal/api/enums/v1/namespace_pb.rb
|
506
535
|
- lib/gen/temporal/api/enums/v1/query_pb.rb
|
507
536
|
- lib/gen/temporal/api/enums/v1/reset_pb.rb
|
@@ -513,21 +542,24 @@ files:
|
|
513
542
|
- lib/gen/temporal/api/failure/v1/message_pb.rb
|
514
543
|
- lib/gen/temporal/api/filter/v1/message_pb.rb
|
515
544
|
- lib/gen/temporal/api/history/v1/message_pb.rb
|
516
|
-
- lib/gen/temporal/api/interaction/v1/message_pb.rb
|
517
545
|
- lib/gen/temporal/api/namespace/v1/message_pb.rb
|
518
546
|
- lib/gen/temporal/api/operatorservice/v1/request_response_pb.rb
|
519
547
|
- lib/gen/temporal/api/operatorservice/v1/service_pb.rb
|
548
|
+
- lib/gen/temporal/api/protocol/v1/message_pb.rb
|
520
549
|
- lib/gen/temporal/api/query/v1/message_pb.rb
|
521
550
|
- lib/gen/temporal/api/replication/v1/message_pb.rb
|
522
551
|
- lib/gen/temporal/api/schedule/v1/message_pb.rb
|
552
|
+
- lib/gen/temporal/api/sdk/v1/task_complete_metadata_pb.rb
|
523
553
|
- lib/gen/temporal/api/taskqueue/v1/message_pb.rb
|
554
|
+
- lib/gen/temporal/api/testservice/v1/request_response_pb.rb
|
555
|
+
- lib/gen/temporal/api/testservice/v1/service_pb.rb
|
556
|
+
- lib/gen/temporal/api/update/v1/message_pb.rb
|
524
557
|
- lib/gen/temporal/api/version/v1/message_pb.rb
|
525
558
|
- lib/gen/temporal/api/workflow/v1/message_pb.rb
|
526
559
|
- lib/gen/temporal/api/workflowservice/v1/request_response_pb.rb
|
527
560
|
- lib/gen/temporal/api/workflowservice/v1/service_pb.rb
|
528
561
|
- lib/gen/temporal/sdk/core/activity_result/activity_result_pb.rb
|
529
562
|
- lib/gen/temporal/sdk/core/activity_task/activity_task_pb.rb
|
530
|
-
- lib/gen/temporal/sdk/core/bridge/bridge_pb.rb
|
531
563
|
- lib/gen/temporal/sdk/core/child_workflow/child_workflow_pb.rb
|
532
564
|
- lib/gen/temporal/sdk/core/common/common_pb.rb
|
533
565
|
- lib/gen/temporal/sdk/core/core_interface_pb.rb
|
@@ -540,11 +572,19 @@ files:
|
|
540
572
|
- lib/temporalio/activity/context.rb
|
541
573
|
- lib/temporalio/activity/info.rb
|
542
574
|
- lib/temporalio/bridge.rb
|
575
|
+
- lib/temporalio/bridge/connect_options.rb
|
543
576
|
- lib/temporalio/bridge/error.rb
|
577
|
+
- lib/temporalio/bridge/retry_config.rb
|
578
|
+
- lib/temporalio/bridge/tls_options.rb
|
544
579
|
- lib/temporalio/client.rb
|
545
580
|
- lib/temporalio/client/implementation.rb
|
546
581
|
- lib/temporalio/client/workflow_handle.rb
|
547
582
|
- lib/temporalio/connection.rb
|
583
|
+
- lib/temporalio/connection/retry_config.rb
|
584
|
+
- lib/temporalio/connection/service.rb
|
585
|
+
- lib/temporalio/connection/test_service.rb
|
586
|
+
- lib/temporalio/connection/tls_options.rb
|
587
|
+
- lib/temporalio/connection/workflow_service.rb
|
548
588
|
- lib/temporalio/data_converter.rb
|
549
589
|
- lib/temporalio/error/failure.rb
|
550
590
|
- lib/temporalio/error/workflow_failure.rb
|
@@ -552,6 +592,9 @@ files:
|
|
552
592
|
- lib/temporalio/failure_converter.rb
|
553
593
|
- lib/temporalio/failure_converter/base.rb
|
554
594
|
- lib/temporalio/failure_converter/basic.rb
|
595
|
+
- lib/temporalio/interceptor.rb
|
596
|
+
- lib/temporalio/interceptor/activity_inbound.rb
|
597
|
+
- lib/temporalio/interceptor/activity_outbound.rb
|
555
598
|
- lib/temporalio/interceptor/chain.rb
|
556
599
|
- lib/temporalio/interceptor/client.rb
|
557
600
|
- lib/temporalio/payload_codec/base.rb
|
@@ -565,6 +608,10 @@ files:
|
|
565
608
|
- lib/temporalio/retry_policy.rb
|
566
609
|
- lib/temporalio/retry_state.rb
|
567
610
|
- lib/temporalio/runtime.rb
|
611
|
+
- lib/temporalio/testing.rb
|
612
|
+
- lib/temporalio/testing/time_skipping_handle.rb
|
613
|
+
- lib/temporalio/testing/time_skipping_interceptor.rb
|
614
|
+
- lib/temporalio/testing/workflow_environment.rb
|
568
615
|
- lib/temporalio/timeout_type.rb
|
569
616
|
- lib/temporalio/version.rb
|
570
617
|
- lib/temporalio/worker.rb
|
@@ -574,9 +621,12 @@ files:
|
|
574
621
|
- lib/temporalio/worker/runner.rb
|
575
622
|
- lib/temporalio/worker/sync_worker.rb
|
576
623
|
- lib/temporalio/worker/thread_pool_executor.rb
|
624
|
+
- lib/temporalio/workflow/async.rb
|
577
625
|
- lib/temporalio/workflow/execution_info.rb
|
578
626
|
- lib/temporalio/workflow/execution_status.rb
|
627
|
+
- lib/temporalio/workflow/future.rb
|
579
628
|
- lib/temporalio/workflow/id_reuse_policy.rb
|
629
|
+
- lib/temporalio/workflow/info.rb
|
580
630
|
- lib/temporalio/workflow/query_reject_condition.rb
|
581
631
|
- lib/thermite_patch.rb
|
582
632
|
- temporalio.gemspec
|
@@ -599,7 +649,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
599
649
|
- !ruby/object:Gem::Version
|
600
650
|
version: '0'
|
601
651
|
requirements: []
|
602
|
-
rubygems_version: 3.
|
652
|
+
rubygems_version: 3.2.33
|
603
653
|
signing_key:
|
604
654
|
specification_version: 4
|
605
655
|
summary: Temporal.io Ruby SDK
|