Skip to content

Conversation

@mjameswh
Copy link
Contributor

What was changed

  • Added Context.client and getClient() in @temporalio/activity.
    It is backed by the Worker's NativeConnection.
  • Now accept Client Interceptors to be specified on a Worker, through WorkerOptions.interceptors.client; those interceptors apply to the Client passed through activities context.
  • Added support for the Operator Service, Test Service and Health Service over NativeConnection.

@mjameswh mjameswh requested a review from a team as a code owner August 20, 2025 22:25
@mjameswh mjameswh requested a review from bergundy August 20, 2025 22:26
@mjameswh mjameswh force-pushed the nexus-cp-1 branch 2 times, most recently from 8dd27dc to d6af5a7 Compare August 20, 2025 23:20
Copy link
Contributor

@THardy98 THardy98 left a comment

Choose a reason for hiding this comment

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

Generally looks good to me. Small comment on workflow service contract test.

Big PR, the connection injector cleanup is nice. I think we could have reduced the diff by doing the workflow interceptor changes in a separate PR, but nbd.

await connection.close();
server.forceShutdown();
});

Copy link
Contributor

Choose a reason for hiding this comment

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

Do we have a corresponding test for workflow service?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it already existed.

@mjameswh
Copy link
Contributor Author

I think we could have reduced the diff by doing the workflow interceptor changes in a separate PR, but nbd.

Yeah, that's the way it originally was, but did something wrong during a git rebase. I'll split the PR, just for history clarity.

@mjameswh mjameswh merged commit 1df75b0 into main Aug 21, 2025
20 of 23 checks passed
@mjameswh mjameswh deleted the nexus-cp-1 branch August 21, 2025 16:11
@mjameswh mjameswh mentioned this pull request Aug 26, 2025
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.

3 participants