Commit Message Generation Issue
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
darwin
Kiro Version
1.0.437
Bug Description
Hi Team, Even though I have my changes staged but still not able to generate AI commit message automatically it says nothing staged not able to generate message error
Steps to Reproduce
- make any changes to your repo
- stage them
- try to generate commit message
- You will see error saying "No staged changes for commit message"
Expected Behavior
It should generate commit message
Conversation ID
No response
Additional Context
No response
Thanks for reporting this issue! 🙏 We can see you're running into trouble with AI commit message generation not recognizing your staged changes, even though they are properly staged — that's definitely not the expected experience. A maintainer will take a look at this shortly to help figure out what's going on. We appreciate you including the detailed reproduction steps — that really helps! 🚀
Same issue here!
I've experiencing same issue, but this is happening only for workspaces containing multiple projects. In case of a workspace with single project, it works as expected
Thanks for raising this. This is the same staged changes detection issue as #10984 — the Generate Commit Message command checks repository.state.indexChanges which may be empty if the VS Code Git extension state hasn't refreshed after staging. Closing as a duplicate of #10984.