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

Sessions can clear a remembered conversation's working mark

Abierto
#1,483 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
76/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
go
Área
cli

Línea de trabajo

Start at internal/tui3/place_sessions.go:373-385 and follow tasksPlace.filtered, then inspect the row consumer in internal/tui3/tasksplace.go:755. Reproduce the filtered-reading fixture with a saved working conversation and another window's live task. Done means the unit and two-window e2e cases keep the row working, with the Sessions manual updated and the former false mark recorded in invalidates.

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

Descripción

area:chat bug sev:papercut

Seen on dev@debffabf6. Surfaced while verifying #1426; not introduced by it.

What happened

When this window has no watcher for a remembered conversation, the Sessions place rebuilds chatViews from this window's tab list and calls homeChatState. That call can return working: false, overwriting the saved working state even while another window's task is running. The row then looks idle until a later refresh restores the work reading.

Replication

Deterministic (no model). Seed a Sessions reading with a saved conversation marked working and a live task owned by another window. Give the current app a tab for that conversation but no local watcher, then call tasksPlace.filtered. Inspect r.chatViews[transcript].working: today it is false. A same-window watcher is the control.

Where

internal/tui3/place_sessions.go:373 at dev@debffabf6, tasksPlace.filtered, recreates chatViews; :385 substitutes homeChatState for the saved state. The row painter consumes that value in internal/tui3/tasksplace.go:755.

The fix

Combine live local state with the remembered and cross-window work reading, preserving true until the underlying task has actually settled.

Acceptance

  • e2e: two codeaf chat windows viewing the same home keep the Sessions row marked working while one window's task runs and the other has no watcher.
  • Unit: the filtered-reading fixture above preserves working: true.
  • Update the Sessions manual and record the former false mark 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.