A task held as machine busy shows no reason; max_load changes need a restart
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 68/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Build dev 837b2b0 (
git checkout 837b2b0 && make build), or install the dev build withcurl -fsSL https://agentfield.ai/get/devaf | bash. - Use an isolated profile:
export HOME=$(mktemp -d), exportOPENROUTER_API_KEY, default model. - Leave the busy-machine gate ON (step 5 forces it).
cd $(mktemp -d) && git init -q && codeaf.- Force the hold: set
task.max_loadbelow the current load per core (for example0.01) in/settings. /task add a README.md with one line. Read the rail row and the task page.- Set
task.max_loadback to0: the task stays held untilcodeaf engine --stopand a relaunch.
Evidence
- Rail:
Waiting 1 ▸with no reason; task pagequeued · 10m 47s. internal/session/task_pressure.go:249-267builds themachine busyreason words;internal/tui3/task.go:780(waitWordMachine),internal/tui3/room.go:3298-3302andinternal/tui3/tasksplace.go:1891drawrailParkedwords only.internal/session/task_run.go:1264: the governor is built once froma.config.TaskMaxLoadwhen 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_loadto0in/settingsadmits 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
- Lingua principale
- Go
- Stelle
- 115
- Fork
- 14
- Merge medio
- 9h 44m
- PR unite (30g)
- 775
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Agent-Field/CodeAF
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Agent-Field/CodeAF#1679 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Agent-Field/CodeAF#1678 ·
I maintainer di solito rispondono entro 1 giorno
-
area:chat bug sev:papercut
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
Agent-Field/CodeAF#1592 ·
I maintainer di solito rispondono entro 1 giorno
-
codeaf do "" runs a paid job with an empty briefForse già presa @santoshkumarradha l’ha presa 2 giorni fa. Apertaarea:headless bug sev:critical
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Agent-Field/CodeAF#1566 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
area:chat feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Agent-Field/CodeAF#1510 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Agent-Field/CodeAF
Issue simili
-
agent-butler-finding chore
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
jordansmall/spindrift#4146 ·
I maintainer di solito rispondono entro 1 giorno
-
security
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
IBM/ibmcloud-volume-file-vpc#119 ·
-
security
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
IBM/networking-go-sdk#339 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
kubernetes-sigs/mcp-lifecycle-operator#439 ·
I maintainer di solito rispondono entro 1 giorno
-
area: global bug dx priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno