Gap e2e: witnesses owed for session-directory removal (review of #164: F2, F4, F5, F6)
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
- 35/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, node.js
Hướng nghiên cứu
Read packages/oracles/oracle-gaps/paths.mjs and gap-report-oracle.property.test.mjs, then inspect the README section on session-directory cleanup. Map each F2, F4, F5 and F6 finding to the histories and observations that currently judge it. Done means the owed fault and stop witnesses cover the stated cases, the README explains when a directory is left behind, and stopped-run kill status comes from an observation.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Follow-ups from the review of #164 (#150's fix). Findings F4, F5 and F6 were not fixed in #164, and neither was a witness for F2(a). Each is a gap in what the gap report's end-to-end oracle judges. None is a known defect.
- F2(a) and F4: no history makes a session directory's removal fail.
removeSession(packages/oracles/oracle-gaps/paths.mjs) catches the failure and leaves the directory for the next run. The catch keeps one done line: without it, a throw after the done line would reachuncaughtExceptionand end the run a second time.- A mutant that removes the catch survives every history.
- Witness owed: a test-only fault that makes the directory unremovable (under G43/R57). The removal then fails, the run ends with one done line and its own exit code, and the next run removes the directory.
- The README does not say that a directory which cannot be removed is left. The witness should land with that sentence.
- F2(b): the pid-reuse guard has no witness.
removeSessionkeeps the directory of a pid that a live process runs under. No history reuses a pid.
- F5: each removal point is judged on only some paths.
- The supervisor's removal is judged only by abort histories. A SIGINT or SIGTERM stop ends the child through
process.exit, and the session's exit listener removes the directory first. - The exit listener is judged only on win32 (its
hookStopshistories), whose e2e jobs are non-blocking. POSIX's one unsupervised history stops at its note, before a session opens. - Witness owed: a POSIX unsupervised history that opens a session and is stopped. Today, a stop while the witness spins leaves the test's own child on unsupervised POSIX (C 2026-11-13).
- The supervisor's removal is judged only by abort histories. A SIGINT or SIGTERM stop ends the child through
- F6: whether a stopped run was killed is read from the platform, not observed.
- The
killedfield of thestoppedobservation (gap-report-oracle.property.test.mjs) treats every win32 abort as killed. - Once #79 adds a win32 supervisor, a supervised win32 abort must owe the removal of its child's directory. The field must then come from an observation, such as the
.childpid beside the started marker, instead of the platform.
- The
Owners:
- #79 owns F6, and F5's win32 half once its supervisor lands.
- Isaac, as the follow-up of #164, owns F2(a), F2(b), F4 and F5's POSIX half.
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
- Đọ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 TanStack/oracles
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
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 62/100
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 72/100
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 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TanStack/oracles
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
swc-project/swc-next-issues#532 ·
-
domain/checkout Platform(Default) priority/low testing/acceptance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug confirmed css v6
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
check:passed logos:edit
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày