Skip to content

Fix workflow update JSON result output#1011

Open
arjunrawal1 wants to merge 1 commit intotemporalio:mainfrom
arjunrawal1:arjun/fix-workflow-update-json-output
Open

Fix workflow update JSON result output#1011
arjunrawal1 wants to merge 1 commit intotemporalio:mainfrom
arjunrawal1:arjun/fix-workflow-update-json-output

Conversation

@arjunrawal1
Copy link
Copy Markdown

What changed

Fixes workflow update JSON output so update results preserve raw payload details when --no-json-shorthand-payloads is used. Also emits structured JSON failure details for workflow update execute -o json when an update fails with an application error.

Closes #952.

Testing

  • go test ./internal/temporalcli -run 'TestSharedServerSuite/TestWorkflow_Update_Result'\n- go test ./cmd/temporal

@arjunrawal1 arjunrawal1 requested a review from a team as a code owner April 29, 2026 05:57
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.

[Bug] Fetching workflow update outcome yields incorrect JSON output in result and error cases

1 participant