chat: a slow engine answer says the task could not start while it runs
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
- 75/100
Hướng nghiên cứu
Start in internal/remote/callclass.go by searching for “did not answer in time,” then trace the chat task-start path through Task.Start. Run or add the deterministic engine-road late-answer test described in the issue. Done means the late response is not reported as a start failure, the surface avoids “could not start,” and the e2e case leaves exactly one task.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened
On 2026-09-25, on a box at load about 23, starting a /task in the chat printed:
could not start the task · the engine did not answer in time
The task had been created, and it ran to the end. A person who believes the refusal starts it again, and pays for two. This hasn't been reproduced on an unloaded box.
Where
The late-call wording in internal/remote/callclass.go (search did not answer in time), and the chat's task start over the engine road (Task.Start).
Replication
Deterministic: an engine-road test where the engine accepts Task.Start but answers after the surface's deadline. Today the surface says the task could not start, while the store holds a running task.
The fix
A start whose answer is late is not reported as a failure. The surface says the engine is slow to answer — the task may already be running, and then shows the task if it appears. Alternatively, the start is made idempotent, so a retry does not duplicate it.
Acceptance
- e2e: with a late engine, one task exists, and the surface never says
could not start. - Unit: the late-answer classification for
Task.Startdoes not map to a start failure.
- Ngôn ngữ chính
- Go
- Star
- 115
- Fork
- 14
- Merge trung bình
- 9 giờ 37 phút
- Pull request đã merge (30 ngày)
- 755
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 · 1 người được giao ·
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
-
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 ·
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 88/100
rossoctl/context-guru#346 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
prime-radiant-inc/evener#2883 ·
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 88/100
gravitational/teleport#69805 ·
Maintainer thường phản hồi trong vòng 11 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Under Poisson sampling, the `PLDAccountant` composes the inner event both before and after samplingĐang mở
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
google/differential-privacy#496 ·