Skip to content

Conversation

@nornagon-openai
Copy link
Collaborator

This allows openpty(3) to run in the default sandbox. Also permit reading kern.argmax, which is the maximum number of arguments to exec().

assert!(status.success(), "python exited with {status:?}");
}

#[tokio::test]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this test pass on both Mac and Linux? If so, can we define it in codex-rs/exec/tests/suite/sandbox.rs instead to verify sandbox parity across platforms?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codex can you move this test to the cross-platform suite

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Testing

  • cargo test -p codex-exec (fails in this environment with landlock restrictions and loopback 403 errors)
  • cargo test -p codex-core (fails in this environment because expected user-agent headers and sandboxed process control are unavailable)

View task →

@nornagon-openai nornagon-openai merged commit 9b3251f into main Dec 3, 2025
45 of 47 checks passed
@nornagon-openai nornagon-openai deleted the nornagon/openpty branch December 3, 2025 17:15
@github-actions github-actions bot locked and limited conversation to collaborators Dec 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants