sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

Populate Request Deadline in Nexus Operation Contexts

Open VegetarianOrc opened this issue 10 months ago • 0 comments

Note: This PR can't be merged until the corresponding Core PR is merged and a new nexus-rpc/sdk-python version has been released.

What was changed

  • Populate Nexus request deadline into operation contexts when present on the task received from Core.

Why?

Operation handlers should be informed of the deadline to process the start or cancel request before the task is canceled.

Checklist

  1. How was this tested:

Tests added confirming the presence of the deadline in StartOperationContext, CancelOperationContext and WorkflowRunOperationContext

VegetarianOrc avatar Jan 15 '26 21:01 VegetarianOrc