Skip to content

Add support for more timeouts to Nexus operations#390

Open
Quinn-With-Two-Ns wants to merge 1 commit intotemporalio:mainfrom
Quinn-With-Two-Ns:SDK-4956
Open

Add support for more timeouts to Nexus operations#390
Quinn-With-Two-Ns wants to merge 1 commit intotemporalio:mainfrom
Quinn-With-Two-Ns:SDK-4956

Conversation

@Quinn-With-Two-Ns
Copy link

@Quinn-With-Two-Ns Quinn-With-Two-Ns commented Feb 18, 2026

Add support for more timeouts to Nexus operations

closes #389


Note

Medium Risk
Touches workflow command construction for Nexus operations, so mismapped timeout fields could change runtime behavior; coverage is improved with explicit timeout-type tests.

Overview
Adds support for Nexus operation schedule_to_start_timeout and start_to_close_timeout end-to-end: new keyword args on Workflow::NexusClient#start_operation/#execute_operation, plumbed through StartNexusOperationInput into the schedule_nexus_operation workflow command.

Updates type signatures (.rbs) and expands Nexus workflow tests to assert the new timeout types are raised (SCHEDULE_TO_START when no worker picks up the task; START_TO_CLOSE when an async operation starts but never completes). CI/tests also pin the local Temporal dev server version via TEMPORAL_DEV_SERVER_VERSION.

Written by Cursor Bugbot for commit b54aa03. This will update automatically on new commits. Configure here.

@Quinn-With-Two-Ns Quinn-With-Two-Ns marked this pull request as ready for review February 18, 2026 08:10
@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner February 18, 2026 08:10
if target_host.empty?
@server = Temporalio::Testing::WorkflowEnvironment.start_local(
logger: Logger.new($stdout),
dev_server_download_version: ENV.fetch('TEMPORAL_DEV_SERVER_VERSION', 'default'),
Copy link
Member

@cretz cretz Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would rather hardcode this if it's needed for tests to pass rather than have callers have to set an env var for tests to pass. We do this in other SDKs as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add support for more timeouts to Nexus operations

2 participants