Skip to content

Fix flaky test NexusWorkflowTest.testNexusOperationTimeout_AfterStart#2908

Merged
maciejdudko merged 1 commit into
temporalio:masterfrom
maciejdudko:fix-testNexusOperationTimeout_AfterStart
Jun 10, 2026
Merged

Fix flaky test NexusWorkflowTest.testNexusOperationTimeout_AfterStart#2908
maciejdudko merged 1 commit into
temporalio:masterfrom
maciejdudko:fix-testNexusOperationTimeout_AfterStart

Conversation

@maciejdudko

Copy link
Copy Markdown
Contributor

What was changed

  • Changed NexusWorkflowTest.testNexusOperationTimeout_AfterStart to handle Nexus operation timeout before operation start and to use larger timeout.
  • Bumped CLI version in CI to v1.7.1-standalone-nexus-operations

Why?

Server has introduced small regression in handling of very short schedule-to-close timeouts for Nexus operations, which exposed a bug in this test - it only handled the case where the operation starts successfully and only times out later. It didn't handle the case where the timeout happened before the operation starts, but we have no way to control whether timeout happens before or after start.

The new CLI version is needed by several pending PRs, and contains the regression. The version was bumped here so we can validate the fixed test against the new server version.

@maciejdudko maciejdudko requested a review from a team as a code owner June 10, 2026 19:30

@mjameswh mjameswh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@maciejdudko maciejdudko enabled auto-merge (squash) June 10, 2026 19:48
@maciejdudko maciejdudko merged commit 62a7f08 into temporalio:master Jun 10, 2026
36 of 38 checks passed
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.

2 participants