Skip to content

Add support for namespace description - #107

Merged
jeri-temporal merged 4 commits into
mainfrom
daehan/ns-desc
Sep 1, 2026
Merged

Add support for namespace description#107
jeri-temporal merged 4 commits into
mainfrom
daehan/ns-desc

Conversation

@daehan-temporal

@daehan-temporal daehan-temporal commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

What was changed

  • Added description field to
temporal cloud namespace create
  • Added namespace description subcommand
temporal cloud namespace description get
temporal cloud namespace description set

Why?

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

Can actually merge once temporalio/cloud-sdk-go#64 lands (sdk-go v0.18)


Note

Low Risk
Additive CLI and SDK bump; set follows the same get-update-async pattern as other namespace field commands with confirmation prompts.

Overview
Adds namespace description support across Temporal Cloud namespace commands, backed by a bump of go.temporal.io/cloud-sdk from v0.16.0 to v0.18.0.

temporal cloud namespace create gains an optional --description flag (up to 255 printable ASCII characters plus whitespace), wired through CreateNamespace into NamespaceSpec.Description. Namespace list output now includes Description in spec fields.

A new temporal cloud namespace description command group provides get (structured JSON of namespace + description) and set (clone spec, prompt via PromptApply, UpdateNamespace with async polling, optional resource version / async operation id, empty --value clears the field).

Command definitions are declared in commands.yml with generated cobra wiring in commands.gen.go; behavior lives in commands.namespace.description.go with unit tests for create and description get/set.

Reviewed by Cursor Bugbot for commit 5c32ddb. Bugbot is set up for automated code reviews on this repo. Configure here.

@daehan-temporal daehan-temporal self-assigned this Aug 31, 2026
@daehan-temporal
daehan-temporal requested a review from a team as a code owner August 31, 2026 22:23
@daehan-temporal
daehan-temporal marked this pull request as draft August 31, 2026 22:23
khisakuni
khisakuni previously approved these changes Sep 1, 2026

@khisakuni khisakuni left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just a nit on the helper text. I think it's sufficient to say it's the description of the namespace and I think saying it describes the purpose of the namespace is maybe presumptuous since users can put whatever they want there.

Comment thread temporalcloudcli/commands.yml Outdated
Comment thread temporalcloudcli/commands.yml Outdated
Comment thread temporalcloudcli/commands.yml Outdated
@jeri-temporal
jeri-temporal enabled auto-merge (squash) September 1, 2026 20:35
@jeri-temporal
jeri-temporal merged commit 67028d3 into main Sep 1, 2026
8 checks passed
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