Warm stop can report a refusal under load (a SIGINT race between the warm probe and the child)

Đang mở
#139 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
54/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
cli

Hướng nghiên cứu

Read the "Replay by history" instructions and attach the full history mentioned in the issue; the current repro log is only on the maintainer's machine. Then hold the warm probe at a named pause, deliver SIGINT, and check whether the run ends stopped rather than refused. The issue is done when the race is reproduced as a failing test on main and the expected stopped outcome is verified.

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

Mô tả

Seen once, under heavy local load, on #57 at 6c958ed3, in the history "every outcome class, the warm and abort stops", which was later split. The failure read: "the run stopped while its config warmed reported a refusal". The next 4 runs passed.

The likely cause is a race in the CLI: the warm probe's service exits on the same SIGINT before the child handles its own signal.

The log, with its replay line, is at ~/.cache/oracle-grammar/repros/pr57-warm-stop-refusal-6c958ed3.log, which is on the maintainer's machine. Per "Replay by history", the full history should be attached here before the seed shifts.

Next step: hold the warm probe at a named pause, deliver SIGINT, and judge that the run ends stopped, not refused. RED on main if the race is real.

This issue was written by Isaac.

Ngôn ngữ chính
JavaScript
Star
5
Fork
1
Merge trung bình
11 giờ 18 phút
Pull request đã merge (30 ngày)
66

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: 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 TanStack/oracles

Tất cả issue của TanStack/oracles

Issue tương tự

Thêm issue về JavaScript

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.