temporalio / temporalio/cli

[Feature Request] `task-queue describe` does odd text replacement of unversioned workers

Open
#802 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
379
Forks
103
Avg merge
2d 11h
Merged PRs (30d)
23

Description

Report from Shahab:

FYI, it seems task-queue describe in CLI replaces the build ID that server returns with "UNVERSIONED" constant if the worker doesn't have versioning enabled. I think we should just show the three values separately: deployment name, build ID, useVersioning.

shahab@Shahabs-MBP-2 bench-go % temporal task-queue describe -t temporal-bench -o json
{
  "reachability": null,
  "pollers": [
    {
      "buildId": "UNVERSIONED",

We can just match what UI shows here
Image

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 Go implementation of the task-queue describe CLI command and trace how poller build IDs are formatted in its JSON output. Compare the output fields with the UI behavior described in the issue; done means deployment name, build ID, and useVersioning are shown separately without replacing the server-returned build ID.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.