Sessions can clear a remembered conversation's working mark
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
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
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 chatwindows 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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Agent-Field/CodeAF
-
area:chat feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Agent-Field/CodeAF#1510 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Agent-Field/CodeAF#1489 ·
Los mantenedores suelen responder en 1 día
-
area:chat bug good first issue sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Agent-Field/CodeAF#1470 ·
Los mantenedores suelen responder en 1 día
-
area:chat bug good first issue sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Agent-Field/CodeAF#1469 ·
Los mantenedores suelen responder en 1 día
-
area:chat bug sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Agent-Field/CodeAF#1468 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Agent-Field/CodeAF
Issues similares
-
enhancement low priority
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
eugenioenko/ttt#674 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Remove obsolete ipAllocationPolicy field from containernodepool-subnetworkref test dependencyAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
GoogleCloudPlatform/k8s-config-connector#13462 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
vavallee/bindery#2793 · 1 comentario ·
Los mantenedores suelen responder en 1 día