Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

worker: a foreground call waits 600 s before it becomes a job — is that the right ceiling?

Abierto
#1,521 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go
Área
backend, devtools

Línea de trabajo

Start with BashCeilingSeconds in internal/exec/bare, then read timeoutSentence in internal/session/tools_jobs.go and the BashPromotedLead hand-off in internal/session/promote.go. Compare the worker path with the chat backgroundAfter behavior and inspect the changes from #1515. Done means the project has an agreed foreground ceiling, matching hand-off behavior, and coverage for the selected threshold.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:session needs a ruling

A fresh-install check on 2026-09-25 (dev-20260925-1194d4b8fe88, devaf installer, WSL) ran a default /task that took 22m37s for a one-line bug fix. About 10 of those minutes were one worker command, find / -name test_calc.py -not -path '*/proc/*', which walks /mnt/c on WSL. A foreground bash call runs for up to BashCeilingSeconds (600 s) before it becomes a background job, so the task sat silent for ten minutes before the worker got control back.

The question: is 600 s the right foreground ceiling for a worker, or should a worker's call hand off sooner, for example after 60–120 s, the way the chat's backgroundAfter path does?

Where

  • BashCeilingSeconds (internal/exec/bare), and timeoutSentence in internal/session/tools_jobs.go, which interpolates it into the tool description.
  • The job hand-off: BashPromotedLead in internal/session/promote.go.

Context

Since #1515, a worker can stop a job it started through jobs. Before that, the backgrounded find ran on for the rest of the task. A shorter hand-off is only useful now that the worker can act on it.

Lenguaje dominante
Go
Estrellas
115
Forks
14
Merge medio
9 h 37 min
PR fusionados (30 d)
755

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Agent-Field/CodeAF

Todos los issues de Agent-Field/CodeAF

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.