BUG: Codex does not look at project type, assumes python project

Resolved 💬 3 comments Opened Jun 26, 2025 by guidedways Closed Aug 7, 2025

What version of Codex is running?

0.1.2505172129

Which model were you using?

gpt-4.1-mini-2025-04-14

What platform is your computer?

macOS

What steps can reproduce the bug?

First prompt and I get this the following. This is inside of a Swift Project folder. It did not even check what the type of project is, assumed it's python. Claude Code with the same command knows what to do, it looks at the code, finds where the tests are, runs them successfully using xcodebuild.

user
Run all the unit tests to confirm they all pass

    command

    $ pytest -q --tb\=short

    command.stdout (code: 5, duration: 1.6s)


    no tests ran in 0.28s


codex
It looks like no tests were found or run in the current directory. Could you please confirm where the tests are located or provide more details about the test framework and setup? This
will help me run the tests properly.

What is the expected behavior?

I expect codex to first look at the file / folder structure, figure out what the project does, how the tests are configured, what language / stack this is.

What do you see instead?

Zero effort in trying to even see what the project is or does and assumed this is a python project.

Additional information

Claude Code does the entire thing in the first prompt (without further hints) and produces a summary of all the tests that passed, including a full count.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗