Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

The "Generate Commit Message" button in the Source Control panel stopped working.

Open KK-Irving opened this issue 7 months ago • 4 comments

Before opening, please confirm:

Operating System

Windows 10 (NT 10.0.19044)

Kiro Version

0.11.132

Bug Description

Before opening, please confirm:

  • [x] I have searched for duplicate or closed issues

Operating System

Windows 10 (NT 10.0.19044)

Kiro Version

0.11.132

Bug Description

The "Generate Commit Message" button in the Source Control panel stopped working. Clicking it shows two error messages:

  1. No Git repository or input box available
  2. Git extension not found

Important context:

  • This feature was working before in a previous version of Kiro
  • The Source Control panel itself works fine — I can see staged changes, unstaged changes, and the commit input box
  • The built-in Git extension (vscode.git) is not disabled — confirmed via Extensions: Show Built-in Extensions
  • Kiro logs confirm the Git extension activates successfully:
    ExtensionService#_doActivateExtension vscode.git-base, startup: true
    ExtensionService#_doActivateExtension vscode.git, startup: true
    

Steps to Reproduce

  1. Open any project with a Git repository
  2. Make changes and stage them (or leave unstaged)
  3. Click the "Generate Commit Message" sparkle icon in the Source Control panel
  4. Observe the two error notifications

What I've tried (none of these fixed it):

  • Fully closing and restarting Kiro
  • Clearing Cache, CachedData, and CachedExtensionVSIXs directories under %APPDATA%\Kiro\
  • Confirming Git built-in extension is enabled and not disabled
  • Verified git status works correctly in the terminal

Expected Behavior

Clicking "Generate Commit Message" should analyze the staged/unstaged changes and generate a commit message in the input box.

Actual Behavior

Two error notifications appear:

  • "No Git repository or input box available"
  • "Git extension not found"

Environment Details

  • OS: Windows 10 (NT 10.0.19044)
  • Kiro Version: 0.11.132
  • Git Version: 2.51.2.windows.1
  • Kiro Install Path: E:\Programs\Kiro\

Steps to Reproduce

  1. Open any project with a Git repository
  2. Make changes and stage them (or leave unstaged)
  3. Click the "Generate Commit Message" sparkle icon in the Source Control panel
  4. Observe the two error notifications

Expected Behavior

Clicking "Generate Commit Message" should analyze the staged/unstaged changes and generate a commit message in the input box.

Conversation ID

2bfb99f9-4562-4d7c-9213-2198c4d2b08e 2bfb99f9-4562-4d7c-9213-2198c4d2b08e 2bfb99f9-4562-4d7c-9213-2198c4d2b08e 2bfb99f9-4562-4d7c-9213-2198c4d2b08e 2bfb99f9-4562-4d7c-9213-2198c4d2b08e

Additional Context

No response

KK-Irving avatar Apr 22 '26 02:04 KK-Irving

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both issues report the exact same problem with the 'Generate Commit Message' button not working in the Source Control panel, with identical error messages and symptoms

github-actions[bot] avatar Apr 22 '26 02:04 github-actions[bot]

I've read issue #7569: "Generate commit message" feature broken after recent Kiro update (95% similar).

I agree with this reply: https://github.com/kirodotdev/Kiro/issues/7569#issuecomment-4270716268

So, please resolve this issue, thanks.

KK-Irving avatar Apr 22 '26 06:04 KK-Irving

Thank you for your feedback! 🙏

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Apr 22 '26 06:04 github-actions[bot]

This is a duplicate of #7569, which tracks a known Git/Source Control issue in Kiro IDE 0.11.132. The issue has been fixed and the fix will be available soon. Please follow #7569 for future updates.

AnilMaktala avatar Apr 22 '26 13:04 AnilMaktala