temporalio / temporalio/temporal

command missing in new Temporal CLI

Open
#5,589 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

Is your feature request related to a problem? Please describe.
I have not found a command replacing this behaviour in the new cli, where you update a namespace to contain multiple clusters:
tctl --namespace "myNamespace" namespace update --clusters clusterA clusterB

for context: https://community.temporal.io/t/running-into-problems-testing-multi-cluster-replication-locally-via-docker/5920/8

it is marked as the solution in thread above.

Describe the solution you'd like
temporal operator namespace update --cluster 'clusterA clusterB' "myNamespace"
Have the cluster accept a list of clusters and not only a single one.

Describe alternatives you've considered

  1. Use the old tctl, but at some point it will be deprecated.

  2. I cannot create it from scratch since we already have namespaces in use.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Temporal CLI entry point for temporal operator namespace update and inspect how the --cluster option is parsed and passed to the namespace update operation. Done means an existing namespace can be updated with multiple cluster names, matching the old tctl behavior; add or update coverage for that command if the entry point has tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.