Skip to content

Fix Standalone Activities/Operations doc bugs: RunID optionality and List Filter status field - #5296

Open
Duncanma wants to merge 1 commit into
mainfrom
duncan/standalone-activities-docs-bugs-90c5ac
Open

Fix Standalone Activities/Operations doc bugs: RunID optionality and List Filter status field#5296
Duncanma wants to merge 1 commit into
mainfrom
duncan/standalone-activities-docs-bugs-90c5ac

Conversation

@Duncanma

@Duncanma Duncanma commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Two bugs flagged by Codex in the Go Standalone Activities guide, verified against the Go SDK and Temporal Server source, plus the same status-field bug found in sibling pages while verifying.

  • RunID incorrectly documented as required. standalone-activities.mdx said GetActivityHandle requires both ActivityID and RunID. Per ClientGetActivityHandleOptions in sdk-go, RunID is optional — an empty value targets the latest Activity Execution with that Activity Id. Other language guides (e.g. Java) already document this correctly.
  • Unsupported Status field in a List Filter example. The same page's ListActivities example used Status = 'Running', but the registered visibility search attribute is ExecutionStatus (see StatusSearchAttribute in chasm/lib/activity/activity.go and sadefs.ExecutionStatus in the server). Status isn't a valid field name for this query.

While verifying the second bug, the identical Status → should-be-ExecutionStatus mistake turned up in every other Standalone Activities guide and the related Standalone Operations (Nexus) guides that share this example, so those are fixed too:

  • docs/develop/python/activities/standalone-activities.mdx
  • docs/develop/typescript/activities/standalone-activities.mdx
  • docs/develop/java/activities/standalone-activities.mdx
  • docs/develop/dotnet/activities/standalone-activities.mdx
  • docs/develop/ruby/activities/standalone-activities.mdx
  • docs/guides/celery-to-standalone-activity.mdx
  • docs/develop/go/nexus/standalone-operations.mdx
  • docs/develop/python/nexus/standalone-operations.mdx
  • docs/develop/typescript/nexus/standalone-operations.mdx
  • docs/develop/dotnet/nexus/standalone-operations.mdx

(Java's Nexus guide already used ExecutionStatus correctly.)

Test plan

  • vale --config .vale-ci.ini on all touched files: 0 errors/warnings/suggestions
  • yarn build / yarn check-links (CI)

…List Filter status field

The Go Standalone Activities guide said GetActivityHandle requires both
ActivityID and RunID, but RunID is optional in the SDK: an empty RunID
targets the latest Activity Execution with that Activity Id.

The Go guide's List Filter example also used the visibility attribute
`Status`, which isn't registered; the correct attribute is
`ExecutionStatus` (per go.temporal.io/sdk and the Temporal Server's
search attribute definitions). The same `Status` mistake was copied
into the Standalone Activities guides for Python, TypeScript, Java,
.NET, and Ruby, the Celery migration guide, and the Standalone
Operations (Nexus) guides for Go, Python, TypeScript, and .NET.
@Duncanma
Duncanma requested a review from a team as a code owner September 10, 2026 15:42
@vercel

vercel Bot commented Sep 10, 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 10, 2026 3:44pm UTC

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

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.

1 participant