Skip to content

Show namespace capabilities in operator namespace describe text output - #1224

Open
vjymisal0 wants to merge 2 commits into
temporalio:mainfrom
vjymisal0:show-namespace-capabilities
Open

vjymisal0 wants to merge 2 commits into
temporalio:mainfrom
vjymisal0:show-namespace-capabilities

Conversation

@vjymisal0

Copy link
Copy Markdown

Related issues

Closes #618

What changed?

temporal operator namespace describe (and namespace list) in text mode now includes a NamespaceInfo.Capabilities row. Previously capabilities were only visible with -o json, since JSON dumps the whole response but the text view uses a fixed field list.

The value is rendered the same way as the other nested proto fields in this view (e.g. ReplicationConfig.Clusters), as compact proto JSON. JSON output is unchanged.

Checklist

Stability

  • Changes to JSON output (-o json / -o jsonl) are treated as breaking changes (JSON output is not changed)

Design

  • This feature does not depend on Cloud-only APIs or behavior (it works against an OSS server)

Behavior

  • Results go to stdout; errors and warnings go to stderr

Tests

  • Added functional test(s) (SharedServerSuite): extended TestOperator_NamespaceCreateListAndDescribe to check the text output contains the capabilities row

Manual tests

Setup

temporal server start-dev --headless

Happy path

$ temporal operator namespace describe \
    --namespace default
  NamespaceInfo.Name                    default
  NamespaceInfo.Id                      01a0fd04-653a-7b07-8b4e-629b428df39b
  NamespaceInfo.Description
  NamespaceInfo.OwnerEmail
  NamespaceInfo.State                   Registered
  NamespaceInfo.Data                    map[]
  NamespaceInfo.Capabilities            {"eagerWorkflowStart":true,"syncUpdate":true,"asyncUpdate":true,"workerHeartbeats":true,"reportedProblemsSearchAttribute":true,"standaloneActivities":true,"pollerAutoscaling":true,"standaloneNexusOperation":true,"standaloneActivityStartDelay":true,"standaloneActivityBatchOperations":true,"standaloneActivityOperatorCommands":true}
  Config.WorkflowExecutionRetentionTtl  24h0m0s
  ...

temporal operator namespace list shows the same row for each namespace.

@vjymisal0
vjymisal0 requested a review from a team as a code owner October 2, 2026 14:30
@CLAassistant

CLAassistant commented Oct 2, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@chaptersix

Copy link
Copy Markdown
Contributor

happy to approve once you sign the cla @vjymisal0
Thank you!

@vjymisal0

Copy link
Copy Markdown
Author

Thanks @chaptersix! The CLA is signed now and the license/cla check is green, so this should be ready for another look whenever you have a moment.

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.

[Feature Request] Include namespace capabilities in operator namespace describe

3 participants