Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After agent changes have already been committed, clicking Review in Agent chat opens a review flow where the Commit button is still enabled.
When that first Commit button is clicked, it does not immediately show a warning. Instead, it opens the commit dialog with selected files and an auto-generated commit message. After that, clicking the second Commit button in that dialog shows “There are no changes to commit.”
Post-commit review may be intentional, but the enabled commit flow is misleading in this state. If there are no pending changes, the UI should clearly indicate that (for example, “Already committed” / “No pending changes”) and disable or replace commit actions, rather than allowing users to proceed through commit UI steps that predictably end in this warning.
This adds inconvenience because it is unclear whether prior changes were actually committed and whether it is safe to start a new task. The current behavior introduces uncertainty and extra verification steps in normal workflow.
Steps to Reproduce
- Let an agent complete changes and commit them (or otherwise ensure the changes are already committed).
- In Agent chat, click Review.
- Click the first Commit button shown from the review state.
- Observe that Cursor opens a commit dialog with selected files and an auto-generated commit message.
- Click the second Commit button in that dialog.
- Observe warning: “There are no changes to commit.”
- Run Developer: Reload Window and repeat — issue still persists.
Expected Behavior
If the reviewed changes are already committed, the UI should clearly indicate no pending changes and disable/replace commit actions, rather than allowing users through commit UI steps that predictably fail.
Operating System
MacOS
Version Information
IDE: 2.4.37 (Universal)
Does this stop you from using Cursor
No - Cursor works, but with this issue