teams: a local launch writes no Close/Reopen note to the team's Traffic
Maintainer thường phản hồi trong vòng 1 ngày
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
- 78/100
Hướng nghiên cứu
Start in cmd/codeaf/chatv3_local.go with the localDoors seam, then compare its team close/reopen path with the engine road and the pattern in TestPlainLaunchReadsClosedTeamReportFromEngineProfile. Add a cmd/codeaf seam test that closes and reopens a team, reads teams.ReadTraffic, and verifies both entries appear; the plain-launch e2e behavior should match the engine road.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
On a plain codeaf launch (no --host), closing a team and reopening it on the teams page writes no Close/Reopen note to that team's Traffic log. teamsUndoClose in internal/tui3/teamclose.go sends the person reopened the team, and close sends its equivalent, but on a local launch neither reaches the log. This was found on 2026-09-25 while fixing #1516's item 6.
It has the same cause as #1516's item 6. The local launch's teams seam (localDoors in cmd/codeaf/chatv3_local.go) was not handed the door that the engine road uses. Item 6 fixed History; the Traffic write for these notes is still missing.
Replication
Deterministic: a cmd/codeaf test that builds the plain-launch doors (localDoors), closes a team through the seam and reopens it, then reads teams.ReadTraffic for that team. Today no close/reopen entry is there. TestPlainLaunchReadsClosedTeamReportFromEngineProfile (#1516) is the pattern to copy.
By hand:
- Run
codeaf. - Press
alt+2, make a team with a manager, and close it with Close. - Reopen it with
u. - Look at the manager's Traffic column. It shows no close or reopen line.
The fix
A local launch writes the same Close/Reopen notes to Traffic as the engine road does.
Acceptance
- e2e: on a plain launch, the manager's Traffic shows the close and the reopen lines after the steps above.
- Unit: the
localDoorsseam test sees both entries inteams.ReadTraffic.
- Ngôn ngữ chính
- Go
- Star
- 115
- Fork
- 14
- Merge trung bình
- 9 giờ 35 phút
- Pull request đã merge (30 ngày)
- 752
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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
-
area:chat bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Agent-Field/CodeAF#1592 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:headless bug sev:critical
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1566 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
tui3: slash command completion inserts bare command prefix into prompt instead of navigatingĐang mởarea:chat bug sev:critical
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Agent-Field/CodeAF#1548 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1510 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tests bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Agent-Field/CodeAF#1489 ·
Maintainer thường phản hồi trong vòng 1 ngày
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 78/100
siderolabs/terraform-provider-talos#414 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
JuliaComputing/jh#63 · 1 bình luận ·
-
area/proxy kind/bug priority/backlog triage/accepted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
lexfrei/cloudflare-tunnel-gateway-controller#840 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Priority: Normal Type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cloudflare/cloudflared#1747 ·