From 2c5d00185efbf594d2e21ef86c0e40084b08901b Mon Sep 17 00:00:00 2001 From: Dan Plyukhin Date: Fri, 28 Aug 2026 11:39:01 -0500 Subject: [PATCH 1/2] Document defaults in workflow-service.wit --- nexus/workflow-service.wit | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/nexus/workflow-service.wit b/nexus/workflow-service.wit index 5ae3814e6..b6f7f0a13 100644 --- a/nexus/workflow-service.wit +++ b/nexus/workflow-service.wit @@ -7,7 +7,6 @@ world system { /// @nexus.endpoint "__temporal_system" /// @nexus.service-name "temporal.api.workflowservice.v1.WorkflowService" /// @nexus.namespace dotnet="Temporalio.Workflows" -/// @nexus.operations-class dotnet="Workflow" /// @nexus.delay-load-temporalio-workflow /// @nexus.experimental interface workflow-service { @@ -37,9 +36,10 @@ interface workflow-service { /// python="Workflow type name or callable identifying the workflow to start." /// typescript="Workflow type name or workflow function identifying the workflow to start." /// dotnet="Workflow type name or workflow expression identifying the workflow to start." + /// go="Workflow function identifying the workflow to start." /// @nexus.proto-field "workflow_type" workflow: workflow-function, - /// @nexus.doc "Unique identifier for the workflow execution." + /// @nexus.doc "Unique identifier for the workflow execution. Must be nonempty." /// @nexus.proto-field "workflow_id" id: string, /// @nexus.doc "Task queue to run the workflow on." @@ -50,14 +50,17 @@ interface workflow-service { /// dotnet="Signal name or signal expression to send with the start request." /// @nexus.proto-field "signal_name" signal: signal-function, - /// @nexus.doc "Total workflow execution timeout, including retries and continue-as-new." + /// @nexus.doc "Total workflow execution timeout, including retries and continue-as-new. Defaults to unlimited." /// @nexus.proto-field "workflow_execution_timeout" + /// @nexus.name go="WorkflowExecutionTimeout" execution-timeout: option, - /// @nexus.doc "Timeout of a single workflow run." + /// @nexus.doc "Timeout of a single workflow run. Defaults to the workflow execution timeout." /// @nexus.proto-field "workflow_run_timeout" + /// @nexus.name go="WorkflowRunTimeout" run-timeout: option, - /// @nexus.doc "Timeout of a single workflow task." + /// @nexus.doc "Timeout of a single workflow task. Defaults to 10 seconds." /// @nexus.proto-field "workflow_task_timeout" + /// @nexus.name go="WorkflowTaskTimeout" task-timeout: option, /// @nexus.omit identity: placeholder, @@ -67,7 +70,7 @@ interface workflow-service { /// @nexus.proto-field "workflow_id_reuse_policy" /// @nexus.default "allow-duplicate" id-reuse-policy: workflow-id-reuse-policy, - /// @nexus.doc "Behavior when a workflow is currently running with the same ID. Set to use-existing for idempotent deduplication on workflow ID. Cannot be set if id-reuse-policy is terminate-if-running." + /// @nexus.doc "Behavior when a workflow is currently running with the same ID. Set to use-existing for idempotent deduplication on workflow ID. Cannot be set if id-reuse-policy is terminate-if-running. Defaults to use-existing." /// @nexus.proto-field "workflow_id_conflict_policy" id-conflict-policy: option, /// @nexus.doc "Retry policy for the workflow." From 93eeb8076164ae8bf6e9cfbce6f8736c73f89706 Mon Sep 17 00:00:00 2001 From: Dan Plyukhin Date: Fri, 28 Aug 2026 14:00:18 -0500 Subject: [PATCH 2/2] Reinstate dotnet operations class in workflow-service.wit --- nexus/workflow-service.wit | 1 + 1 file changed, 1 insertion(+) diff --git a/nexus/workflow-service.wit b/nexus/workflow-service.wit index b6f7f0a13..2d5528026 100644 --- a/nexus/workflow-service.wit +++ b/nexus/workflow-service.wit @@ -7,6 +7,7 @@ world system { /// @nexus.endpoint "__temporal_system" /// @nexus.service-name "temporal.api.workflowservice.v1.WorkflowService" /// @nexus.namespace dotnet="Temporalio.Workflows" +/// @nexus.operations-class dotnet="Workflow" /// @nexus.delay-load-temporalio-workflow /// @nexus.experimental interface workflow-service {