Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

chat: a slow engine answer says the task could not start while it runs

Đang mở
#1,528 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
backend

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ả

area:chat bug sev:serious

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.Start does 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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Agent-Field/CodeAF

Tất cả issue của Agent-Field/CodeAF

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.