Skip to content

Nexus V2 Documentation - don't review or merge!! - #5068

Open
Evanthx wants to merge 21 commits into
mainfrom
nexus-v2
Open

Evanthx wants to merge 21 commits into
mainfrom
nexus-v2

Conversation

@Evanthx

@Evanthx Evanthx commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Note for documentation reviewers - do not review or merge. I am sending this to some internal folks as we are discussing what we want to do.

Microservice Development Walkthrough is main part of this PR.

Matching sample Java code: temporalio/samples-java#793

┆Attachments: EDU-6917 Nexus V2 Documentation - don't review or merge!!

@Evanthx
Evanthx requested a review from a team as a code owner August 7, 2026 22:16
@vercel

vercel Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
temporal-documentation Ready Ready Preview Sep 11, 2026 10:28pm UTC

Request Review

@github-actions

github-actions Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

✅ Docs build passed

@@ -0,0 +1,254 @@
---
id: nexus-standalone-activity
title: Nexus Standalone Activity

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.

Reading this gave me an interesting thought . Should this doc live under SAA rather than under Nexus. The PRD names this feature is Standalone Activity: Start from Nexus, which is actually a clearer name for this. If we leave here the name really should be something like Standalone Activity Started By Nexus

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I had a lot of similar thoughts about naming confusion. I'm not at all sure!

Comment thread docs/encyclopedia/nexus/nexus-standalone-activity.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-standalone-activity.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-standalone-activity.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-standalone-activity.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-standalone-activity.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-standalone-activity.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-standalone-activity.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-sdk-v2.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-sdk-v2.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-sdk-v2.mdx Outdated
Comment thread docs/develop/java/nexus/development-walkthrough/index.mdx Outdated
Comment thread docs/develop/java/nexus/development-walkthrough/index.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-standalone-activity.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-standalone-activity.mdx Outdated
Comment thread docs/develop/java/nexus/development-walkthrough/index.mdx Outdated
Comment thread docs/develop/java/nexus/development-walkthrough/index.mdx Outdated
Comment thread docs/develop/java/nexus/development-walkthrough/index.mdx Outdated
Comment thread docs/develop/java/nexus/development-walkthrough/define-the-data-contract.mdx Outdated
Comment thread docs/encyclopedia/nexus/nexus-sdk-v2.mdx Outdated
Comment thread docs/develop/java/nexus/development-walkthrough/call-the-service.mdx Outdated
Comment thread docs/develop/java/nexus/development-walkthrough/index.mdx Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 500d2b9c14

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread sidebars.js
Comment on lines +429 to +432
'develop/java/nexus/temporal-operation-handler',
'develop/java/nexus/client-code-generator',
'develop/java/nexus/activity-backed-operations',
'develop/java/nexus/development-walkthrough/index',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Link new pages from each SDK Nexus index

The sidebar exposes these new Nexus guides, but the corresponding landing pages still stop after Quickstart, Feature guide, and Standalone Operations. Readers who enter through /develop/{dotnet,go,java,python,typescript}/nexus therefore miss the new handler, Activity-backed Operation, generator, and Java walkthrough content. Add the appropriate links to docs/develop/dotnet/nexus/index.mdx, docs/develop/go/nexus/index.mdx, docs/develop/java/nexus/index.mdx, docs/develop/python/nexus/index.mdx, and docs/develop/typescript/nexus/index.mdx.

AGENTS.md reference: AGENTS.md:L240-L245

Useful? React with 👍 / 👎.

Comment on lines +237 to +241
## Dates, times, and durations

TypeScript's `--date-time-types` is the only place you choose how a date or time is represented. Elsewhere the generator decides: Java uses `java.time`, Python `datetime` and `timedelta`, and Go `time.Time` and `time.Duration`. Two cases hand you the wire string to work with instead of a date type — `format: time` in Java, and every date and time format under TypeScript's default `string` mode.

Whichever type you get, every language writes the same bytes. Dates and times use [RFC 3339](https://www.rfc-editor.org/rfc/rfc3339), which is a profile of [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601). ISO 8601 permits many optional spellings of the same instant, and RFC 3339 narrows them to one so two systems cannot read a timestamp differently. RFC 3339 specifies timestamps rather than durations, so durations follow ISO 8601.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Split the cross-language generator reference from SDK guides

This Java-specific how-to embeds cross-language schema, naming, date/time, validation, and feature-reference material; the Go, Python, and TypeScript copies do the same. Each guide has 11 top-level headings and 15 total headings, so the language-specific task is buried in a page at the stated split threshold. Move the shared generator reference material into docs/encyclopedia/nexus/nexus-client-code-generator.mdx (or a dedicated shared reference) and retain only Java-specific installation, generation, and usage steps here.

AGENTS.md reference: AGENTS.md:L249-L253

Useful? React with 👍 / 👎.

Back an Operation with a **Workflow** when the work has more than one step, needs to wait for something, needs to receive [messages](/sending-messages), or needs durable intermediate state.
For example, an approval that blocks for a human decision is a Workflow, not an Activity.

Sample code: `{code not yet live}`

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Replace the Activity-backed Operation sample placeholder

This literal placeholder is published on every Activity-backed Operations guide (docs/develop/{dotnet,go,java,python,typescript}/nexus/activity-backed-operations.mdx), leaving readers who reach the promised sample without code or a source link. Add the live sample link or runnable sample before publishing these pages, or defer the guides until that material is available.

AGENTS.md reference: AGENTS.md:L90-L93

Useful? React with 👍 / 👎.

This branch was successfully deployed

1 active deployment
Preview — 500d2b9c Deployed Sep 11, 2026 by vercel[bot]
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.

5 participants