durable-workflow 2.28.0__tar.gz → 2.29.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {durable_workflow-2.28.0/src/durable_workflow.egg-info → durable_workflow-2.29.0}/PKG-INFO +1 -1
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/pyproject.toml +3 -3
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/replay_clock.py +36 -15
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/workflow.py +10 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0/src/durable_workflow.egg-info}/PKG-INFO +1 -1
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock_parallel.py +102 -1
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_replay_regression_corpus.py +2 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/LICENSE +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/README.md +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/setup.cfg +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/__init__.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_activity_checkpoint.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_activity_lease.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_activity_process.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_avro.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_cancellation_scope.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_cancellation_scope_history.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_capabilities_digest.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_condition_fingerprint.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_condition_input_order.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_continue_as_new.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_cooperative_cancellation.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_failure_reporting.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_metric_routes.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_parallel_group_policy.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_payload_protection.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_poll_transport.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_prepared_local_activity.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_query_task_authority.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_response_limit.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_sticky_workflow_cache.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_timeout_cleanup.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_typed_values.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/activity.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/auth_composition.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/cancellation.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/client.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/errors.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/external_storage.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/external_task_input.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/external_task_result.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/history_bundle_verify.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/interceptors.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/invocable.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/metrics.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/nexus.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/prepared_payload.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/py.typed +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/python_conformance.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/replay_clock_math.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/replay_conformance.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/replay_verify.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/retry_policy.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/serializer.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/server_compatibility.json +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/sync.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/telemetry.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/telemetry_carrier.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/testing.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/worker.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/worker_session.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/worker_status.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/workflow_updates_conformance.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow.egg-info/SOURCES.txt +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow.egg-info/dependency_links.txt +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow.egg-info/entry_points.txt +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow.egg-info/requires.txt +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow.egg-info/top_level.txt +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_acceptance_authority.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_acceptance_consumer.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_acceptance_entry.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_cancellation_policies.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_checkpoint.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_context.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_exponential_retry.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_heartbeat_authority.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_heartbeat_unavailable.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_identity.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_install_inventory.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_lease_authority.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_lease_renewal.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_lease_worker.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_process.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_retry_cap_cell.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_retry_info.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_run_closed_refusal.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_worker_lost.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_auth_composition.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_avro_value_benchmark.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_avro_value_protocol.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock_child.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock_entry.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock_query_attestation.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock_redrive.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock_sequence_claims.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_cause.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_context.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_remaining_time.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_scope_admission.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_scope_authoring.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_scope_boundary.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_scope_opening.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_capabilities_digest.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_capabilities_digest_unknown.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_checkpointed_batch_example.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_child_workflow_policies.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_ci_checkout.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_ci_integration_endpoint.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_client.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_client_iterators.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_client_payload_protection.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_client_telemetry.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_client_timeouts.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_coalescing_signal_timer_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_codec_regression_corpus.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_command_keys_acceptance.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_command_keys_captured_inputs.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_command_keys_container_ownership.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_command_keys_workspace.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_committed_cancellation_scope_descendants.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_committed_cancellation_scope_groups.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_committed_cancellation_scope_history.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_committed_cancellation_scope_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_completion_size_limit.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_condition_fingerprint.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_condition_occurrence_id.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_condition_replay_drift.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_continue_as_new_target.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_control_plane_parity_fixtures.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cooperative_cancellation.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cooperative_cancellation_client.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cooperative_cancellation_worker.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cooperative_remote_worker.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_docs_release_channel.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_docstring_cross_references.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_durable_selection.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_empty_callback_failure.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_errors.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_external_storage.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_external_task_input.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_external_task_result.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_failure_reporting.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_generator_lifecycle.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_golden_history_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_history_bundle_pruned.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_history_bundle_schema2.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_history_bundle_verify.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_history_event_contract.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_invocable.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_local_activity_backoff.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_local_failure_reporting.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_message_streams.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_metric_routes.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_metrics.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_native_timer_redrive_cell.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_native_timer_redrive_clock.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_nexus_durable_wait.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_nexus_namespace.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_nexus_wire.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_order_processing_example.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_ordered_condition_input.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_parallel_completion_order_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_parallel_failure_order.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_parallel_group_boundaries.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_parallel_group_policy.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_parallel_member_failure_open_siblings.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_parallel_saga_authoring.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_patch_history.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_payload_policy_refresh.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_payload_protection.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_pending_operation_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_physical_command_key_readback.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_poll_failure_backoff.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_poll_transport.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_portal_source_split.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_prepared_local_activity_client.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_prepared_local_activity_groups.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_prepared_local_activity_policies.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_prepared_local_activity_worker.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_protected_workflow_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_public_boundary_scanner.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_publish_workflow_isolation.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_published_activity_acceptance.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_published_pagination_evidence.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_pypi_project_surface.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_python_conformance.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_queries.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_query_task_authority.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_query_timeout_retry.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_quiesced_snapshot.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_readme_quickstart.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_redrive_call_ledger.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_redrive_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_redrive_successor_evidence.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_registration_ambiguity.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_release_metadata.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_release_promotion.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_replay_clock.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_replay_conformance.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_replay_verify.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_response_body_limit.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_result_continue_as_new.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_retry_cap_download.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_retry_cap_workflow.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_retry_policy.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_run_activities.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_run_cancellation_scope_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_run_closed_settlement_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_runtime_external_payload_transport.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_schedule_origin.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_schedules.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_scoped_run_cancellation_context.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_sdk_metrics_contract.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_search_attribute_replay_identity.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_serializer.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_signal_external_workflow.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_signal_with_start.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_signals.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_sleep.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_standalone_activity_client.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_static_credential_validation.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_sticky_execution.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_sticky_history_suffix.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_storage_admission.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_sync.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_sync_activities.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_synthetic_command_key_readback.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_telemetry.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_telemetry_carrier.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_testing_failures.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_testing_harness.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_testing_nexus.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_threaded_heartbeat_example.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_timeout_cleanup.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_tls_trust.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_transport_diagnostics.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_typed_values.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_typed_workflow_values.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_update_outcome.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_update_signal_condition_replay.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_updates.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_wait_condition.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_deregistration.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_observation.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_session.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_startup_buffered.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_startup_raw.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_startup_read_budget.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_startup_snapshot.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_status.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_telemetry_wire.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_transient_5xx_retry.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_worker_transient_runtime.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_workflow_entry_arguments.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_workflow_entrypoint_validation.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_workflow_handler_validation.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_workflow_identity.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_workflow_result_timeout.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_workflow_streams.py +0 -0
- {durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_workflow_updates_conformance.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "durable-workflow"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.29.0"
|
|
8
8
|
description = "Python client and worker SDK for Durable Workflow Cloud and self-hosted Server"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -82,8 +82,8 @@ durable-workflow-replay-conformance = "durable_workflow.replay_conformance:main"
|
|
|
82
82
|
durable-workflow-workflow-updates-conformance = "durable_workflow.workflow_updates_conformance:main"
|
|
83
83
|
|
|
84
84
|
[tool.durable-workflow]
|
|
85
|
-
product-train = "2.
|
|
86
|
-
registry-version = "2.
|
|
85
|
+
product-train = "2.29.0"
|
|
86
|
+
registry-version = "2.29.0"
|
|
87
87
|
supported-server-versions = "2.8.0"
|
|
88
88
|
supported-server-release-baselines = { "2" = "2.8.0", "3" = "3.0.0" }
|
|
89
89
|
worker-protocol-version = "1.20"
|
|
@@ -234,10 +234,10 @@ def _group_payload_matches(payload: Mapping[str, Any], expected: Sequence[Mappin
|
|
|
234
234
|
) for field in _GROUP_FIELDS)
|
|
235
235
|
|
|
236
236
|
|
|
237
|
-
def _group_event_time(event: Mapping[str, Any], *,
|
|
237
|
+
def _group_event_time(event: Mapping[str, Any], *, public_history: bool = False) -> datetime | None:
|
|
238
238
|
# Core's settled all-group paths use these model fields.
|
|
239
|
-
if
|
|
240
|
-
# Native
|
|
239
|
+
if public_history and "recorded_at" not in event and "created_at" not in event:
|
|
240
|
+
# Native exports the same recorded parent-history instant as timestamp.
|
|
241
241
|
return _time(event.get("timestamp"))
|
|
242
242
|
value = event.get("recorded_at")
|
|
243
243
|
time = _time(event.get("created_at") if value is None else value)
|
|
@@ -256,7 +256,7 @@ def _group_time(
|
|
|
256
256
|
if failed:
|
|
257
257
|
return None
|
|
258
258
|
continue # Successful siblings do not choose the failure clock.
|
|
259
|
-
time = _group_event_time(event,
|
|
259
|
+
time = _group_event_time(event, public_history=success_kind in {"TimerFired", "ChildRunCompleted"})
|
|
260
260
|
milliseconds = canonical_milliseconds(time) if time is not None else None
|
|
261
261
|
if time is None or milliseconds is None:
|
|
262
262
|
return None
|
|
@@ -425,9 +425,15 @@ class BusinessReplayClock:
|
|
|
425
425
|
if (root.get("parallel_group_base_sequence") != members[0][1]
|
|
426
426
|
or root.get("parallel_group_size") != len(members) or root.get("parallel_group_kind") != family):
|
|
427
427
|
return
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
428
|
+
if family == "child":
|
|
429
|
+
boundary = self._child_group_boundary
|
|
430
|
+
identity_field, success_kind = "child_call_id", "ChildRunCompleted"
|
|
431
|
+
elif family == "timer":
|
|
432
|
+
boundary = self._timer_group_boundary
|
|
433
|
+
identity_field, success_kind = "timer_id", "TimerFired"
|
|
434
|
+
else:
|
|
435
|
+
boundary = self._activity_group_boundary
|
|
436
|
+
identity_field, success_kind = "activity_execution_id", "ActivityCompleted"
|
|
431
437
|
events: list[Mapping[str, Any]] = []
|
|
432
438
|
identities: set[str] = set()
|
|
433
439
|
for offset, member in enumerate(members):
|
|
@@ -444,7 +450,6 @@ class BusinessReplayClock:
|
|
|
444
450
|
return
|
|
445
451
|
identities.add(identity)
|
|
446
452
|
events.append(event)
|
|
447
|
-
success_kind = "TimerFired" if timer_group else "ActivityCompleted"
|
|
448
453
|
self._pending = (None, _group_time(events, failed_member, success_kind))
|
|
449
454
|
|
|
450
455
|
def observe_propagated_activity_failure(self, member: _GroupMember, *, reconstruction: bool) -> None:
|
|
@@ -534,7 +539,18 @@ class BusinessReplayClock:
|
|
|
534
539
|
return self._reused_time(payload, family, sequence)
|
|
535
540
|
return _time(_recorded_value(event))
|
|
536
541
|
|
|
537
|
-
def
|
|
542
|
+
def _child_group_boundary(self, member: _GroupMember) -> Mapping[str, Any] | None:
|
|
543
|
+
index, sequence, workflow_type, path = member
|
|
544
|
+
if (index is None or not path
|
|
545
|
+
or self._redrive_declared and (self._resume_step is None or sequence < self._resume_step)
|
|
546
|
+
or not self._child_boundary(index, sequence, path)):
|
|
547
|
+
return None
|
|
548
|
+
event = self.events[index]
|
|
549
|
+
return event if event["payload"]["child_workflow_type"] == workflow_type else None
|
|
550
|
+
|
|
551
|
+
def _child_boundary(
|
|
552
|
+
self, index: int, sequence: int, path: Sequence[Mapping[str, Any]] | None = None,
|
|
553
|
+
) -> bool:
|
|
538
554
|
indices = self._by_sequence.get(sequence, [])
|
|
539
555
|
if len(indices) not in (2, 3) or indices[-1] != index:
|
|
540
556
|
return False
|
|
@@ -550,14 +566,19 @@ class BusinessReplayClock:
|
|
|
550
566
|
return False
|
|
551
567
|
if self._child_calls.get(payload["child_call_id"]) != indices:
|
|
552
568
|
return False
|
|
553
|
-
return all(self._child_row(position, payload) for position in indices)
|
|
569
|
+
return all(self._child_row(position, sequence, payload, path) for position in indices)
|
|
554
570
|
|
|
555
|
-
def _child_row(
|
|
571
|
+
def _child_row(
|
|
572
|
+
self, index: int, sequence: int, terminal: Mapping[str, Any], path: Sequence[Mapping[str, Any]] | None,
|
|
573
|
+
) -> bool:
|
|
556
574
|
payload = self.events[index].get("payload")
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
575
|
+
if (not isinstance(payload, Mapping) or _sequence(payload) != sequence
|
|
576
|
+
or payload.get("workflow_type", terminal["child_workflow_type"]) != terminal["child_workflow_type"]
|
|
577
|
+
or any(payload.get(key) != terminal[key] for key in _CHILD_IDENTITIES)):
|
|
578
|
+
return False
|
|
579
|
+
if path is not None:
|
|
580
|
+
return _group_payload_matches(payload, path)
|
|
581
|
+
return self._scalar_row(index, _CHILD_FAMILY, "child_call_id", terminal["child_call_id"], _CHILD_EVENTS)
|
|
561
582
|
|
|
562
583
|
def _reused_time(self, payload: Mapping[str, Any], family: str, sequence: int) -> datetime | None:
|
|
563
584
|
if (self._source_run is None or payload.get("reused_from_run_id") != self._source_run
|
|
@@ -9030,6 +9030,16 @@ def _replay_state(
|
|
|
9030
9030
|
for step, leaf in zip(consumed_steps, cmd, strict=True)],
|
|
9031
9031
|
None, family="timer", reconstruction=reconstruction_only,
|
|
9032
9032
|
)
|
|
9033
|
+
elif group_typed_failure is None and all(isinstance(leaf, StartChildWorkflow) for leaf in cmd):
|
|
9034
|
+
selected_failure = next(
|
|
9035
|
+
(offset for offset, value in enumerate(vals) if failed is not None and value is failed),
|
|
9036
|
+
None,
|
|
9037
|
+
)
|
|
9038
|
+
ctx._business_clock.observe_parallel_group(
|
|
9039
|
+
[(step.history_index, step.workflow_sequence, leaf.workflow_type, leaf._parallel_group_path)
|
|
9040
|
+
for step, leaf in zip(consumed_steps, cmd, strict=True)],
|
|
9041
|
+
selected_failure, family="child", reconstruction=reconstruction_only,
|
|
9042
|
+
)
|
|
9033
9043
|
else:
|
|
9034
9044
|
ctx._business_clock.unavailable()
|
|
9035
9045
|
if failed is not None or group_typed_failure is not None:
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock_parallel.py
RENAMED
|
@@ -14,8 +14,13 @@ from durable_workflow import serializer, workflow
|
|
|
14
14
|
from durable_workflow.errors import ActivityFailed, NonDeterministicReplayError, TypedValueError
|
|
15
15
|
from durable_workflow.replay_clock_math import canonical_milliseconds, from_canonical_milliseconds
|
|
16
16
|
from durable_workflow.workflow import WorkflowContext, query_state, replay
|
|
17
|
-
from tests.business_clock_workflows import
|
|
17
|
+
from tests.business_clock_workflows import (
|
|
18
|
+
ParallelChildBusinessClockWorkflow,
|
|
19
|
+
ParallelTimerBusinessClockWorkflow,
|
|
20
|
+
clock_text,
|
|
21
|
+
)
|
|
18
22
|
from tests.test_business_replay_clock import result
|
|
23
|
+
from tests.test_business_replay_clock_child import child_rows
|
|
19
24
|
|
|
20
25
|
START = "2026-01-01T00:00:00.000000+00:00"
|
|
21
26
|
FIRST = "2026-01-01T00:00:03.123100+00:00"
|
|
@@ -199,6 +204,102 @@ def test_unproved_timer_group_keeps_its_results_without_certifying_time(field: s
|
|
|
199
204
|
assert result(rows, ParallelTimerBusinessClockWorkflow) == [[None, None], None, None]
|
|
200
205
|
|
|
201
206
|
|
|
207
|
+
def child_group_history(
|
|
208
|
+
times: list[str] | None = None, *, order: tuple[int, ...] = (1, 0),
|
|
209
|
+
failures: dict[int, str] | None = None, nested: bool = False,
|
|
210
|
+
) -> list[dict[str, Any]]:
|
|
211
|
+
times = [FIRST, TIED] if times is None else times
|
|
212
|
+
rows: list[dict[str, Any]] = [{"event_type": "WorkflowStarted", "recorded_at": START, "payload": {}}]
|
|
213
|
+
terminals = []
|
|
214
|
+
for offset, time in enumerate(times):
|
|
215
|
+
kind = (failures or {}).get(offset, "ChildRunCompleted")
|
|
216
|
+
lifecycle = child_rows(offset + 1, kind, time)
|
|
217
|
+
path = [
|
|
218
|
+
{**entry, "parallel_group_kind": "child",
|
|
219
|
+
"parallel_group_id": entry["parallel_group_id"].replace("parallel-activities:", "parallel-children:")}
|
|
220
|
+
for entry in group_path(1, len(times), offset, nested=nested)
|
|
221
|
+
]
|
|
222
|
+
for row in lifecycle:
|
|
223
|
+
row["payload"].update(deepcopy(path[-1]), parallel_group_path=deepcopy(path))
|
|
224
|
+
if kind == "ChildRunCompleted":
|
|
225
|
+
lifecycle[-1]["payload"]["result"] = serializer.envelope(f"child-value-{offset}")
|
|
226
|
+
rows.extend(lifecycle[:-1])
|
|
227
|
+
terminals.append(lifecycle[-1])
|
|
228
|
+
rows.extend(terminals[offset] for offset in order)
|
|
229
|
+
return rows
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
@pytest.mark.parametrize("order", [(0, 1), (1, 0)])
|
|
233
|
+
def test_child_group_preserves_authored_ties_and_excludes_later_history(order: tuple[int, ...]) -> None:
|
|
234
|
+
rows = child_group_history(order=order)
|
|
235
|
+
rows.append({"event_type": "WorkflowTaskCompleted", "recorded_at": "2099-01-01T00:00:00Z", "payload": {}})
|
|
236
|
+
original = deepcopy(rows)
|
|
237
|
+
wanted = {"values": ["child-value-0", "child-value-1"], "failure": None, "clock": FIRST, "repeated": FIRST}
|
|
238
|
+
assert result(rows, ParallelChildBusinessClockWorkflow) == wanted
|
|
239
|
+
assert result(rows, ParallelChildBusinessClockWorkflow) == wanted
|
|
240
|
+
assert rows == original
|
|
241
|
+
for query in ("clock", "body-clock"):
|
|
242
|
+
assert query_state(ParallelChildBusinessClockWorkflow, rows, [], query, payload_codec="avro") is None
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
def test_nested_child_group_uses_the_latest_consumed_member_from_public_history() -> None:
|
|
246
|
+
class Nested(ParallelChildBusinessClockWorkflow):
|
|
247
|
+
size = 3
|
|
248
|
+
nested = True
|
|
249
|
+
|
|
250
|
+
later = "2026-01-01T00:00:03.123500+00:00"
|
|
251
|
+
rows = child_group_history([FIRST, TIED, later], order=(2, 1, 0), nested=True)
|
|
252
|
+
for row in rows[1:]:
|
|
253
|
+
row["timestamp"] = row.pop("recorded_at")
|
|
254
|
+
observed = result(rows, Nested)
|
|
255
|
+
assert observed == {"values": ["child-value-0", ["child-value-1", "child-value-2"]],
|
|
256
|
+
"failure": None, "clock": later, "repeated": later}
|
|
257
|
+
rows[-3]["recorded_at"] = FIRST
|
|
258
|
+
assert result(rows, Nested) == {**observed, "clock": None, "repeated": None}
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
@pytest.mark.parametrize(("terminal", "failure_kind"), [
|
|
262
|
+
("ChildRunFailed", "child_workflow"), ("ChildRunCancelled", "cancelled"), ("ChildRunTerminated", "terminated"),
|
|
263
|
+
])
|
|
264
|
+
def test_child_group_failure_keeps_its_exception_and_clock(terminal: str, failure_kind: str) -> None:
|
|
265
|
+
rows = child_group_history([FIRST, "2099-01-01T00:00:00Z"], failures={0: terminal})
|
|
266
|
+
clock = "2026-01-01T00:00:03.123000+00:00"
|
|
267
|
+
observed = result(rows, ParallelChildBusinessClockWorkflow)
|
|
268
|
+
assert observed == {"values": None, "failure": [failure_kind, "run-1", "recorded child failure"],
|
|
269
|
+
"clock": clock, "repeated": clock}
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
def test_child_group_keeps_legacy_failure_when_a_different_member_would_set_the_clock() -> None:
|
|
273
|
+
later = "2026-01-01T00:00:03.130000+00:00"
|
|
274
|
+
rows = child_group_history([later, FIRST], failures={0: "ChildRunFailed", 1: "ChildRunFailed"})
|
|
275
|
+
assert result(rows, ParallelChildBusinessClockWorkflow) == {
|
|
276
|
+
"values": None, "failure": ["child_workflow", "run-1", "recorded child failure"],
|
|
277
|
+
"clock": None, "repeated": None,
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
@pytest.mark.parametrize(("field", "replacement"), [
|
|
282
|
+
("child_workflow_run_id", "unexpected-run"), ("child_call_id", "unexpected-call"),
|
|
283
|
+
("child_workflow_instance_id", "unexpected-instance"), ("parallel_group_path", []),
|
|
284
|
+
])
|
|
285
|
+
def test_unproved_child_lifecycle_preserves_results_without_clock(field: str, replacement: Any) -> None:
|
|
286
|
+
rows = child_group_history()
|
|
287
|
+
if field == "parallel_group_path":
|
|
288
|
+
rows[1]["payload"].pop("parallel_group_id")
|
|
289
|
+
rows[1]["payload"][field] = replacement
|
|
290
|
+
assert result(rows, ParallelChildBusinessClockWorkflow) == {
|
|
291
|
+
"values": ["child-value-0", "child-value-1"], "failure": None, "clock": None, "repeated": None,
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
def test_two_different_child_calls_can_share_the_target_run() -> None:
|
|
296
|
+
rows = child_group_history()
|
|
297
|
+
for row in rows[1:]:
|
|
298
|
+
if row["payload"]["sequence"] == 2:
|
|
299
|
+
row["payload"].update(child_workflow_instance_id="child-1", child_workflow_run_id="run-1")
|
|
300
|
+
assert result(rows, ParallelChildBusinessClockWorkflow)["clock"] == FIRST
|
|
301
|
+
|
|
302
|
+
|
|
202
303
|
@pytest.mark.parametrize("order", [(0, 1), (1, 0)])
|
|
203
304
|
def test_success_uses_authored_tie_order_and_full_precision_not_arrival_or_history_max(order: tuple[int, ...]) -> None:
|
|
204
305
|
rows = history(order=order)
|
|
@@ -38,6 +38,7 @@ from tests.business_clock_workflows import (
|
|
|
38
38
|
EmptyGroupEntryWorkflow,
|
|
39
39
|
NativeRedriveBusinessClockWorkflow,
|
|
40
40
|
ParallelActivityBusinessClockWorkflow,
|
|
41
|
+
ParallelChildBusinessClockWorkflow,
|
|
41
42
|
ParallelFailureBusinessClockWorkflow,
|
|
42
43
|
ParallelTimerBusinessClockWorkflow,
|
|
43
44
|
PrefixedCoreTimerBusinessClockWorkflow,
|
|
@@ -463,6 +464,7 @@ WORKFLOWS = [
|
|
|
463
464
|
ChildBusinessClockWorkflow,
|
|
464
465
|
CyclicFinalizerBusinessClockWorkflow,
|
|
465
466
|
ParallelActivityBusinessClockWorkflow,
|
|
467
|
+
ParallelChildBusinessClockWorkflow,
|
|
466
468
|
ParallelFailureBusinessClockWorkflow,
|
|
467
469
|
ParallelTimerBusinessClockWorkflow,
|
|
468
470
|
NativeRedriveBusinessClockWorkflow,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_activity_checkpoint.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_activity_process.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_cancellation_scope.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_capabilities_digest.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_condition_fingerprint.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_condition_input_order.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_continue_as_new.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_failure_reporting.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_parallel_group_policy.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_payload_protection.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_prepared_local_activity.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_query_task_authority.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_sticky_workflow_cache.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/_timeout_cleanup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/auth_composition.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/external_storage.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/external_task_input.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/external_task_result.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/history_bundle_verify.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/prepared_payload.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/python_conformance.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/replay_clock_math.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/replay_conformance.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/server_compatibility.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow/telemetry_carrier.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow.egg-info/requires.txt
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/src/durable_workflow.egg-info/top_level.txt
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_acceptance_authority.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_acceptance_consumer.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_cancellation_policies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_exponential_retry.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_heartbeat_authority.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_heartbeat_unavailable.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_install_inventory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_activity_run_closed_refusal.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock_child.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock_entry.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_business_replay_clock_redrive.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_remaining_time.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_scope_admission.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_scope_authoring.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_scope_boundary.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_cancellation_scope_opening.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_capabilities_digest_unknown.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_checkpointed_batch_example.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_coalescing_signal_timer_replay.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_command_keys_captured_inputs.py
RENAMED
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_command_keys_container_ownership.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.28.0 → durable_workflow-2.29.0}/tests/test_control_plane_parity_fixtures.py
RENAMED
|
File without changes
|