Codebase could not find a PR created from Cloud Agent in order to close it

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

When I attempted to close a PR created by a cloud agent through Codebase I got the following error:

Failed to close pull request: Origin pull request #3 not found in repo r_01m08svs97fwg9nnvq0s37k5yg

I did close the PR on Github and it did report it as closed afterwards.

Steps to Reproduce

Cloud agent created a PR. Attempted to close it via menu “…”

Expected Behavior

Close PR on Codebase and Github

Operating System

MacOS

Version Information

Cursor Cloud Agent

For AI issues: which model did you use?

N/A

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. Here’s what’s happening: when a repo is synced from GitHub, GitHub stays the source of truth for PRs. So what you did, closing the PR on GitHub and having the status sync back to Codebase, is the correct flow right now.

The Origin pull request #3 not found error when closing from Codebase on a synced repo is a known gap we’re tracking. It’s not an issue with your setup. Until there’s a fix, please close those PRs on GitHub like you did.

I can’t share an ETA yet, but I’ll reply in the thread once there’s an update.

Thanks for the update!