The task rail counts interrupted and stopped runs as done
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 75/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- cli, documentation, testing
調査の方向性
Start in internal/tui3/task.go at railGroupOf around line 2459 and reproduce the deterministic interrupted and stopped task-node cases. Add coverage for every rail group, including stopped and interrupted, then verify the e2e acceptance that neither produces “1 done” as its only footer account. Update the rail manual and record the former count in invalidates.
索引モデルが issue の本文から書いたものです。
説明
Found on santos/dev2 at 008363c98 (#1410). On dev@debffabf6 too.
What happened
After a run was interrupted, the rail footer said 1 done. The same final fallback groups a stopped run under done. The individual state can read interrupted or stopped, but the group total tells a different story. This grouping code is also present on dev.
Replication
Deterministic (no model). In internal/tui3, construct task nodes whose taskStatus states are interrupted and stopped, then call railGroupOf. Today both fall through to railDone. Inspect the rendered rail footer for one such node; it reads 1 done.
Field (real models). Start a long /task in codeaf chat --no-host, quit and reopen. The run reads interrupted while the rail totals it as done. Use OPENROUTER_API_KEY and deepseek/deepseek-v4-flash; allow a few minutes and a small charge.
Where
internal/tui3/task.go:2459, railGroupOf, returns railDone for every state not handled earlier. The same fallthrough appears at origin/dev:internal/tui3/task.go:2459.
The fix
Give stopped and interrupted runs their own honest rail grouping or a neutral completed-work group whose label does not claim they are done.
Acceptance
- e2e: a stopped or interrupted
/tasknever produces1 doneas its only footer account. - Unit: a state table pins every rail group, including stopped and interrupted.
- Update the rail manual and record the former count in
invalidates.
- 主要言語
- Go
- スター
- 115
- フォーク
- 14
- 平均マージ
- 9時間 38分
- マージ済み PR(30日)
- 749
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Agent-Field/CodeAF のほかの issue
-
area:chat feature
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1510 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent-Field/CodeAF#1489 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug good first issue sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Agent-Field/CodeAF#1470 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug good first issue sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Agent-Field/CodeAF#1469 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1468 ·
メンテナーはふだん 1 日以内に返信
Agent-Field/CodeAF の issue をすべて見る
似ている issue
-
enhancement low priority
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
eugenioenko/ttt#674 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
GoogleCloudPlatform/k8s-config-connector#13462 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
vavallee/bindery#2793 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信