Skip to content

test(core): fix the descendant-teardown test flakes from #511 - #512

Merged
lg2m merged 1 commit into
mainfrom
fix/descendant-test-flakes
Oct 30, 2026
Merged

lg2m merged 1 commit into
mainfrom
fix/descendant-test-flakes

Conversation

@lg2m

@lg2m lg2m commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

Change

Fixes two test failures that #511 merged with. Test-only; no behavior change.

  • collection_freezes_the_command_but_not_its_crash_watcher read /proc/<pid>/stat before 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 reports T, with a bound, before checking that the watcher is not stopped.
  • commands_see_their_working_directory_in_pwd_and_no_oldpwd re-runs itself in a child process, and the child's test summary went to the parent's stdout. test-exact.sh on macOS saw two test 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/41094339053

Verification

Known impact

None.

… 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.
@lg2m lg2m added the ci:full label Oct 30, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T17:34:11.594004Z 4aa8ab2 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@lg2m

lg2m commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 4aa8ab24aa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@lg2m
lg2m merged commit 11719d6 into main Oct 30, 2026
36 of 38 checks passed
@lg2m
lg2m deleted the fix/descendant-test-flakes branch October 30, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant