Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The task rail counts interrupted and stopped runs as done

オープン
#1,465 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

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

調査の方向性

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 の本文から書いたものです。

説明

area:chat bug sev:papercut

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 /task never produces 1 done as 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Agent-Field/CodeAF のほかの issue

Agent-Field/CodeAF の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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