Skip to content

Conversation

dandavison
Copy link
Contributor

Small improvements to descriptions of the services. E.g.

  • OperatorService docstrings were falsely claiming that it included namespace registration
  • WorkflowService was failing to document the diversity of APIs that it now supports

@dandavison dandavison requested review from a team as code owners July 22, 2025 15:56
// APIs in this file could be not compatible with Temporal Cloud, hence it's usage in SDKs should be limited by
// designated APIs that clearly state that they shouldn't be used by the main Application (Workflows & Activities) framework.
// The OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to
// perform administrative functions. APIs in this file may be incompatible with Temporal Cloud, hence its
Copy link
Contributor

Choose a reason for hiding this comment

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

APIs in this file may be incompatible with Temporal Cloud

Not something you changed, but wondering… Is there even a single API in OperatorService that can be used on Cloud? I don't think so. If none, we should consider making this description more specific.

// designated APIs that clearly state that they shouldn't be used by the main Application (Workflows & Activities) framework.
// The OperatorService API defines how Temporal SDKs and other clients interact with the Temporal server to
// perform administrative functions. APIs in this file may be incompatible with Temporal Cloud, hence its
// usage in SDKs should be limited to APIs that clearly state that they shouldn't be used by the main
Copy link
Member

@cretz cretz Jul 22, 2025

Choose a reason for hiding this comment

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

usage in SDKs should be limited to APIs that clearly state that they shouldn't be used

Not following what you are meaning here. Is this documentation/notes for the SDK team? It was a bit confusing to read at first putting myself in a user's shoes.

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