Repository navigation
test(common): make issue2197 wait_bounded pins Windows-portable - #3877
Merged
Merged
Conversation
Member
Author
|
【WIN-AGENT-AUDIT】CI 归因补充(#3877 head 4ed241c)
|
caomengxuan666
marked this pull request as ready for review
November 17, 2026 23:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #3568
Summary
tests/common/mod.rs的两个issue2197_wait_bounded_*pin 原来依赖sleep经 PATH 解析;sleep在 rubash 里只是 pipeline-stage 快路径,不是常规 builtin,minimal_path()(System32 + Git usr/bin)在无 Git 的 Windows 机器上解析不到 → 假子进程 127 / 孤儿管道不成立(X299 与本机同症复现)。ping -n 10 127.0.0.1 &(约 9s 自行退出);never-exiting pin 用纯 builtinwhile :; do :; done(wait_bounded kill 时随进程消亡,无残留)。unix 面保持sleep 120原样。Test plan
cargo test --test issue2883_read_prompt_carrier_regressions:修复前 0/2(Some(0)/Some(127)),修复后 2/2 绿(Windows 本机,minimal_path 环境)Generated with Devin