Skip to content

test: verify native timeout reaping from parent child identity - #132

Open
roodboi wants to merge 1 commit into
nextfrom
codex/native-client-timeout-test
Open

roodboi wants to merge 1 commit into
nextfrom
codex/native-client-timeout-test

Conversation

@roodboi

@roodboi roodboi commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

The native-runtime-client timeout test could fail under load after correctly killing its child: its 250 ms deadline begins at spawn, but its reaping assertions depended on marker files written later by the child.

Observe the real spawn result for the exact fixture binary and require one child, settled exit completion, SIGKILL, and ESRCH for that parent-captured PID. The deadline case now deliberately waits before writing either marker. Pre-aborted requests still require zero spawns, and running cancellation still requires the exact marker and matching child PID. The pass-through spy is restored in finally; production code and timeout budgets are unchanged.

Validation: focused runtime-client tests (12 passed); full CLI suite (1,835 passed, 67 skipped, zero failures); CLI/root typecheck; root check; changed-file lint; and staged privacy checks passed with pinned Bun 1.4.2. The CLI tasks ran fresh; unchanged DB tasks used the shared cache. These checks do not qualify native VM behavior.

Release signal: test-only verification correction. This does not fix or qualify the separate native HTTPS release failure.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

This branch has not been deployed

No deployments
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