Skip to content

nexus security clarification - add limitation warning to Option 3 encryption pattern#4626

Open
jsundai wants to merge 4 commits into
mainfrom
nexus-security-warn-typed-ops-wrapper-incompatibility
Open

nexus security clarification - add limitation warning to Option 3 encryption pattern#4626
jsundai wants to merge 4 commits into
mainfrom
nexus-security-warn-typed-ops-wrapper-incompatibility

Conversation

@jsundai
Copy link
Copy Markdown
Contributor

@jsundai jsundai commented May 28, 2026

What does this PR do?

warn about wrapper type incompatibility with typed operations

Notes to reviewers

┆Attachments: EDU-6438 nexus security clarification

@jsundai jsundai requested a review from a team as a code owner May 28, 2026 16:11
@vercel
Copy link
Copy Markdown

vercel Bot commented May 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment May 29, 2026 5:32pm

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 28, 2026

📖 Docs PR preview links

@jsundai jsundai changed the title nexus security clarification nexus security clarification - wrapper type incompatibility with typed operations May 29, 2026
@jsundai jsundai changed the title nexus security clarification - wrapper type incompatibility with typed operations nexus security clarification - add limitation warning to Option 3 encryption pattern May 29, 2026
Comment thread docs/encyclopedia/nexus/nexus-security.mdx Outdated

This approach only works when the operation is passed as a string name.
For typed operations, pass the Nexus endpoint info through the workflow context instead of the wrapped input.
This requires a Nexus workflow outbound interceptor and a context-aware codec converter, and does not work with synchronous operations.
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.

does not work with synchronous operations

Is this true? I don't have enough knowledge to know for sure, will need to get someone from the Nexus team to confirm

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.

I don't think we have a concept of a context-aware codec converter so I don't think this section is correct? Where did this information come from?

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.

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.

AH but that requires a whole customer DataConverter, not just a context-aware codec converter.

Co-authored-by: Xinyi Chen <xinyi.chen@temporal.io>
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