CLI -> Cloud Task Error

Resolved 💬 3 comments Opened Oct 27, 2025 by lunamidori5 Closed Jan 17, 2026

What version of Codex is running?

codex-cli 0.0.0 (built from the AUR should be 0.50)

What subscription do you have?

Teams / Enterprise

Which model were you using?

gpt-5-codex high

What platform is your computer?

Linux 6.12.54-2-cachyos-lts x86_64 unknown

What issue are you seeing?

Due to being unable to set a branch when using codex cloud exec --env numbers {request} the task fails cloudside due to no main branch.

What steps can reproduce the bug?

Run codex cloud exec --env numbers {request} on a repo that has no main branch. (numbers is placeholder for your env str)

What is the expected behavior?

The cloudtask starts with the right branch or we could add --branch to codex cloud exec

Additional information

Thank you for your hard work devs!

View original on GitHub ↗

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