Skip to content

Fix time skipping for dotnet SDK#2805

Merged
Quinn-With-Two-Ns merged 4 commits intotemporalio:masterfrom
Quinn-With-Two-Ns:time-skipping-test-server-nexus-dotnet-fix
Mar 17, 2026
Merged

Fix time skipping for dotnet SDK#2805
Quinn-With-Two-Ns merged 4 commits intotemporalio:masterfrom
Quinn-With-Two-Ns:time-skipping-test-server-nexus-dotnet-fix

Conversation

@Quinn-With-Two-Ns
Copy link
Contributor

@Quinn-With-Two-Ns Quinn-With-Two-Ns commented Mar 12, 2026

Fix time skipping for dotnet SDK. Fix some Graal config and fix some issues with Nexus operation cancellation.


Note

Medium Risk
Touches test-server workflow mutable state and Nexus task handling, including history event emission and timeout behavior; bugs here can change determinism of tests and time-skipping behavior.

Overview
Improves Nexus operation cancellation behavior in the test server by persisting cancelRequestedEventId after an operation is removed, emitting a new EVENT_TYPE_NEXUS_OPERATION_CANCEL_REQUEST_FAILED history event on cancel-handler failure, and ensuring cancel-ack now schedules a workflow task so SDKs can observe the completion event.

Also hardens Nexus operation lifecycle edge cases by skipping duplicate startNexusOperation calls, avoiding request-timeout handling once an operation is STARTED, and preserving handler error messages when converting legacy HandlerError to Failure. Updates GraalVM reachability metadata to rely on allDeclaredMethods for several protobuf types, and adds functional tests covering the new/adjusted Nexus behaviors.

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

@Quinn-With-Two-Ns Quinn-With-Two-Ns force-pushed the time-skipping-test-server-nexus-dotnet-fix branch from 4c39801 to bc6bb16 Compare March 12, 2026 18:43
@Quinn-With-Two-Ns Quinn-With-Two-Ns marked this pull request as ready for review March 16, 2026 18:28
@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner March 16, 2026 18:28
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1d3c13c184

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Quinn-With-Two-Ns Quinn-With-Two-Ns force-pushed the time-skipping-test-server-nexus-dotnet-fix branch from 8c01c0c to 4edb110 Compare March 17, 2026 16:38
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit fb2defd into temporalio:master Mar 17, 2026
16 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