Skip to content

Support Workflow Update as a Nexus Operation#2194

Open
Evanthx wants to merge 3 commits into
mainfrom
nexus-update-workflow
Open

Support Workflow Update as a Nexus Operation#2194
Evanthx wants to merge 3 commits into
mainfrom
nexus-update-workflow

Conversation

@Evanthx

@Evanthx Evanthx commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

What was changed

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@Evanthx Evanthx requested a review from a team as a code owner July 10, 2026 22:28
@Evanthx Evanthx force-pushed the nexus-update-workflow branch from fc51ac9 to c219b68 Compare July 10, 2026 23:39
@Evanthx Evanthx force-pushed the nexus-update-workflow branch from 52d2045 to 121ff88 Compare July 13, 2026 23:21
// requires server-side support for delivering Workflow Update completion callbacks to Nexus, which
// the bundled ephemeral server (Temporal 1.31.2) does not yet provide (workflow-run completion
// callbacks do work there). Enable once the test server delivers Update completion callbacks.
test.skip('UpdateWorkflow Nexus operation - pending update completes asynchronously via callback', async (t) => {

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.

Same comment as dotnet, this should be enabled

case OperationTokenType.UPDATE_WORKFLOW: {
let updateToken;
try {
updateToken = loadUpdateWorkflowOperationToken(token);

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.

Why are we reparsing the token, we already have opToken?

/**
* The Run ID extracted from the operation token. May be empty if the run was not pinned.
*/
readonly runId: string;

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.

The run ID should be know here since the server returns the run ID on the update response

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