Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Commit Message Generation Issue

Open chchouhan opened this issue 2 months ago • 4 comments

Before opening, please confirm:

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

  1. make any changes to your repo
  2. stage them
  3. try to generate commit message
  4. 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

chchouhan avatar Sep 09 '26 21:09 chchouhan

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! 🚀

github-actions[bot] avatar Sep 09 '26 21:09 github-actions[bot]

Same issue here!

AbdelrahmanElboshi avatar Sep 13 '26 19:09 AbdelrahmanElboshi

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

marcopivi-del avatar Sep 15 '26 09:09 marcopivi-del

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.

AnilMaktala avatar Sep 23 '26 16:09 AnilMaktala