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

A task held as machine busy shows no reason; max_load changes need a restart

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
backend, cli

調査の方向性

Reproduce the hold using the listed build and /settings steps, then read internal/session/task_pressure.go, internal/session/task_run.go, and the TUI files cited in the evidence. Trace how the rail and task page receive waiting reasons and how task.max_load reaches the governor. Done means both views show the machine-busy reason and changing max_load to 0 admits the task without a restart, covered by e2e checks.

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

説明

area:chat area:session bug sev:serious

Seen on: dev 837b2b0.

Behaviour

A task held by the busy-machine gate sits under Waiting 1 ▸ on the rail with no reason (at 215 columns), and the task page read queued · 10m 47s with no reason, while no model call is made for minutes. The manual promises waiting · machine busy · load per core at or above task.max_load 1.5. Also, changing task.max_load does not free a held task until the engine restarts.

Replication

  1. Build dev 837b2b0 (git checkout 837b2b0 && make build), or install the dev build with curl -fsSL https://agentfield.ai/get/devaf | bash.
  2. Use an isolated profile: export HOME=$(mktemp -d), export OPENROUTER_API_KEY, default model.
  3. Leave the busy-machine gate ON (step 5 forces it).
  4. cd $(mktemp -d) && git init -q && codeaf.
  5. Force the hold: set task.max_load below the current load per core (for example 0.01) in /settings.
  6. /task add a README.md with one line. Read the rail row and the task page.
  7. Set task.max_load back to 0: the task stays held until codeaf engine --stop and a relaunch.

Evidence

  • Rail: Waiting 1 ▸ with no reason; task page queued · 10m 47s.
  • internal/session/task_pressure.go:249-267 builds the machine busy reason words; internal/tui3/task.go:780 (waitWordMachine), internal/tui3/room.go:3298-3302 and internal/tui3/tasksplace.go:1891 draw railParked words only.
  • internal/session/task_run.go:1264: the governor is built once from a.config.TaskMaxLoad when the graph is made.

Guessed cause

A guess from reading the code, not a confirmed diagnosis. The rail renders the railParked group without status.Reason, and the admission governor reads task.max_load once, so a changed setting does not reach it.

Acceptance

  • e2e: with the hold forced, the rail row and the task page both read waiting · machine busy · load per core at or above task.max_load ….
  • e2e: setting task.max_load to 0 in /settings admits the held task within a few seconds, with no restart.

Found while writing the public docs; manual text differences are in #1545.

🤖 Generated with Claude Code

主要言語
Go
スター
115
フォーク
14
平均マージ
9時間 37分
マージ済み PR(30日)
755

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Agent-Field/CodeAF のほかの issue

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

似ている issue

Go の issue をもっと見る

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

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