File tree
5 files changed
+137
-34
lines changed- temporalio
- bridge
- src
- worker
- tests/worker
5 files changed
+137
-34
lines changed- Cargo.toml+3
- README.md-2
- client/Cargo.toml+3
- client/src/lib.rs+3-1
- client/src/metrics.rs+1-1
- client/src/raw.rs+4-4
- client/src/worker_registry/mod.rs+5-3
- client/src/workflow_handle/mod.rs+3-1
- core-api/Cargo.toml+3
- core/Cargo.toml+4
- core/src/abstractions.rs+11-11
- core/src/abstractions/take_cell.rs+3-3
- core/src/core_tests/determinism.rs+2-1
- core/src/core_tests/local_activities.rs+1-1
- core/src/core_tests/workflow_tasks.rs+1-1
- core/src/ephemeral_server/mod.rs+4-120
- core/src/internal_flags.rs+8-8
- core/src/lib.rs+12-8
- core/src/pollers/mod.rs+2-2
- core/src/pollers/poll_buffer.rs+6-4
- core/src/protosext/mod.rs+31-31
- core/src/protosext/protocol_messages.rs+14-12
- core/src/telemetry/metrics.rs+32-1
- core/src/telemetry/otel.rs+3-2
- core/src/telemetry/prometheus_server.rs+4-4
- core/src/test_help/mod.rs+57-44
- core/src/worker/activities.rs+14-14
- core/src/worker/activities/activity_heartbeat_manager.rs+6-6
- core/src/worker/activities/local_activities.rs+17-16
- core/src/worker/client.rs+40-38
- core/src/worker/client/mocks.rs+5-3
- core/src/worker/mod.rs+21-9
- core/src/worker/slot_provider.rs+3-3
- core/src/worker/workflow/driven_workflow.rs+6-6
- core/src/worker/workflow/history_update.rs+21-18
- core/src/worker/workflow/machines/activity_state_machine.rs+2-15
- core/src/worker/workflow/machines/cancel_external_state_machine.rs+1-10
- core/src/worker/workflow/machines/cancel_workflow_state_machine.rs+2-9
- core/src/worker/workflow/machines/child_workflow_state_machine.rs+3-17
- core/src/worker/workflow/machines/complete_workflow_state_machine.rs-8
- core/src/worker/workflow/machines/continue_as_new_workflow_state_machine.rs+1-5
- core/src/worker/workflow/machines/fail_workflow_state_machine.rs-5
- core/src/worker/workflow/machines/local_activity_state_machine.rs-5
- core/src/worker/workflow/machines/mod.rs-14
- core/src/worker/workflow/machines/modify_workflow_properties_state_machine.rs-5
- core/src/worker/workflow/machines/patch_state_machine.rs-5
- core/src/worker/workflow/machines/signal_external_state_machine.rs+1-10
- core/src/worker/workflow/machines/timer_state_machine.rs+1-8
- core/src/worker/workflow/machines/transition_coverage.rs+6-1
- core/src/worker/workflow/machines/update_state_machine.rs-10
- core/src/worker/workflow/machines/upsert_search_attributes_state_machine.rs+6-13
- core/src/worker/workflow/machines/workflow_machines.rs+21-19
- core/src/worker/workflow/machines/workflow_task_state_machine.rs+1-12
- core/src/worker/workflow/managed_run.rs+4-4
- core/src/worker/workflow/mod.rs+38-38
- core/src/worker/workflow/run_cache.rs+22-13
- core/src/worker/workflow/workflow_stream.rs+2-2
- fsm/Cargo.toml+3
- sdk-core-protos/Cargo.toml+3
- sdk-core-protos/src/history_builder.rs+1-1
- sdk-core-protos/src/lib.rs+16-8
- sdk-core-protos/src/task_token.rs+1-1
- sdk/Cargo.toml+3
- sdk/src/app_data.rs+3-3
- sdk/src/lib.rs-1
- sdk/src/payload_converter.rs-11
- sdk/src/workflow_context.rs+10-9
- sdk/src/workflow_context/options.rs+1-1
- sdk/src/workflow_future.rs+1-1
- test-utils/Cargo.toml+3
- test-utils/src/lib.rs+2-2
- tests/integ_tests/activity_functions.rs+1-1
- tests/integ_tests/ephemeral_server_tests.rs+8-25
- tests/integ_tests/metrics_tests.rs+4-3
- tests/integ_tests/polling_tests.rs+120-1
- tests/integ_tests/workflow_tests.rs+2-1
- tests/integ_tests/workflow_tests/activities.rs+1-1
- tests/integ_tests/workflow_tests/appdata_propagation.rs+1-1
- tests/integ_tests/workflow_tests/determinism.rs+2-1
- tests/integ_tests/workflow_tests/eager.rs+1-1
- tests/integ_tests/workflow_tests/local_activities.rs+4-4
- tests/integ_tests/workflow_tests/patches.rs+5-3
- tests/integ_tests/workflow_tests/timers.rs+1-1
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
184 | 184 |
| |
185 | 185 |
| |
186 | 186 |
| |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
187 | 194 |
| |
188 | 195 |
| |
189 | 196 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
135 | 139 |
| |
136 | 140 |
| |
137 | 141 |
| |
|
Lines changed: 64 additions & 32 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
221 | 221 |
| |
222 | 222 |
| |
223 | 223 |
| |
224 |
| - | |
225 |
| - | |
226 |
| - | |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - | |
| 224 | + | |
| 225 | + | |
241 | 226 |
| |
242 | 227 |
| |
243 | 228 |
| |
| |||
283 | 268 |
| |
284 | 269 |
| |
285 | 270 |
| |
286 |
| - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
287 | 274 |
| |
288 | 275 |
| |
289 | 276 |
| |
| |||
304 | 291 |
| |
305 | 292 |
| |
306 | 293 |
| |
307 |
| - | |
| 294 | + | |
308 | 295 |
| |
309 | 296 |
| |
310 | 297 |
| |
| |||
321 | 308 |
| |
322 | 309 |
| |
323 | 310 |
| |
324 |
| - | |
| 311 | + | |
325 | 312 |
| |
326 | 313 |
| |
327 | 314 |
| |
328 | 315 |
| |
329 |
| - | |
330 |
| - | |
331 |
| - | |
332 |
| - | |
333 |
| - | |
334 |
| - | |
335 |
| - | |
336 |
| - | |
337 |
| - | |
338 |
| - | |
339 |
| - | |
340 | 316 |
| |
341 | 317 |
| |
342 | 318 |
| |
343 | 319 |
| |
344 | 320 |
| |
345 | 321 |
| |
| 322 | + | |
346 | 323 |
| |
347 |
| - | |
| 324 | + | |
348 | 325 |
| |
349 | 326 |
| |
350 | 327 |
| |
| |||
403 | 380 |
| |
404 | 381 |
| |
405 | 382 |
| |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
406 | 406 |
| |
407 | 407 |
| |
408 | 408 |
| |
| |||
714 | 714 |
| |
715 | 715 |
| |
716 | 716 |
| |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
717 | 749 |
| |
718 | 750 |
|
Lines changed: 61 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4506 | 4506 |
| |
4507 | 4507 |
| |
4508 | 4508 |
| |
4509 |
| - | |
| 4509 | + | |
4510 | 4510 |
| |
4511 | 4511 |
| |
4512 | 4512 |
| |
4513 | 4513 |
| |
| 4514 | + | |
| 4515 | + | |
| 4516 | + | |
| 4517 | + | |
| 4518 | + | |
| 4519 | + | |
| 4520 | + | |
| 4521 | + | |
| 4522 | + | |
| 4523 | + | |
| 4524 | + | |
| 4525 | + | |
| 4526 | + | |
| 4527 | + | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
| 4531 | + | |
| 4532 | + | |
| 4533 | + | |
| 4534 | + | |
| 4535 | + | |
| 4536 | + | |
| 4537 | + | |
| 4538 | + | |
| 4539 | + | |
| 4540 | + | |
| 4541 | + | |
| 4542 | + | |
| 4543 | + | |
| 4544 | + | |
| 4545 | + | |
| 4546 | + | |
| 4547 | + | |
| 4548 | + | |
| 4549 | + | |
| 4550 | + | |
| 4551 | + | |
| 4552 | + | |
| 4553 | + | |
| 4554 | + | |
| 4555 | + | |
| 4556 | + | |
| 4557 | + | |
| 4558 | + | |
| 4559 | + | |
| 4560 | + | |
| 4561 | + | |
| 4562 | + | |
| 4563 | + | |
| 4564 | + | |
| 4565 | + | |
| 4566 | + | |
| 4567 | + | |
| 4568 | + | |
| 4569 | + | |
| 4570 | + | |
| 4571 | + | |
| 4572 | + | |
| 4573 | + |
0 commit comments