Skip to content

Updated for Nexus SDK Ergonomics - Not ready to be merged yet!! - #5203

Open
Evanthx wants to merge 1 commit into
mainfrom
nexus-v2-2
Open

Updated for Nexus SDK Ergonomics - Not ready to be merged yet!!#5203
Evanthx wants to merge 1 commit into
mainfrom
nexus-v2-2

Conversation

@Evanthx

@Evanthx Evanthx commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

This adds and updates some information about Nexus SDK ergonomics.

Note for documentation reviewers - do not review or merge yet!

@Evanthx
Evanthx requested a review from a team as a code owner August 29, 2026 03:50
Copilot AI balanced review requested due to automatic review settings August 29, 2026 03:50
@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview Aug 29, 2026 3:50am

Request Review

@Evanthx Evanthx added the do-not-merge What it says on the label label Aug 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

Copilot AI 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.

🟡 Changes recommended

The Java guide duplicates existing documentation, lacks a runnable generated-contract setup, and leaves related Nexus pages inconsistent.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds prerelease Nexus SDK ergonomics documentation and a Java implementation guide.

Changes:

  • Documents the unified Temporal Operation Handler, code generation, and Activity-backed Operations.
  • Adds a Java prerelease developer guide.
  • Adds the new pages to Nexus navigation.
File summaries
File Description
sidebars.js Registers and groups the new pages.
docs/encyclopedia/nexus/temporal-operation-handler.mdx Explains the unified handler API.
docs/encyclopedia/nexus/nexus-standalone-activity.mdx Describes Activity-backed Operations.
docs/encyclopedia/nexus/nexus-code-generator.mdx Introduces generated Nexus contracts.
docs/develop/java/nexus/developer-experience.mdx Provides Java usage and deployment guidance.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 4
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +4 to +6
title: Nexus Developer Experience - Java SDK feature guide
sidebar_label: Nexus Developer Experience
description: Build a Nexus Service in Java with the pre-release APIs - the Temporal Operation Handler, Activity-backed Operations, and a generated Service contract.
APIs are experimental and may be subject to backwards-incompatible changes.
</ReleaseNoteHeader>

Temporal has unified the Workflow handler and the synchronous operation handler into a single handler, and added the ability to back an Operation with a [Standalone Activity](/nexus/standalone-activity).
Comment on lines +19 to +20
The Nexus Code Generator, [`nexgen`](https://github.com/temporalio/nex-gen), turns one schema into client code for Go, Java, Python, and TypeScript.
Both sides of a [Nexus Service](/nexus/services) generate from the same file, so neither hand-writes the types and neither can drift from the contract.
Comment on lines +95 to +97
You can hand-write that package, but the preferred way is to generate it with the [Nexus Code Generator](https://github.com/temporalio/nex-gen).
You write the contract once as a JSON definition file and run `nexgen` against it, and it emits the typed models,
runtime validators, and the Service definition itself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge What it says on the label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants