Skip to content

[codex] Test process handle cleanup after spawn failure#28134

Draft
anp-oai wants to merge 1 commit into
codex/existing-invariant-integration-tests-05-duplicate-process-handlefrom
codex/existing-invariant-integration-tests-06-spawn-handle-cleanup
Draft

[codex] Test process handle cleanup after spawn failure#28134
anp-oai wants to merge 1 commit into
codex/existing-invariant-integration-tests-05-duplicate-process-handlefrom
codex/existing-invariant-integration-tests-06-spawn-handle-cleanup

Conversation

@anp-oai

@anp-oai anp-oai commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Protect the app-server invariant that an OS spawn failure releases its connection-scoped processHandle.

Force a missing-executable error, assert the internal-error response, then immediately reuse the same handle for a successful process and verify its exit notification.

The focused test, full process_exec integration module, and just fix -p codex-app-server pass.

@anp-oai anp-oai force-pushed the codex/existing-invariant-integration-tests-05-duplicate-process-handle branch from 731d18e to 7a16219 Compare June 14, 2026 00:02
@anp-oai anp-oai force-pushed the codex/existing-invariant-integration-tests-06-spawn-handle-cleanup branch from aedf5a3 to 6756a9b Compare June 14, 2026 00:02
@anp-oai anp-oai force-pushed the codex/existing-invariant-integration-tests-05-duplicate-process-handle branch from 7a16219 to 4656232 Compare June 14, 2026 00:06
@anp-oai anp-oai force-pushed the codex/existing-invariant-integration-tests-06-spawn-handle-cleanup branch from 6756a9b to dcee1a9 Compare June 14, 2026 00:06
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