`Work locally` picks up PR by branch name startsWith (??) not exact branch name so gets the wrong association
Resolved 💬 1 comment Opened May 20, 2026 by demyte Closed Jun 10, 2026
What version of the Codex App are you using (From “About Codex” dialog)?
26.513.40821
What subscription do you have?
Pro
What platform is your computer?
Windows
What issue are you seeing?
When using the 'Work Locally' feature on a repo, the Codex UI will associate it with a PR in my workspace that is not correct.
What steps can reproduce the bug?
- Create a branch called
main-something - Create a PR for this to go into
main - I assume you dont have to merge it
- Start a new
Work locallyon that same repo where your default branch ismain
You will see the UI shows there is a PR relevant becasue it seems to be doing starts with matching on the PR from branch.
<img width="2546" height="1076" alt="Image" src="https://github.com/user-attachments/assets/fd3fdbcb-995b-425e-aaa1-7b589389d34a" />
<img width="1057" height="180" alt="Image" src="https://github.com/user-attachments/assets/c4402bc2-2be7-4235-9eba-4e0651affe54" />
What is the expected behavior?
No PR should be showing.
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗