durable-workflow 2.15.0__tar.gz → 2.15.1__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.15.0/src/durable_workflow.egg-info → durable_workflow-2.15.1}/PKG-INFO +1 -1
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/pyproject.toml +3 -3
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/worker.py +4 -1
- {durable_workflow-2.15.0 → durable_workflow-2.15.1/src/durable_workflow.egg-info}/PKG-INFO +1 -1
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow.egg-info/SOURCES.txt +1 -0
- durable_workflow-2.15.1/tests/test_local_activity_backoff.py +49 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_replay_regression_corpus.py +48 -2
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/LICENSE +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/README.md +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/setup.cfg +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/__init__.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_activity_lease.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_activity_process.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_avro.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_cancellation_scope.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_cancellation_scope_history.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_condition_fingerprint.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_cooperative_cancellation.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_failure_reporting.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_metric_routes.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_poll_transport.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_prepared_local_activity.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_query_task_authority.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_sticky_workflow_cache.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_typed_values.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/activity.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/auth_composition.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/cancellation.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/client.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/errors.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/external_storage.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/external_task_input.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/external_task_result.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/history_bundle_verify.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/interceptors.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/invocable.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/metrics.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/nexus.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/py.typed +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/python_conformance.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/replay_clock.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/replay_clock_math.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/replay_conformance.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/replay_verify.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/retry_policy.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/serializer.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/server_compatibility.json +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/sync.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/telemetry.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/telemetry_carrier.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/testing.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/worker_session.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/worker_status.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/workflow.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/workflow_updates_conformance.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow.egg-info/dependency_links.txt +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow.egg-info/entry_points.txt +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow.egg-info/requires.txt +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow.egg-info/top_level.txt +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_cancellation_policies.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_context.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_heartbeat_authority.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_identity.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_lease_authority.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_lease_renewal.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_lease_worker.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_process.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_retry_info.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_auth_composition.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_avro_value_benchmark.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_avro_value_protocol.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_business_replay_clock.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_business_replay_clock_child.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_business_replay_clock_parallel.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_business_replay_clock_redrive.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_business_replay_clock_sequence_claims.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_context.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_remaining_time.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_scope_admission.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_scope_authoring.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_scope_boundary.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_scope_opening.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_child_workflow_policies.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_ci_checkout.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_ci_integration_endpoint.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_client.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_client_iterators.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_client_telemetry.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_client_timeouts.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_codec_regression_corpus.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_committed_cancellation_scope_descendants.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_committed_cancellation_scope_groups.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_committed_cancellation_scope_history.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_committed_cancellation_scope_replay.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_condition_fingerprint.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_condition_occurrence_id.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_condition_replay_drift.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_control_plane_parity_fixtures.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cooperative_cancellation.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cooperative_cancellation_client.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cooperative_cancellation_worker.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cooperative_remote_worker.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_docs_release_channel.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_docstring_cross_references.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_durable_selection.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_empty_callback_failure.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_errors.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_external_storage.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_external_task_input.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_external_task_result.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_failure_reporting.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_generator_lifecycle.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_golden_history_replay.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_history_bundle_pruned.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_history_bundle_schema2.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_history_bundle_verify.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_history_event_contract.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_invocable.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_local_failure_reporting.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_message_streams.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_metric_routes.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_metrics.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_nexus_durable_wait.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_nexus_namespace.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_nexus_wire.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_order_processing_example.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_parallel_completion_order_replay.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_parallel_saga_authoring.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_patch_history.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_pending_operation_replay.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_poll_failure_backoff.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_poll_transport.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_portal_source_split.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_prepared_local_activity_client.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_prepared_local_activity_groups.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_prepared_local_activity_policies.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_prepared_local_activity_worker.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_public_boundary_scanner.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_publish_workflow_isolation.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_pypi_project_surface.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_python_conformance.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_queries.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_query_task_authority.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_query_timeout_retry.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_readme_quickstart.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_redrive_call_ledger.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_redrive_replay.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_redrive_successor_evidence.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_registration_ambiguity.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_release_metadata.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_replay.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_replay_clock.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_replay_conformance.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_replay_verify.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_retry_policy.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_run_activities.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_run_cancellation_scope_replay.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_runtime_external_payload_transport.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_schedules.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_scoped_run_cancellation_context.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_sdk_metrics_contract.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_search_attribute_replay_identity.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_serializer.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_signals.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_sleep.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_standalone_activity_client.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_sticky_execution.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_storage_admission.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_sync.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_sync_activities.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_telemetry.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_telemetry_carrier.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_testing_failures.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_testing_harness.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_testing_nexus.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_threaded_heartbeat_example.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_tls_trust.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_transport_diagnostics.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_typed_values.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_typed_workflow_values.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_update_signal_condition_replay.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_updates.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_wait_condition.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_worker.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_worker_deregistration.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_worker_observation.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_worker_session.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_worker_startup_buffered.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_worker_startup_raw.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_worker_startup_read_budget.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_worker_startup_snapshot.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_worker_status.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_worker_telemetry_wire.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_workflow_entry_arguments.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_workflow_entrypoint_validation.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_workflow_handler_validation.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_workflow_identity.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_workflow_result_timeout.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_workflow_streams.py +0 -0
- {durable_workflow-2.15.0 → durable_workflow-2.15.1}/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.15.
|
|
7
|
+
version = "2.15.1"
|
|
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"
|
|
@@ -79,8 +79,8 @@ durable-workflow-replay-conformance = "durable_workflow.replay_conformance:main"
|
|
|
79
79
|
durable-workflow-workflow-updates-conformance = "durable_workflow.workflow_updates_conformance:main"
|
|
80
80
|
|
|
81
81
|
[tool.durable-workflow]
|
|
82
|
-
product-train = "2.15.
|
|
83
|
-
registry-version = "2.15.
|
|
82
|
+
product-train = "2.15.1"
|
|
83
|
+
registry-version = "2.15.1"
|
|
84
84
|
supported-server-versions = "2.8.0"
|
|
85
85
|
supported-server-release-baselines = { "2" = "2.8.0", "3" = "3.0.0" }
|
|
86
86
|
worker-protocol-version = "1.20"
|
|
@@ -2565,7 +2565,10 @@ class Worker:
|
|
|
2565
2565
|
or exception_type in non_retryable_types
|
|
2566
2566
|
)
|
|
2567
2567
|
retry = not non_retryable and attempt_number < max_attempts
|
|
2568
|
-
|
|
2568
|
+
# Once the list runs out, keep the final entry, as Server-scheduled
|
|
2569
|
+
# activities do (.github#219). The list already carries the
|
|
2570
|
+
# policy's maximum-interval cap.
|
|
2571
|
+
backoff_seconds = backoff[min(attempt_number, len(backoff)) - 1] if retry and backoff else 0
|
|
2569
2572
|
if (
|
|
2570
2573
|
retry and command.schedule_to_close_timeout is not None
|
|
2571
2574
|
and time.monotonic() - started_at + backoff_seconds >= command.schedule_to_close_timeout
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow.egg-info/SOURCES.txt
RENAMED
|
@@ -112,6 +112,7 @@ tests/test_history_bundle_schema2.py
|
|
|
112
112
|
tests/test_history_bundle_verify.py
|
|
113
113
|
tests/test_history_event_contract.py
|
|
114
114
|
tests/test_invocable.py
|
|
115
|
+
tests/test_local_activity_backoff.py
|
|
115
116
|
tests/test_local_failure_reporting.py
|
|
116
117
|
tests/test_message_streams.py
|
|
117
118
|
tests/test_metric_routes.py
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from unittest.mock import AsyncMock
|
|
4
|
+
|
|
5
|
+
import pytest
|
|
6
|
+
|
|
7
|
+
from durable_workflow import Client, Worker, activity
|
|
8
|
+
from durable_workflow import worker as worker_module
|
|
9
|
+
from durable_workflow.workflow import RecordLocalActivity
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
async def _run_failing_local_activity(
|
|
13
|
+
monkeypatch: pytest.MonkeyPatch, policy: dict[str, object],
|
|
14
|
+
) -> tuple[list[float], list[dict[str, object]]]:
|
|
15
|
+
slept: list[float] = []
|
|
16
|
+
|
|
17
|
+
async def record_sleep(seconds: float) -> None:
|
|
18
|
+
slept.append(seconds)
|
|
19
|
+
|
|
20
|
+
monkeypatch.setattr(worker_module.asyncio, "sleep", record_sleep)
|
|
21
|
+
|
|
22
|
+
@activity.defn(name="tests.local.always-fails")
|
|
23
|
+
async def always_fails() -> None:
|
|
24
|
+
raise RuntimeError("still failing")
|
|
25
|
+
|
|
26
|
+
async with Client("http://test", worker_token="worker") as client:
|
|
27
|
+
worker = Worker(client, task_queue="queue", activities=[always_fails])
|
|
28
|
+
worker._renew_local_workflow_lease = AsyncMock() # type: ignore[method-assign]
|
|
29
|
+
command = RecordLocalActivity("tests.local.always-fails", [], retry_policy=policy)
|
|
30
|
+
await worker._execute_local_activity(
|
|
31
|
+
{"task_id": "task", "workflow_task_attempt": 1}, command, payload_codec="avro",
|
|
32
|
+
)
|
|
33
|
+
assert command.outcome is not None
|
|
34
|
+
return slept, list(command.outcome["attempts"])
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
async def test_local_retries_repeat_the_final_backoff_entry(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
38
|
+
slept, attempts = await _run_failing_local_activity(
|
|
39
|
+
monkeypatch, {"max_attempts": 5, "backoff_seconds": [1, 2]},
|
|
40
|
+
)
|
|
41
|
+
# Before .github#219 the third and fourth retries used a zero delay.
|
|
42
|
+
assert slept == [1, 2, 2, 2]
|
|
43
|
+
assert [attempt.get("backoff_seconds") for attempt in attempts] == [1, 2, 2, 2, None]
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
async def test_local_retries_without_a_backoff_list_do_not_wait(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
47
|
+
slept, attempts = await _run_failing_local_activity(monkeypatch, {"max_attempts": 3})
|
|
48
|
+
assert slept == []
|
|
49
|
+
assert len(attempts) == 3
|
|
@@ -10,7 +10,7 @@ from unittest.mock import AsyncMock
|
|
|
10
10
|
|
|
11
11
|
import pytest
|
|
12
12
|
|
|
13
|
-
from durable_workflow import Replayer, Worker, serializer, workflow
|
|
13
|
+
from durable_workflow import Replayer, Worker, activity, serializer, workflow
|
|
14
14
|
from durable_workflow.client import PROTOCOL_VERSION, Client, WorkflowExecution, WorkflowStreamAppendItem
|
|
15
15
|
from durable_workflow.errors import (
|
|
16
16
|
DurableWorkflowError,
|
|
@@ -502,6 +502,47 @@ def _assert_matches(expected: Any, actual: Any, context: str) -> None:
|
|
|
502
502
|
assert actual == expected, f"{context} expected {expected!r}, observed {actual!r}"
|
|
503
503
|
|
|
504
504
|
|
|
505
|
+
|
|
506
|
+
def _execute_local_activity_backoff(inputs: Any) -> dict[str, Any]:
|
|
507
|
+
"""Run the real local-activity executor with an always-failing callback and
|
|
508
|
+
report the delays it waited between attempts (.github#219)."""
|
|
509
|
+
from durable_workflow import worker as worker_module
|
|
510
|
+
from durable_workflow.workflow import RecordLocalActivity
|
|
511
|
+
|
|
512
|
+
assert isinstance(inputs, list) and len(inputs) == 1 and isinstance(inputs[0], dict)
|
|
513
|
+
policy = inputs[0]["retry_policy"]
|
|
514
|
+
|
|
515
|
+
@activity.defn(name="tests.replay.local-always-fails")
|
|
516
|
+
async def always_fails() -> None:
|
|
517
|
+
raise RuntimeError("still failing")
|
|
518
|
+
|
|
519
|
+
async def run() -> dict[str, Any]:
|
|
520
|
+
slept: list[float] = []
|
|
521
|
+
original_sleep = worker_module.asyncio.sleep
|
|
522
|
+
|
|
523
|
+
async def record_sleep(seconds: float) -> None:
|
|
524
|
+
slept.append(seconds)
|
|
525
|
+
|
|
526
|
+
worker_module.asyncio.sleep = record_sleep # type: ignore[assignment]
|
|
527
|
+
try:
|
|
528
|
+
async with Client("http://regression-corpus", worker_token="worker") as client:
|
|
529
|
+
worker = Worker(client, task_queue="queue", activities=[always_fails])
|
|
530
|
+
worker._renew_local_workflow_lease = AsyncMock() # type: ignore[method-assign]
|
|
531
|
+
command = RecordLocalActivity("tests.replay.local-always-fails", [], retry_policy=policy)
|
|
532
|
+
await worker._execute_local_activity(
|
|
533
|
+
{"task_id": "task", "workflow_task_attempt": 1}, command, payload_codec="avro",
|
|
534
|
+
)
|
|
535
|
+
finally:
|
|
536
|
+
worker_module.asyncio.sleep = original_sleep # type: ignore[assignment]
|
|
537
|
+
assert command.outcome is not None
|
|
538
|
+
return {
|
|
539
|
+
"type": "local_activity_backoff",
|
|
540
|
+
"slept_seconds": slept,
|
|
541
|
+
"attempt_backoff_seconds": [attempt.get("backoff_seconds") for attempt in command.outcome["attempts"]],
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
return asyncio.run(run())
|
|
545
|
+
|
|
505
546
|
def _execute_fixture(fixture: dict[str, Any]) -> list[dict[str, Any]]:
|
|
506
547
|
assert fixture.get("fixture_schema") == FIXTURE_SCHEMA
|
|
507
548
|
assert "python" in fixture.get("bindings", [])
|
|
@@ -512,6 +553,11 @@ def _execute_fixture(fixture: dict[str, Any]) -> list[dict[str, Any]]:
|
|
|
512
553
|
assert isinstance(workflow_type, str) and workflow_type
|
|
513
554
|
if workflow_type == "sdk.observed-worker-replay":
|
|
514
555
|
return _execute_observed_worker_replay(fixture)
|
|
556
|
+
if workflow_type == "sdk.local-activity-backoff":
|
|
557
|
+
commands = [_execute_local_activity_backoff(workflow.get("input"))]
|
|
558
|
+
_assert_matches(fixture["command_sequence"], commands, f"{fixture['id']}.command_sequence")
|
|
559
|
+
_assert_matches(fixture["expected"], {"command_sequence": commands}, f"{fixture['id']}.expected")
|
|
560
|
+
return commands
|
|
515
561
|
if workflow_type in {
|
|
516
562
|
"sdk.query-task-dispatch", "sdk.generator-query-task-dispatch", "sdk.generator-side-effect-query-task-dispatch",
|
|
517
563
|
}:
|
|
@@ -735,7 +781,7 @@ def test_checked_in_replay_regression_corpus_uses_official_replayer(
|
|
|
735
781
|
assert isinstance(expected, dict) and expected
|
|
736
782
|
if workflow.get("type") in {
|
|
737
783
|
"sdk.replay-conformance-report", "sdk.query-task-dispatch", "sdk.generator-query-task-dispatch",
|
|
738
|
-
"sdk.generator-side-effect-query-task-dispatch", "sdk.observed-worker-replay",
|
|
784
|
+
"sdk.generator-side-effect-query-task-dispatch", "sdk.observed-worker-replay", "sdk.local-activity-backoff",
|
|
739
785
|
}:
|
|
740
786
|
_execute_fixture(fixture)
|
|
741
787
|
return
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_activity_process.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_cancellation_scope.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_condition_fingerprint.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_failure_reporting.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_prepared_local_activity.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_query_task_authority.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/_sticky_workflow_cache.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/auth_composition.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/external_storage.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/external_task_input.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/external_task_result.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/history_bundle_verify.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/python_conformance.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/replay_clock_math.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/replay_conformance.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow/server_compatibility.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/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
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow.egg-info/requires.txt
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/src/durable_workflow.egg-info/top_level.txt
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_cancellation_policies.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_activity_heartbeat_authority.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.15.0 → durable_workflow-2.15.1}/tests/test_business_replay_clock_child.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_business_replay_clock_parallel.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_business_replay_clock_redrive.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_remaining_time.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_scope_admission.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_scope_authoring.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_scope_boundary.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cancellation_scope_opening.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_control_plane_parity_fixtures.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cooperative_cancellation_client.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_cooperative_cancellation_worker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_docstring_cross_references.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
|
|
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
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_parallel_completion_order_replay.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.15.0 → durable_workflow-2.15.1}/tests/test_prepared_local_activity_client.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_prepared_local_activity_groups.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_prepared_local_activity_policies.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_prepared_local_activity_worker.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_publish_workflow_isolation.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.15.0 → durable_workflow-2.15.1}/tests/test_redrive_successor_evidence.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.15.0 → durable_workflow-2.15.1}/tests/test_run_cancellation_scope_replay.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_runtime_external_payload_transport.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_scoped_run_cancellation_context.py
RENAMED
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_search_attribute_replay_identity.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_standalone_activity_client.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
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_threaded_heartbeat_example.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_update_signal_condition_replay.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.15.0 → durable_workflow-2.15.1}/tests/test_worker_startup_read_budget.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_workflow_entrypoint_validation.py
RENAMED
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_workflow_handler_validation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durable_workflow-2.15.0 → durable_workflow-2.15.1}/tests/test_workflow_updates_conformance.py
RENAMED
|
File without changes
|