codex icon indicating copy to clipboard operation
codex copied to clipboard

Codex CLI: File suggestion bug (“no matches”) @meantianing

Open looper200 opened this issue 3 months ago • 8 comments

What version of Codex is running?

codex-cli 0.34.0

Which model were you using?

gpt-5

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 unknown

What steps can reproduce the bug?

using @filename the file

Image

The file is there and can't suggest it also .codexignore files:

dataset/
__pycache__/
onechar/
test.ipynb
*.pth
*.ckpt
*.ipynb
events.out*

.gitignore

dataset/
__pycache__/
logs/
onechar/
test.ipynb
*.pth
*.ckpt
*.ipynb
events.out*

What is the expected behavior?

It should suggest files. I only see this bug in recent releases.

What do you see instead?

No response

Additional information

No response

looper200 avatar Sep 11 '25 19:09 looper200

Exactly the same for me!

Image

duarteocarmo avatar Sep 12 '25 09:09 duarteocarmo

Also running into this bug on WSL2 (Ubuntu 24.04)

sellerscrisp avatar Sep 12 '25 17:09 sellerscrisp

I hope they fix that soon

looper200 avatar Sep 12 '25 17:09 looper200

window11 too

Lee-Ju-Yeong avatar Sep 16 '25 00:09 Lee-Ju-Yeong

This should be fixed in https://github.com/openai/codex/pull/3783, I'm using the cli, so feel free to build from source.

aminroosta avatar Sep 17 '25 11:09 aminroosta

Thanks @aminroosta! - let's see if it gets merged. Annoying...!

duarteocarmo avatar Sep 17 '25 11:09 duarteocarmo

Hope this gets merged soon!

sellerscrisp avatar Sep 25 '25 17:09 sellerscrisp

Still experiencing this on v0.66.0 on MacOS 26.2.

Edit: Same on v0.71.0 Edit: Same on v0.72.0 Edit: Same on v0.75.0


› !ls

• You ran ls
  └ AGENTS.md
    CLAUDE.md
    Makefile
    QUICK_START.md
    README-CLOUD-AGENT.md
    README-DEVELOPMENT.md
    README-PRODUCTION.md
    README-STAGING.md
    README-TROUBLESHOOTING.md
    README.md
    assets
    biome.json
    docker
    docker-compose.dev.yml
    docker-compose.perf.yml
    docker-compose.prod.yml
    docker-compose.staging.yml
    docker-compose.yml
    docs
    logs
    node_modules
    package.json
    plan
    scripts
    server
    sync_db.sh
    tools.yaml
    ui

 
› @READ
 
  no matches

Interestingly, the only two files it sees are:

› @.
 
  .env.example
  .gitignore
› @e
 
  .env.example
  .gitignore

evanheckert avatar Dec 10 '25 21:12 evanheckert