ax watch hangs forever on a task that doesn't exist

オープン 初心者向け
#435 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@erain がすでに取り組んでいます。

2026年10月13日 から。

  • #462 @erain による — マージされずにクローズ

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
88/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go
領域
cli

調査の方向性

WatchTask から始め、NotFound の処理を GetTask と比較します。commit d36bb3d に含まれているテストを確認してから、関連する Go テストを実行します。存在しないタスクの監視が無期限に待機するのではなく codes.NotFound を返せば完了です。

索引モデルが issue の本文から書いたものです。

説明

ax watch task does-not-exist prints Watching task default/does-not-exist... and never returns.

WatchTask ignores the NotFound from GetTask and waits for updates that never come. It should return codes.NotFound, like GetTask does.

Opening PRs seems to be limited to collaborators right now, so here's the fix with a test: https://github.com/vincent0426/ax/commit/d36bb3d

主要言語
Go
スター
14.8k
フォーク
802
平均マージ
18時間 37分
マージ済み PR(30日)
110

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google/ax のほかの issue

google/ax の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。