durable-workflow 2.27.0__tar.gz → 2.28.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.27.0/src/durable_workflow.egg-info → durable_workflow-2.28.0}/PKG-INFO +1 -1
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/pyproject.toml +3 -3
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/replay_clock.py +51 -15
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/workflow.py +11 -4
- {durable_workflow-2.27.0 → durable_workflow-2.28.0/src/durable_workflow.egg-info}/PKG-INFO +1 -1
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock_parallel.py +47 -1
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_replay_regression_corpus.py +2 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/LICENSE +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/README.md +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/setup.cfg +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/__init__.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_activity_checkpoint.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_activity_lease.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_activity_process.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_avro.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_cancellation_scope.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_cancellation_scope_history.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_capabilities_digest.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_condition_fingerprint.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_condition_input_order.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_continue_as_new.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_cooperative_cancellation.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_failure_reporting.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_metric_routes.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_parallel_group_policy.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_payload_protection.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_poll_transport.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_prepared_local_activity.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_query_task_authority.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_response_limit.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_sticky_workflow_cache.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_timeout_cleanup.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_typed_values.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/activity.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/auth_composition.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/cancellation.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/client.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/errors.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/external_storage.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/external_task_input.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/external_task_result.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/history_bundle_verify.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/interceptors.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/invocable.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/metrics.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/nexus.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/prepared_payload.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/py.typed +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/python_conformance.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/replay_clock_math.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/replay_conformance.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/replay_verify.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/retry_policy.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/serializer.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/server_compatibility.json +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/sync.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/telemetry.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/telemetry_carrier.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/testing.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/worker.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/worker_session.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/worker_status.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/workflow_updates_conformance.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow.egg-info/SOURCES.txt +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow.egg-info/dependency_links.txt +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow.egg-info/entry_points.txt +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow.egg-info/requires.txt +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow.egg-info/top_level.txt +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_acceptance_authority.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_acceptance_consumer.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_acceptance_entry.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_cancellation_policies.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_checkpoint.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_context.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_exponential_retry.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_heartbeat_authority.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_heartbeat_unavailable.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_identity.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_install_inventory.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_lease_authority.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_lease_renewal.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_lease_worker.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_process.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_retry_cap_cell.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_retry_info.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_run_closed_refusal.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_worker_lost.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_auth_composition.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_avro_value_benchmark.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_avro_value_protocol.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock_child.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock_entry.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock_query_attestation.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock_redrive.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock_sequence_claims.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_cause.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_context.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_remaining_time.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_scope_admission.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_scope_authoring.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_scope_boundary.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_scope_opening.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_capabilities_digest.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_capabilities_digest_unknown.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_checkpointed_batch_example.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_child_workflow_policies.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_ci_checkout.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_ci_integration_endpoint.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_client.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_client_iterators.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_client_payload_protection.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_client_telemetry.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_client_timeouts.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_coalescing_signal_timer_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_codec_regression_corpus.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_command_keys_acceptance.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_command_keys_captured_inputs.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_command_keys_container_ownership.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_command_keys_workspace.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_committed_cancellation_scope_descendants.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_committed_cancellation_scope_groups.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_committed_cancellation_scope_history.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_committed_cancellation_scope_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_completion_size_limit.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_condition_fingerprint.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_condition_occurrence_id.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_condition_replay_drift.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_continue_as_new_target.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_control_plane_parity_fixtures.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cooperative_cancellation.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cooperative_cancellation_client.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cooperative_cancellation_worker.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cooperative_remote_worker.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_docs_release_channel.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_docstring_cross_references.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_durable_selection.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_empty_callback_failure.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_errors.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_external_storage.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_external_task_input.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_external_task_result.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_failure_reporting.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_generator_lifecycle.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_golden_history_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_history_bundle_pruned.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_history_bundle_schema2.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_history_bundle_verify.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_history_event_contract.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_invocable.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_local_activity_backoff.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_local_failure_reporting.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_message_streams.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_metric_routes.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_metrics.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_native_timer_redrive_cell.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_native_timer_redrive_clock.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_nexus_durable_wait.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_nexus_namespace.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_nexus_wire.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_order_processing_example.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_ordered_condition_input.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_parallel_completion_order_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_parallel_failure_order.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_parallel_group_boundaries.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_parallel_group_policy.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_parallel_member_failure_open_siblings.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_parallel_saga_authoring.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_patch_history.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_payload_policy_refresh.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_payload_protection.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_pending_operation_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_physical_command_key_readback.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_poll_failure_backoff.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_poll_transport.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_portal_source_split.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_prepared_local_activity_client.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_prepared_local_activity_groups.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_prepared_local_activity_policies.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_prepared_local_activity_worker.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_protected_workflow_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_public_boundary_scanner.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_publish_workflow_isolation.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_published_activity_acceptance.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_published_pagination_evidence.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_pypi_project_surface.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_python_conformance.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_queries.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_query_task_authority.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_query_timeout_retry.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_quiesced_snapshot.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_readme_quickstart.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_redrive_call_ledger.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_redrive_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_redrive_successor_evidence.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_registration_ambiguity.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_release_metadata.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_release_promotion.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_replay_clock.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_replay_conformance.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_replay_verify.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_response_body_limit.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_result_continue_as_new.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_retry_cap_download.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_retry_cap_workflow.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_retry_policy.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_run_activities.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_run_cancellation_scope_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_run_closed_settlement_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_runtime_external_payload_transport.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_schedule_origin.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_schedules.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_scoped_run_cancellation_context.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_sdk_metrics_contract.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_search_attribute_replay_identity.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_serializer.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_signal_external_workflow.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_signal_with_start.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_signals.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_sleep.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_standalone_activity_client.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_static_credential_validation.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_sticky_execution.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_sticky_history_suffix.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_storage_admission.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_sync.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_sync_activities.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_synthetic_command_key_readback.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_telemetry.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_telemetry_carrier.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_testing_failures.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_testing_harness.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_testing_nexus.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_threaded_heartbeat_example.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_timeout_cleanup.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_tls_trust.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_transport_diagnostics.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_typed_values.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_typed_workflow_values.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_update_outcome.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_update_signal_condition_replay.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_updates.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_wait_condition.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_deregistration.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_observation.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_session.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_startup_buffered.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_startup_raw.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_startup_read_budget.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_startup_snapshot.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_status.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_telemetry_wire.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_transient_5xx_retry.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_worker_transient_runtime.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_workflow_entry_arguments.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_workflow_entrypoint_validation.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_workflow_handler_validation.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_workflow_identity.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_workflow_result_timeout.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_workflow_streams.py +0 -0
- {durable_workflow-2.27.0 → durable_workflow-2.28.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.28.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.28.0"
|
|
86
|
+
registry-version = "2.28.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"
|
|
@@ -33,7 +33,7 @@ _GROUP_FIELDS = ("parallel_group_id", "parallel_group_kind", "parallel_group_bas
|
|
|
33
33
|
"parallel_group_size", "parallel_group_index")
|
|
34
34
|
_SELECTION_FIELDS = ("selection_member_key", "selection_member_index", "selection_member_base_sequence",
|
|
35
35
|
"selection_member_size", "selection_member_kind")
|
|
36
|
-
_GroupMember = tuple[int | None, int, str, Sequence[Mapping[str, Any]] | None]
|
|
36
|
+
_GroupMember = tuple[int | None, int, str | int, Sequence[Mapping[str, Any]] | None]
|
|
37
37
|
ENTRY_SCHEMA = "durable-workflow.worker-replay-clock/v1"
|
|
38
38
|
_ENTRY_SOURCES = frozenset({"run_started_at", "redrive_replayed_started_at"})
|
|
39
39
|
_ENTRY_INSTANT = re.compile(r"\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{6}Z", re.ASCII)
|
|
@@ -234,8 +234,11 @@ 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]) -> datetime | None:
|
|
238
|
-
# Core's
|
|
237
|
+
def _group_event_time(event: Mapping[str, Any], *, public_timer_history: bool = False) -> datetime | None:
|
|
238
|
+
# Core's settled all-group paths use these model fields.
|
|
239
|
+
if public_timer_history and "recorded_at" not in event and "created_at" not in event:
|
|
240
|
+
# Native's public history exports the same recorded timer instant as timestamp.
|
|
241
|
+
return _time(event.get("timestamp"))
|
|
239
242
|
value = event.get("recorded_at")
|
|
240
243
|
time = _time(event.get("created_at") if value is None else value)
|
|
241
244
|
if "timestamp" in event and _time(event["timestamp"]) != time:
|
|
@@ -243,15 +246,17 @@ def _group_event_time(event: Mapping[str, Any]) -> datetime | None:
|
|
|
243
246
|
return time
|
|
244
247
|
|
|
245
248
|
|
|
246
|
-
def
|
|
249
|
+
def _group_time(
|
|
250
|
+
events: Sequence[Mapping[str, Any]], failed_member: int | None, success_kind: str,
|
|
251
|
+
) -> datetime | None:
|
|
247
252
|
candidates: list[tuple[int, datetime, int]] = []
|
|
248
253
|
for offset, event in enumerate(events):
|
|
249
|
-
failed = _kind(event) !=
|
|
254
|
+
failed = _kind(event) != success_kind
|
|
250
255
|
if failed != (failed_member is not None):
|
|
251
256
|
if failed:
|
|
252
257
|
return None
|
|
253
258
|
continue # Successful siblings do not choose the failure clock.
|
|
254
|
-
time = _group_event_time(event)
|
|
259
|
+
time = _group_event_time(event, public_timer_history=success_kind == "TimerFired")
|
|
255
260
|
milliseconds = canonical_milliseconds(time) if time is not None else None
|
|
256
261
|
if time is None or milliseconds is None:
|
|
257
262
|
return None
|
|
@@ -280,6 +285,7 @@ class BusinessReplayClock:
|
|
|
280
285
|
self._by_sequence: dict[int, list[int]] = {}
|
|
281
286
|
self._child_calls: dict[str, list[int]] = {}
|
|
282
287
|
self._activity_executions: dict[str, list[int]] = {}
|
|
288
|
+
self._timer_ids: dict[str, list[int]] = {}
|
|
283
289
|
self._source_run: str | None = None
|
|
284
290
|
self._resume_step: int | None = None
|
|
285
291
|
self._redrive_inserted: datetime | None = None
|
|
@@ -339,6 +345,9 @@ class BusinessReplayClock:
|
|
|
339
345
|
execution = payload.get("activity_execution_id")
|
|
340
346
|
if _identity(execution):
|
|
341
347
|
self._activity_executions.setdefault(execution, []).append(index)
|
|
348
|
+
timer = payload.get("timer_id")
|
|
349
|
+
if _identity(timer) and _kind(event) in {"TimerScheduled", "TimerFired", "TimerCancelled"}:
|
|
350
|
+
self._timer_ids.setdefault(timer, []).append(index)
|
|
342
351
|
|
|
343
352
|
def _start_prefix(self, index: int, payload: Mapping[str, Any]) -> bool:
|
|
344
353
|
if index == 0:
|
|
@@ -404,8 +413,8 @@ class BusinessReplayClock:
|
|
|
404
413
|
self._pending = self._current
|
|
405
414
|
self._pending_entry = self._current_entry
|
|
406
415
|
|
|
407
|
-
def
|
|
408
|
-
self, members: Sequence[_GroupMember], failed_member: int | None, *, reconstruction: bool,
|
|
416
|
+
def observe_parallel_group(
|
|
417
|
+
self, members: Sequence[_GroupMember], failed_member: int | None, *, family: str, reconstruction: bool,
|
|
409
418
|
) -> None:
|
|
410
419
|
self._pending = (None, None)
|
|
411
420
|
# Core's successful query group-send supplies no new time. Body and
|
|
@@ -414,25 +423,29 @@ class BusinessReplayClock:
|
|
|
414
423
|
return
|
|
415
424
|
root = members[0][3][0]
|
|
416
425
|
if (root.get("parallel_group_base_sequence") != members[0][1]
|
|
417
|
-
or root.get("parallel_group_size") != len(members)):
|
|
426
|
+
or root.get("parallel_group_size") != len(members) or root.get("parallel_group_kind") != family):
|
|
418
427
|
return
|
|
428
|
+
timer_group = family == "timer"
|
|
429
|
+
boundary = self._timer_group_boundary if timer_group else self._activity_group_boundary
|
|
430
|
+
identity_field = "timer_id" if timer_group else "activity_execution_id"
|
|
419
431
|
events: list[Mapping[str, Any]] = []
|
|
420
|
-
|
|
432
|
+
identities: set[str] = set()
|
|
421
433
|
for offset, member in enumerate(members):
|
|
422
434
|
path = member[3]
|
|
423
435
|
expected_root = {**root, "parallel_group_index": offset}
|
|
424
436
|
if (not path or not _group_entry_matches(path[0], expected_root)
|
|
425
437
|
or member[1] != members[0][1] + offset):
|
|
426
438
|
return
|
|
427
|
-
event =
|
|
439
|
+
event = boundary(member)
|
|
428
440
|
if event is None:
|
|
429
441
|
return
|
|
430
|
-
|
|
431
|
-
if
|
|
442
|
+
identity = event["payload"][identity_field]
|
|
443
|
+
if identity in identities:
|
|
432
444
|
return
|
|
433
|
-
|
|
445
|
+
identities.add(identity)
|
|
434
446
|
events.append(event)
|
|
435
|
-
|
|
447
|
+
success_kind = "TimerFired" if timer_group else "ActivityCompleted"
|
|
448
|
+
self._pending = (None, _group_time(events, failed_member, success_kind))
|
|
436
449
|
|
|
437
450
|
def observe_propagated_activity_failure(self, member: _GroupMember, *, reconstruction: bool) -> None:
|
|
438
451
|
"""Use only the qualified first-recorded failure of an explicit group."""
|
|
@@ -467,6 +480,29 @@ class BusinessReplayClock:
|
|
|
467
480
|
return None
|
|
468
481
|
return event
|
|
469
482
|
|
|
483
|
+
def _timer_group_boundary(self, member: _GroupMember) -> Mapping[str, Any] | None:
|
|
484
|
+
index, sequence, delay, path = member
|
|
485
|
+
indices = self._by_sequence.get(sequence, [])
|
|
486
|
+
if (index is None or not path or type(delay) is not int or delay < 0
|
|
487
|
+
or len(indices) != 2 or indices[-1] != index
|
|
488
|
+
or self._redrive_declared and (self._resume_step is None or sequence < self._resume_step)):
|
|
489
|
+
return None
|
|
490
|
+
opening, fired = (self.events[position] for position in indices)
|
|
491
|
+
if _kind(opening) != "TimerScheduled" or _kind(fired) != "TimerFired":
|
|
492
|
+
return None
|
|
493
|
+
identity = opening["payload"].get("timer_id")
|
|
494
|
+
if not _identity(identity) or self._timer_ids.get(identity) != indices:
|
|
495
|
+
return None
|
|
496
|
+
for row in (opening, fired):
|
|
497
|
+
body = row["payload"]
|
|
498
|
+
if (_sequence(body) != sequence or body.get("timer_id") != identity
|
|
499
|
+
or type(body.get("delay_seconds")) is not int or body["delay_seconds"] != delay
|
|
500
|
+
or body.get("timer_kind") is not None or row.get("timer_kind") is not None
|
|
501
|
+
or any(key in body for key in ("condition_wait_id", "signal_wait_id", *_REUSE_FIELDS))
|
|
502
|
+
or not _group_payload_matches(body, path)):
|
|
503
|
+
return None
|
|
504
|
+
return fired
|
|
505
|
+
|
|
470
506
|
def observe(self, index: int | None, family: str, sequence: int) -> None:
|
|
471
507
|
self._pending = (None, None)
|
|
472
508
|
if index is None or not 0 <= index < len(self.events) or family not in {"activity", "timer", _CHILD_FAMILY}:
|
|
@@ -8965,10 +8965,10 @@ def _replay_state(
|
|
|
8965
8965
|
except StopIteration as stop:
|
|
8966
8966
|
return _terminal_state(stop.value, include_pending=False)
|
|
8967
8967
|
if all(isinstance(leaf, ScheduleActivity) for leaf in cmd):
|
|
8968
|
-
ctx._business_clock.
|
|
8968
|
+
ctx._business_clock.observe_parallel_group(
|
|
8969
8969
|
[(step.history_index, step.workflow_sequence, leaf.activity_type, leaf._parallel_group_path)
|
|
8970
8970
|
for step, leaf in zip(consumed_steps, cmd, strict=True)],
|
|
8971
|
-
None, reconstruction=reconstruction_only,
|
|
8971
|
+
None, family="activity", reconstruction=reconstruction_only,
|
|
8972
8972
|
)
|
|
8973
8973
|
else:
|
|
8974
8974
|
ctx._business_clock.unavailable()
|
|
@@ -9018,10 +9018,17 @@ def _replay_state(
|
|
|
9018
9018
|
(offset for offset, value in enumerate(vals) if failed is not None and value is failed),
|
|
9019
9019
|
None,
|
|
9020
9020
|
)
|
|
9021
|
-
ctx._business_clock.
|
|
9021
|
+
ctx._business_clock.observe_parallel_group(
|
|
9022
9022
|
[(step.history_index, step.workflow_sequence, leaf.activity_type, leaf._parallel_group_path)
|
|
9023
9023
|
for step, leaf in zip(consumed_steps, cmd, strict=True)],
|
|
9024
|
-
selected_failure, reconstruction=reconstruction_only,
|
|
9024
|
+
selected_failure, family="activity", reconstruction=reconstruction_only,
|
|
9025
|
+
)
|
|
9026
|
+
elif (group_typed_failure is None and failed is None
|
|
9027
|
+
and all(isinstance(leaf, StartTimer) for leaf in cmd)):
|
|
9028
|
+
ctx._business_clock.observe_parallel_group(
|
|
9029
|
+
[(step.history_index, step.workflow_sequence, leaf.delay_seconds, leaf._parallel_group_path)
|
|
9030
|
+
for step, leaf in zip(consumed_steps, cmd, strict=True)],
|
|
9031
|
+
None, family="timer", reconstruction=reconstruction_only,
|
|
9025
9032
|
)
|
|
9026
9033
|
else:
|
|
9027
9034
|
ctx._business_clock.unavailable()
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock_parallel.py
RENAMED
|
@@ -14,7 +14,7 @@ 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 clock_text
|
|
17
|
+
from tests.business_clock_workflows import ParallelTimerBusinessClockWorkflow, clock_text
|
|
18
18
|
from tests.test_business_replay_clock import result
|
|
19
19
|
|
|
20
20
|
START = "2026-01-01T00:00:00.000000+00:00"
|
|
@@ -153,6 +153,52 @@ class ParallelProbe:
|
|
|
153
153
|
return self.time
|
|
154
154
|
|
|
155
155
|
|
|
156
|
+
def timer_group_history(order: tuple[int, int] = (0, 1), times: list[str] | None = None) -> list[dict[str, Any]]:
|
|
157
|
+
rows = history(times, order=order)
|
|
158
|
+
for row in rows[1:]:
|
|
159
|
+
sequence = row["payload"]["sequence"]
|
|
160
|
+
path = [{**group_path(1, 2, sequence - 1)[0], "parallel_group_id": "parallel-timers:1:2",
|
|
161
|
+
"parallel_group_kind": "timer"}]
|
|
162
|
+
row["event_type"] = "TimerScheduled" if row["event_type"] == "ActivityScheduled" else "TimerFired"
|
|
163
|
+
row["payload"] = {"timer_id": f"timer-{sequence}", "sequence": sequence, "delay_seconds": sequence,
|
|
164
|
+
**path[0], "parallel_group_path": path}
|
|
165
|
+
return rows
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
@pytest.mark.parametrize("order", [(0, 1), (1, 0)])
|
|
169
|
+
def test_timer_group_uses_the_first_authored_timer_on_a_canonical_tie(order: tuple[int, int]) -> None:
|
|
170
|
+
rows = timer_group_history(order)
|
|
171
|
+
rows.append({"event_type": "WorkflowTaskCompleted", "recorded_at": "2099-01-01T00:00:00Z", "payload": {}})
|
|
172
|
+
original = deepcopy(rows)
|
|
173
|
+
assert result(rows, ParallelTimerBusinessClockWorkflow) == [[None, None], FIRST, FIRST]
|
|
174
|
+
assert result(rows, ParallelTimerBusinessClockWorkflow) == [[None, None], FIRST, FIRST]
|
|
175
|
+
assert query_state(ParallelTimerBusinessClockWorkflow, rows, [], "body-clock", payload_codec="avro") is None
|
|
176
|
+
assert rows == original
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
def test_timer_group_selects_the_later_timer_even_when_it_was_recorded_first() -> None:
|
|
180
|
+
later = "2026-01-01T00:00:03.123500+00:00"
|
|
181
|
+
rows = timer_group_history((1, 0), [FIRST, later])
|
|
182
|
+
assert result(rows, ParallelTimerBusinessClockWorkflow) == [[None, None], later, later]
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
def test_exported_timer_history_supplies_the_same_clock_as_worker_history() -> None:
|
|
186
|
+
rows = timer_group_history()
|
|
187
|
+
for row in rows[1:]:
|
|
188
|
+
row["timestamp"] = row.pop("recorded_at")
|
|
189
|
+
assert result(rows, ParallelTimerBusinessClockWorkflow) == [[None, None], FIRST, FIRST]
|
|
190
|
+
rows[-1]["recorded_at"] = "2099-01-01T00:00:00Z"
|
|
191
|
+
assert result(rows, ParallelTimerBusinessClockWorkflow) == [[None, None], None, None]
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
@pytest.mark.parametrize("field,value", [("timer_id", "different-timer"), ("timer_kind", "unexpected"),
|
|
195
|
+
("reused_recorded_at", FIRST)])
|
|
196
|
+
def test_unproved_timer_group_keeps_its_results_without_certifying_time(field: str, value: str) -> None:
|
|
197
|
+
rows = timer_group_history()
|
|
198
|
+
rows[-1]["payload"][field] = value
|
|
199
|
+
assert result(rows, ParallelTimerBusinessClockWorkflow) == [[None, None], None, None]
|
|
200
|
+
|
|
201
|
+
|
|
156
202
|
@pytest.mark.parametrize("order", [(0, 1), (1, 0)])
|
|
157
203
|
def test_success_uses_authored_tie_order_and_full_precision_not_arrival_or_history_max(order: tuple[int, ...]) -> None:
|
|
158
204
|
rows = history(order=order)
|
|
@@ -39,6 +39,7 @@ from tests.business_clock_workflows import (
|
|
|
39
39
|
NativeRedriveBusinessClockWorkflow,
|
|
40
40
|
ParallelActivityBusinessClockWorkflow,
|
|
41
41
|
ParallelFailureBusinessClockWorkflow,
|
|
42
|
+
ParallelTimerBusinessClockWorkflow,
|
|
42
43
|
PrefixedCoreTimerBusinessClockWorkflow,
|
|
43
44
|
ScalarBusinessClockWorkflow,
|
|
44
45
|
TolerantEntryWorkflow,
|
|
@@ -463,6 +464,7 @@ WORKFLOWS = [
|
|
|
463
464
|
CyclicFinalizerBusinessClockWorkflow,
|
|
464
465
|
ParallelActivityBusinessClockWorkflow,
|
|
465
466
|
ParallelFailureBusinessClockWorkflow,
|
|
467
|
+
ParallelTimerBusinessClockWorkflow,
|
|
466
468
|
NativeRedriveBusinessClockWorkflow,
|
|
467
469
|
PrefixedCoreTimerBusinessClockWorkflow,
|
|
468
470
|
ScalarBusinessClockWorkflow,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_activity_checkpoint.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_activity_process.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_cancellation_scope.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_capabilities_digest.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_condition_fingerprint.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_condition_input_order.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_continue_as_new.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_failure_reporting.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_parallel_group_policy.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_payload_protection.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_prepared_local_activity.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_query_task_authority.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_sticky_workflow_cache.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/_timeout_cleanup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/auth_composition.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/external_storage.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/external_task_input.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/external_task_result.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.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.27.0 → durable_workflow-2.28.0}/src/durable_workflow/prepared_payload.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/python_conformance.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/replay_clock_math.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/replay_conformance.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow/server_compatibility.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.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.27.0 → durable_workflow-2.28.0}/src/durable_workflow.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow.egg-info/requires.txt
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/src/durable_workflow.egg-info/top_level.txt
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_acceptance_authority.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_acceptance_consumer.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_cancellation_policies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_exponential_retry.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_heartbeat_authority.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_activity_heartbeat_unavailable.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.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.27.0 → durable_workflow-2.28.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.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock_child.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock_entry.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_business_replay_clock_redrive.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_remaining_time.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_scope_admission.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_scope_authoring.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_scope_boundary.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_cancellation_scope_opening.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_capabilities_digest_unknown.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.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.27.0 → durable_workflow-2.28.0}/tests/test_coalescing_signal_timer_replay.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.0}/tests/test_command_keys_captured_inputs.py
RENAMED
|
File without changes
|
{durable_workflow-2.27.0 → durable_workflow-2.28.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
|