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

Feature: Parent is never notified when a delegated child finishes a follow-up turn (V2)

Đang mở Phù hợp với người mới
#13,490 1 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/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ệ
typescript
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu trong apps/server/src/orchestration-v2/Orchestrator.ts, tại phần kiểm tra finalizeAppOwnedSubagent quanh các dòng 8168-8175. Tái hiện luồng một child duy nhất với delegate_task, tiếp theo là t3_thread_send, rồi xác minh rằng parent được đánh thức sau lượt tiếp theo thay vì phải thăm dò task_status.

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

Mô tả

via-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/server

Steps to reproduce
  1. Parent calls delegate_task (async). The child finishes and the parent is woken as expected.
  2. Parent sends the same child more work with t3_thread_send.
  3. The child finishes that follow-up turn.
Expected behavior

The parent is woken for the follow-up result, the same as for the first one.

Actual behavior

The parent is never woken. The result only shows up if the parent polls task_status (latestTerminal*).

It looks like finalizeAppOwnedSubagent returns early once the child has already delivered one result, so every later turn is skipped:
https://github.com/pingdotgg/t3code/blob/5239fe059641b0429a51074774e5d39a8005bf49/apps/server/src/orchestration-v2/Orchestrator.ts#L8168-L8175

This is on the V2 branch (#2829), not main. It's different from #12285 / #13338: it happens with just one child, and #13338 doesn't change this check.

Impact

Major degradation or frequent failure

Version or commit

0.0.43-preview.20260923.2138 (Linux). Mac:

Environment

Linux (self-hosted server) and macOS. Claude and Codex providers.

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Start a new delegate_task for each follow-up instead of using t3_thread_send, or have the parent poll task_status.

Ngôn ngữ chính
TypeScript
Star
23.6k
Fork
6.1k
Merge trung bình
9 giờ 26 phút
Pull request đã merge (30 ngày)
340

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 pingdotgg/t3code

Tất cả issue của pingdotgg/t3code

Issue tương tự

Thêm issue về TypeScript

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.