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

chat: a slow engine answer says the task could not start while it runs

Abierto
#1,528 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
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
75/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
go
Área
backend

Línea de trabajo

Start in internal/remote/callclass.go by searching for “did not answer in time,” then trace the chat task-start path through Task.Start. Run or add the deterministic engine-road late-answer test described in the issue. Done means the late response is not reported as a start failure, the surface avoids “could not start,” and the e2e case leaves exactly one task.

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

Descripción

area:chat bug sev:serious

What happened

On 2026-09-25, on a box at load about 23, starting a /task in the chat printed:

could not start the task · the engine did not answer in time

The task had been created, and it ran to the end. A person who believes the refusal starts it again, and pays for two. This hasn't been reproduced on an unloaded box.

Where

The late-call wording in internal/remote/callclass.go (search did not answer in time), and the chat's task start over the engine road (Task.Start).

Replication

Deterministic: an engine-road test where the engine accepts Task.Start but answers after the surface's deadline. Today the surface says the task could not start, while the store holds a running task.

The fix

A start whose answer is late is not reported as a failure. The surface says the engine is slow to answer — the task may already be running, and then shows the task if it appears. Alternatively, the start is made idempotent, so a retry does not duplicate it.

Acceptance

  • e2e: with a late engine, one task exists, and the surface never says could not start.
  • Unit: the late-answer classification for Task.Start does not map to a start failure.
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.