Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Zig test commands failing in sandbox #8652

@RS2007

Description

@RS2007

What version of Codex is running?

codex-cli 0.77.0

What subscription do you have?

Chatgpt plus

Which model were you using?

gpt-5

What platform is your computer?

Darwin 23.6.0 arm64 arm

What issue are you seeing?

zig test commands fail with a signal 11 within the codex sandbox. The command works perfectly outside the codex sandbox

What steps can reproduce the bug?

To reproduce:

  1. Initialize a new zig project via zig init
  2. Run the following prompt within codex, the output should be as mentioned here:

› Run the simple test in ./src/main.zig


• I’m going to run the Zig unit test in src/main.zig and show its output.

• Explored
  └ List main.zig

✔ You approved codex to run zig test ./src/main.zig this time

• Ran zig test ./src/main.zig
  └ execution error: Sandbox(Signal(11))

• Running the zig test (23s • esc to interrupt)

What is the expected behavior?

The expected behaviour here is for the test to run and return a sane return code / some stdout output. None of this happens and a signal 11 is returned

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingsandboxIssues related to permissions or sandboxing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions