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

A note on an interrupted run promises a worker that no longer exists

Đang mở
#1,444 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
68/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, cli, documentation, testing

Hướng nghiên cứu

Start with internal/session/plandb_steer.go:73 and planSteer, then inspect terminalStoreStatus in internal/session/plandb_plan.go:586 and the promise in internal/tui3/taskplan.go:776. Run TestOpenRunPlanSetsAsideARunLeftOpen and review the tmux e2e path. Done means interrupted runs reject note, hold, amendment, and priority writes without changing the store, with the manual and change entry updated.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:session bug sev:serious

Found on santos/dev2 at 008363c98 (#1410). It reaches dev when #1410 merges.

What happened

On 2026-09-24, a note entered on an interrupted run was accepted and the page said the worker reads a note at its next step. The conversation had closed, so no worker remained to take that step. This is related to the interrupted/continue design in #1318.

Replication

Deterministic (no model). In internal/session, adapt TestOpenRunPlanSetsAsideARunLeftOpen: leave a run's root nonterminal, close its owning agent, and call the note path before another request archives the store. Assert that the note is accepted today and the store receives it despite having no live run.

Field (real models). With OPENROUTER_API_KEY and deepseek/deepseek-v4-flash, start a long /task in codeaf chat --no-host, enter /quit, reopen the conversation, and put a note on its interrupted run page. Allow a few minutes and a few cents. The page promises the next step, but no step follows.

Where

internal/session/plandb_steer.go:73, planSteer, searches only for a terminal root; internal/session/plandb_plan.go:586, terminalStoreStatus, excludes interruption. The displayed sentence is internal/tui3/taskplan.go:776.

The fix

Treat a run with no live driver as ended for note, hold, amendment and priority writes. Say that it is interrupted and cannot receive the change; leave its store untouched.

Acceptance

  • e2e: through codeaf chat --no-host in tmux, a note on an interrupted page is refused and the worker reads a note at its next step is absent.
  • Unit: closing the driver and calling each steer verb writes nothing to the store.
  • Update the run-page manual and record the changed promise in a change entry's 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)
749

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.