Sessions can clear a remembered conversation's working mark
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 76/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 115
- Fork
- 14
- Merge trung bình
- 9 giờ 38 phút
- Pull request đã merge (30 ngày)
- 730
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Agent-Field/CodeAF
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Agent-Field/CodeAF#1489 ·
-
area:chat bug good first issue sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Agent-Field/CodeAF#1470 ·
-
area:chat bug good first issue sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Agent-Field/CodeAF#1469 ·
-
area:chat bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1468 ·
-
area:tests bug hygiene sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Agent-Field/CodeAF#1460 ·
Tất cả issue của Agent-Field/CodeAF
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
Remove obsolete ipAllocationPolicy field from containernodepool-subnetworkref test dependency Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
microsoft/TypeScript#64453 ·
-
OpenAI-compatible endpoint: response ids have only 999 possible values (chatcmpl-rand.Intn(999)) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100