Skip to content

Add a Nexus serialization context sample - #540

Open
litlep-nibbyt wants to merge 9 commits into
mainfrom
codex/typescript-nexus-serialization-context
Open

litlep-nibbyt wants to merge 9 commits into
mainfrom
codex/typescript-nexus-serialization-context

Conversation

@litlep-nibbyt

Copy link
Copy Markdown
Contributor

Add a Nexus serialization context sample with synchronous and workflow-backed asynchronous operations through four endpoints.

Two handler workers each serve two endpoints with distinct AES-GCM keys. One compresses before encrypting; the other encrypts only. The caller uses a separate key for its workflow input and final result. Backing workflow inputs use the handler's key 1, while async results use the endpoint's key and compression.

The codec uses the SDK's per-call context argument and keeps shared configuration read-only. The README follows the Java walkthrough, and CI runs the sample tests with the pinned server build.

Validation: eight sample tests, root build/lint/format, and all 22 selected project test commands pass locally. The README walkthrough and Java interoperability in both directions pass.

Java counterpart: merged Java sample (PR #815).

@litlep-nibbyt
litlep-nibbyt marked this pull request as ready for review November 20, 2026 21:33
@litlep-nibbyt
litlep-nibbyt requested review from a team as code owners November 20, 2026 21:33
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.

2 participants