Repository navigation
test(core): fix the descendant-teardown test flakes from #511 - #512
Conversation
… private The crash-watcher test read the command's state before SIGSTOP had taken effect, so it failed its first try on a loaded runner. The PWD test's worker printed its own test summary to the parent's stdout, which test-exact.sh counted as a second result on macOS.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Change
Fixes two test failures that #511 merged with. Test-only; no behavior change.
collection_freezes_the_command_but_not_its_crash_watcherread/proc/<pid>/statbefore SIGSTOP had taken effect. It failed its first try on the Linux "Minimal core profile" step and passed on retry, which the CI profile counts as a failure (flaky-result = "fail"). It now waits until the command reportsT, with a bound, before checking that the watcher is not stopped.commands_see_their_working_directory_in_pwd_and_no_oldpwdre-runs itself in a child process, and the child's test summary went to the parent's stdout.test-exact.shon macOS saw twotest result:lines and failed although the test passed. The child's stdout now goes to null.Failed run on #511's merged head
d5a07df2: https://github.com/retsu-AI/qq/actions/runs/41094339053Verification
cargo nextest run -p qq-core --no-default-features --stress-count 200 -E 'test(/crash_watcher/)': 200/200bash .github/scripts/test-exact.sh tools::tests::commands_see_their_working_directory_in_pwd_and_no_oldpwd: passescargo xtask check: passed4aa8ab24, including Linux minimal core and macOS run in place: passed, https://github.com/retsu-AI/qq/actions/runs/41098031864Known impact
None.