Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/durable_workflow/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
TYPED_SEARCH_ATTRIBUTES_CAPABILITY,
DURABLE_SELECTION_CAPABILITY,
LOCAL_ACTIVITIES_CAPABILITY,
"workflow_entry_arguments_validation",
)

_WORKFLOW_WORK_TASK_KINDS = ("workflow", "update_validation")
Expand Down
4 changes: 4 additions & 0 deletions tests/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ async def test_register(self, mock_client: AsyncMock) -> None:
"typed_search_attributes",
DURABLE_SELECTION_CAPABILITY,
"local_activities",
"workflow_entry_arguments_validation",
"query_tasks",
MESSAGE_STREAMS_CAPABILITY,
"worker_sessions",
Expand Down Expand Up @@ -577,6 +578,7 @@ def run(self, ctx): # type: ignore[no-untyped-def]
TYPED_SEARCH_ATTRIBUTES_CAPABILITY,
DURABLE_SELECTION_CAPABILITY,
"local_activities",
"workflow_entry_arguments_validation",
"query_tasks",
WORKFLOW_UPDATES_CAPABILITY,
MESSAGE_STREAMS_CAPABILITY,
Expand Down Expand Up @@ -664,6 +666,7 @@ def run(self, ctx): # type: ignore[no-untyped-def]
TYPED_SEARCH_ATTRIBUTES_CAPABILITY,
DURABLE_SELECTION_CAPABILITY,
"local_activities",
"workflow_entry_arguments_validation",
"query_tasks",
UPDATE_VALIDATION_TASKS_CAPABILITY,
WORKFLOW_UPDATES_CAPABILITY,
Expand Down Expand Up @@ -774,6 +777,7 @@ async def test_register_keeps_baseline_capabilities_when_server_does_not_support
TYPED_SEARCH_ATTRIBUTES_CAPABILITY,
DURABLE_SELECTION_CAPABILITY,
"local_activities",
"workflow_entry_arguments_validation",
MESSAGE_STREAMS_CAPABILITY,
"worker_sessions",
]
Expand Down
Loading