Skip to content

test: the ps foreground check waits for the command, not the first process it sees - #42

Merged
ba2slk merged 2 commits into
mainfrom
fix/flaky-ps-foreground
Aug 18, 2026
Merged

test: the ps foreground check waits for the command, not the first process it sees#42
ba2slk merged 2 commits into
mainfrom
fix/flaky-ps-foreground

Conversation

@ba2slk

@ba2slk ba2slk commented Aug 18, 2026

Copy link
Copy Markdown
Owner

The ps-backed foreground check accepted the first non-null answer. Between fork and exec, ps reports the child as [sleep] with no args, so the assertion that followed failed on CI about one run in ten. waitFor now takes the acceptance condition from the caller.

Also bumps nanoid to 3.3.18 for the audit warning (build-time only, via postcss).

Generated with Claude Code

ba2slk and others added 2 commits August 18, 2026 20:19
…ocess it sees

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ba2slk
ba2slk merged commit baeda26 into main Aug 18, 2026
2 checks passed
@ba2slk
ba2slk deleted the fix/flaky-ps-foreground branch August 18, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant