You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
herdr-corelive::worktree_control::tests::a_pane_reports_each_running_process_once_and_never_the_systems_pids failed and passed on the same SHA (22171da, a merge of main9f14487 into the instant-pane-topology branch; herdr-core/src/worktree_control.rs is identical to main).
First run: bash scripts/verify-cargo.sh test (plain cargo test, all lib tests in one process), macOS, 1-minute load about 20.
Passed three times in a row in isolation (verify-cargo.sh nextest -E 'test(a_pane_reports_each_running_process_once_and_never_the_systems_pids)').
Likely cause: the test uses the test process's own pid as the pane's shell and asserts that only that pid is reported. Under cargo test every test runs as a thread of that one process, so children other tests spawn at the same moment are its descendants and are reported too. Under nextest each test is its own process, which is why it passes there.
Reproduced 5 of 5 under bash scripts/verify-cargo.sh test -p herdr-core --lib on 22171da (load 20-34). Printing the extra pids' names shows they are other tests' children, none from the test itself: [(test binary), git, git, git, git] and [(test binary), zsh, bash, bash, git, xcode-select, git, git, git]. Under plain cargo test the test's own pid has every concurrently running test's children as descendants, so the assertion only holds under nextest's process-per-test. A fix would give the test a child process of its own to stand for the shell (and assert that child is reported once), instead of the test process's pid.
Activity
yansfil commentedon Oct 7, 2026
Reproduced 5 of 5 under
bash scripts/verify-cargo.sh test -p herdr-core --libon 22171da (load 20-34). Printing the extra pids' names shows they are other tests' children, none from the test itself:[(test binary), git, git, git, git]and[(test binary), zsh, bash, bash, git, xcode-select, git, git, git]. Under plaincargo testthe test's own pid has every concurrently running test's children as descendants, so the assertion only holds under nextest's process-per-test. A fix would give the test a child process of its own to stand for the shell (and assert that child is reported once), instead of the test process's pid.Give the pane-process test a shell process of its own