Skip to content

Expose Nexus Endpoint in a Nexus Operation Handler#643

Merged
Quinn-With-Two-Ns merged 1 commit intotemporalio:mainfrom
Quinn-With-Two-Ns:issue-642
Apr 14, 2026
Merged

Expose Nexus Endpoint in a Nexus Operation Handler#643
Quinn-With-Two-Ns merged 1 commit intotemporalio:mainfrom
Quinn-With-Two-Ns:issue-642

Conversation

@Quinn-With-Two-Ns
Copy link
Copy Markdown
Contributor

@Quinn-With-Two-Ns Quinn-With-Two-Ns commented Apr 13, 2026

What was changed

Expose the Nexus Endpoint to the SDK.

Why?

So the handler knows what endpoint the request originally came from for visibility and per endpoint encryption

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

closes #642


Note

Medium Risk
Adds a new endpoint field to the Nexus bridge task proto and threads it through Nexus worker execution context; while additive, it touches the poll/dispatch path and generated proto code, so regressions could affect Nexus task handling.

Overview
Exposes the Nexus endpoint name to operation handlers by adding Endpoint to NexusOperationInfo and populating it in NexusWorker when creating NexusOperationExecutionContext for both start and cancel requests.

Updates the bridge NexusTask proto (Nexus.cs) to carry an endpoint string alongside the polled task, and adds a unit test asserting NexusOperationExecutionContext.Current.Info.Endpoint matches the invoked endpoint.

Reviewed by Cursor Bugbot for commit fee11fe. Bugbot is set up for automated code reviews on this repo. Configure here.

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner April 13, 2026 15:39
@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 6bd1309 into temporalio:main Apr 14, 2026
11 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.

[Feature Request] Expose Nexus Endpoint in a Nexus Operation Handler

2 participants