iOS runCommand passes timeoutMs to spawn, which ignores it, and its comment relies on that backstop
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
- 57/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ệ
- typescript
- Lĩnh vực
- mobile-dev
Hướng nghiên cứu
Read src/drivers/ios/command-run.ts and src/ports/process-runner-types.ts, then inspect NodeProcessRunner.spawn and the ports manual to confirm the timeout contract. Determine how timeout handling should escalate a command that ignores SIGTERM, and check the related issue #1979 for context. Done when the spawn options and implementation agree with the documented contract and the command timeout can escalate as described.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
src/drivers/ios/command-run.ts:24-26 computes runnerTimeoutMs and passes it to processRunner.spawn, with the comment "the runner's own timeout is a backstop past the late kill". NodeProcessRunner.spawn reads no timeoutMs, so there is no backstop. runCommand itself still answers at its own clock timer, but a command that ignores the one SIGTERM it sends is never escalated to SIGKILL.
ProcessRunOptions (src/ports/process-runner-types.ts:2) accepts timeoutMs for spawn although the ports manual says spawn takes none, so the compiler flags neither this call nor the one in #1979.
Read in the code on origin/main at dead1fb26, not run. Found while triaging #1979.
Written by an agent.
- Ngôn ngữ chính
- TypeScript
- Star
- 730
- Fork
- 44
- Merge trung bình
- 16 giờ 13 phút
- Pull request đã merge (30 ngày)
- 387
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 callstackincubator/simlock
-
The SIGKILL escalation test passes without escalation when its child starts later than 100 msĐang mởbug:new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
callstackincubator/simlock#1986 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug:new
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
callstackincubator/simlock#1979 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
process-runner.test.ts fails four tests when a child starts 1 to 3 s lateCó thể đã có người làm @V3RON đã nhận hôm nay. Đang mởbug:new
callstackincubator/simlock#1985 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug:new
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 74/100
callstackincubator/simlock#1984 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The warm pool's seed make is cancelled by a daemon stopCó thể đã có người làm @V3RON đã nhận hôm nay. Đang mởplatform:android task:ready
callstackincubator/simlock#1968 · 6 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của callstackincubator/simlock
Issue tương tự
-
Resources: Update work of fuzhouCó thể đã có người làm @rmt-svc đã nhận hôm nay. Đang mởresources
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
railmapgen/rmp-gallery#4245 ·
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 83/100
mike-north/AgentMonitors#717 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 60/100
slavakurilyak/awesome-ai-agents#1100 ·
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 76/100
navikt/syfo-oppfolgingsplan-frontend#1206 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[typescript] BasicAuth.fromAuthorizationHeader accepts headers without the Basic scheme prefixĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày