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

The task rail counts interrupted and stopped runs as done

Abierto
#1,465 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

Línea de trabajo

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.

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

Descripción

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.
Lenguaje dominante
Go
Estrellas
115
Forks
14
Merge medio
9 h 38 min
PR fusionados (30 d)
749

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.