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

未關閉
#802 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
go
領域
cli

研究方向

從 task-queue describe CLI 命令的 Go 實作開始,追蹤 poller 建置 ID 在其 JSON 輸出中的格式化方式。將輸出欄位與 issue 中描述的 UI 行為進行比較;完成的標準是部署名稱、建置 ID 和 useVersioning 分別顯示,且不替換伺服器返回的建置 ID。

由索引模型根據 Issue 內容生成。

描述

enhancement

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

主要語言
Go
星號
390
分支
123
平均合併
2 天 9 小時
30 天內合併 PR
13

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

temporalio/cli 的其他 Issue

查看 temporalio/cli 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。