Skip to content

Adding QueryWorkflowResponse Link for Nexus - #1723

Merged
JoshuaFrenchwood merged 4 commits into
mainfrom
frenchwood/add-link-to-query-workflow-response
Aug 24, 2026
Merged

Adding QueryWorkflowResponse Link for Nexus#1723
JoshuaFrenchwood merged 4 commits into
mainfrom
frenchwood/add-link-to-query-workflow-response

Conversation

@JoshuaFrenchwood

Copy link
Copy Markdown
Contributor

What was changed

Adding QueryWorkflowResponse.Link for Nexus.

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@Evanthx Evanthx 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

@JoshuaFrenchwood
JoshuaFrenchwood force-pushed the frenchwood/add-link-to-query-workflow-response branch from f6c76a4 to 0d479a2 Compare August 21, 2026 15:21
@JoshuaFrenchwood
JoshuaFrenchwood marked this pull request as ready for review August 21, 2026 15:49
@JoshuaFrenchwood
JoshuaFrenchwood requested a review from a team as a code owner August 21, 2026 15:49
@JoshuaFrenchwood
JoshuaFrenchwood force-pushed the frenchwood/add-link-to-query-workflow-response branch 3 times, most recently from 1b6ca71 to 2e30302 Compare August 24, 2026 17:45
Comment thread temporalio/client/_impl.py Outdated
Comment on lines +439 to +441
nexus_ctx = temporalio.nexus._operation_context._try_start_operation_context()
if nexus_ctx is not None and resp.HasField("link"):
nexus_ctx._add_response_link(resp.link)

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.

This is right, but let's move this logic to follow the pattern recently introduced by putting this into _operation_context.py

See #1771 for an example

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated, thanks

@JoshuaFrenchwood
JoshuaFrenchwood force-pushed the frenchwood/add-link-to-query-workflow-response branch from f9309ec to c93e5f6 Compare August 24, 2026 19:35
@JoshuaFrenchwood
JoshuaFrenchwood merged commit 75f7c92 into main Aug 24, 2026
31 of 33 checks passed
@JoshuaFrenchwood
JoshuaFrenchwood deleted the frenchwood/add-link-to-query-workflow-response branch August 24, 2026 20:35
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.

4 participants