Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Bug: Duplicate parallel responses on single submission

Open welson9378 opened this issue 10 months ago • 22 comments

Before opening, please confirm:

Operating System

win32

Kiro Version

0.8.86

Bug Description

Every time I submit a question, the IDE triggers two answer generations at the same time. This results in two identical or parallel responses being displayed simultaneously.

Steps to Reproduce

1.Switch to Vibe mode. 2.Submit any question or prompt in the chat box. 3.Observe the output.

Expected Behavior

Only one response should be generated per submission.

Conversation ID

4376ddc9-b788-423d-ac21-db5df2668391 591b0195-f37f-41f4-b16f-871416e04bd2 93b1bf60-a91b-4867-8d79-8949d60b0667 92dbcf2e-2956-465d-8f34-c0e747291b4e 136b562f-c6a7-4ba2-87a8-c3b68cca0751

Additional Context

No response

welson9378 avatar Jan 14 '26 03:01 welson9378

This has been an issue for me as well. MacOS, Github signin. Consuming extra tokens, nerves, and time.

IrakliXYZ avatar Feb 02 '26 18:02 IrakliXYZ

I've noticed the same bug. I've tried to clean up whole system cache, to restart macOS, but Kiro tries to control multiple sessions (2 sessions) in one chat tab.

I try DO NOT stop evaluating and tasks implementation, so I click "Cancel" immediately, then one session is down and the other Kiro AI session tries to resolve task. But I've notices as well, at this case Kiro DOES NOT cover the whole context and it works as weak model.

morozow avatar Feb 09 '26 10:02 morozow

I have the same issue as well. Not first time and I should have reported weeks ago. Essentially double charged too.

Jerbud308 avatar Feb 11 '26 00:02 Jerbud308

This bug is now more prevalent than couple of weeks ago. It used to happen occasionally, now about 90% of the time. It's costing me much more credits and can cause significant issues when Kiro accesses the same file and makes changes to it in two different operations at the same time. It also causes discrepancies between Kiro's cache and what's on disk. Big issue, please fix!

polren6 avatar Feb 12 '26 00:02 polren6

This bug is now more prevalent than couple of weeks ago. It used to happen occasionally, now about 90% of the time. It's costing me much more credits and can cause significant issues when Kiro accesses the same file and makes changes to it in two different operations at the same time. It also causes discrepancies between Kiro's cache and what's on disk. Big issue, please fix!

Hopefully the more we comment about this someone will actually respond... If its not fixed I'll be forced to move elsewhere.

Jerbud308 avatar Feb 12 '26 02:02 Jerbud308

@AnilMaktala helped me with this in #5473

1. Close Kiro completely
2. Delete the following directories:
  - %APPDATA%\Kiro\User\workspaceStorage
  - %APPDATA%\Kiro\User\globalStorage
  - %APPDATA%\Kiro\Local Storage
3. Restart Kiro
⚠️ This will delete your conversation history. But it has been a more durable fix than clearing workspaceStorage alone (which you noted only works temporarily).

I did that and it did solve this for me. (I've worked through two specs today with no issue.)

-Ken

kcone avatar Feb 12 '26 23:02 kcone

@AnilMaktala Good point. But let me add more context – https://github.com/kirodotdev/Kiro/issues/5727

38G /Users/{user_name}/Library/Application\ Support/Kiro/User/globalStorage/kiro.kiroagent

38G is not a meaningful size for a local program file. Since Kiro is AWS-based, the default cloud solution is AWS. I think it would be much better to add a point about an external cloud data storage policy and to set up a valuable *.chat artifact to save user dialogs.

Fix PR: https://github.com/kirodotdev/Kiro/pull/5755

morozow avatar Feb 13 '26 14:02 morozow

One more important symptom: the duplicate execution happens only when I hit Enter on my keyboard, not when I click the “arrow” to submit a command. That’s on my MacBook Pro (latest model). It’s consistent, tested it 20 times.

Adam T Bistram


From: Raman @.> Sent: Friday, February 13, 2026 6:11:42 AM To: kirodotdev/Kiro @.> Cc: polren6 @.>; Comment @.> Subject: Re: [kirodotdev/Kiro] Bug: Duplicate parallel responses on single submission (Issue #4893)

[https://avatars.githubusercontent.com/u/5439087?s=20&v=4]morozow left a comment (kirodotdev/Kiro#4893)https://github.com/kirodotdev/Kiro/issues/4893#issuecomment-3897445405

@AnilMaktalahttps://github.com/AnilMaktala Good point. But let me add more context – #5727https://github.com/kirodotdev/Kiro/issues/5727

38G /Users/{user_name}/Library/Application\ Support/Kiro/User/globalStorage/kiro.kiroagent

38G is not a meaningful size for a local program file. Since Kiro is AWS-based, the default cloud solution is AWS. I think it would be much better to add a point about an external cloud data storage policy and to set up a valuable *.chat artifact to save user dialogs.

— Reply to this email directly, view it on GitHubhttps://github.com/kirodotdev/Kiro/issues/4893#issuecomment-3897445405, or unsubscribehttps://github.com/notifications/unsubscribe-auth/B3KBMTDKCMKMCJMPU3IU6334LXLR5AVCNFSM6AAAAACRT2CKTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTQOJXGQ2DKNBQGU. You are receiving this because you commented.Message ID: @.***>

polren6 avatar Feb 13 '26 17:02 polren6

This issue is extremely serious. The way I reproduce it now is by pasting an image into the dialog, and it happens 100% of the time. The side effects are that two agents start executing in parallel, and also, after closing the IDE, all previous session history is lost and it rolls back to a much earlier session. This problem has existed for over six months. Previously, there was an even more severe issue where, after closing the IDE, the modified code would roll back to at least two sessions prior. Now, the code doesn't roll back, but the session does—meaning the latest two sessions are lost.

liuyihui1998 avatar Feb 18 '26 05:02 liuyihui1998

Hey @liuyihui1998, Thank you for reporting. I understand this is a frustrating and serious issue for you.

To help us investigate and fix this, we need a few specific pieces of information:

Reproduction Steps:

  • You mentioned pasting an image into the dialog triggers it 100% of the time — could you clarify which dialog specifically? (e.g., the chat input, an inline edit prompt, etc.)
  • What type of image? (screenshot from clipboard, copied from browser, file pasted from explorer, etc.)
  • Are you using any specific model/provider when this happens?
  • What exactly do you observe when it triggers? (e.g., do you see two response streams appearing simultaneously in the chat?)

Environment Info:

  • OS and version (e.g., Windows 11, macOS Sonoma, Ubuntu 24.04)
  • Extension/plugin version
  • Are you using remote development (SSH, WSL, containers, etc.)?

Logs:

  • Could you reproduce the issue with logging enabled and share the relevant logs?
  • Specifically, logs from a session where you observe the dual-agent execution and/or the session history rollback

Additional Questions:

  • When you say "two agents start executing in parallel," do you see two distinct responses being generated simultaneously in the UI, or do you infer this from the behavior/output?
  • Regarding session history loss — are you referring to the conversation history in the chat panel, or something else? Does this happen on every IDE restart, or only after the dual-agent issue occurs?
  • You mentioned this has existed for six months — has anything changed in that time (better/worse), or has the behavior been consistent aside from the code rollback issue improving?

Any screenshots or screen recordings showing the behavior would also be extremely helpful.

We want to get to the bottom of this — the more details you can provide, the faster we can identify and fix the root cause.

AnilMaktala avatar Feb 19 '26 01:02 AnilMaktala

is any solution for this case?

wiraaw avatar Mar 03 '26 00:03 wiraaw

Since this bug is double charging my credits, how I will receive a refund?

lvlstkper avatar Mar 04 '26 02:03 lvlstkper

Why hasn't this serious issue been fixed yet? It's consuming a lot of my credit.

nagisakon avatar Mar 04 '26 08:03 nagisakon

This is burning my credit.

engrsketch avatar Mar 04 '26 11:03 engrsketch

An update yesterday, and no solution for this bug. Can we at least get an update?

kpperez avatar Mar 06 '26 14:03 kpperez

@AnilMaktala Additionally, I see tips for this issues solution. Looking at Kiro IDE UI behaviour I see following details:

  1. User presses Enter –> user duplicates sent prompt to Kiro AI
  2. User sends prompt by Send button click –> user has NO duplicates, but ---> prompt is duplicated into text box.

As a result, I see Kiro app makes double text input box filling. Potentially, when user presses Enter, then Kiro IDE handles text box which has a filled out duplication as well. But when user clicks Send prompt button, then click event is a single instance by default, rather than Enter press has a handler listeners with a timeline, and user see a duplicate in prompt message field only.

morozow avatar Mar 06 '26 15:03 morozow

Hey everyone, Thank you all for your continued patience and for the detailed reports, especially @morozow for the excellent breakdown of the root cause behavior.

We're happy to share that we have made improvements to address this issue in the latest release v0.10.78! 🎉

Could you please:

  • Update to v0.10.78
  • Test by pressing Enter to submit a prompt
  • Let us know if you are still experiencing duplicate responses or double credit charges

Regarding credit refunds for those affected — we hear you @levelstock and others. Please reach out to support team with your account details and conversation IDs and we will do our best to make this right.

Again, we apologize for the inconvenience this has caused and appreciate your patience while we worked through this

AnilMaktala avatar Mar 06 '26 20:03 AnilMaktala

@AnilMaktala Duplication bug still not resolved Version: 0.10.78 VSCode Version: 1.107.1 Commit: f3e4928cf245d100dc44e637bdeefd3ea095589a Date: 2026-03-05T00:57:42.153Z Electron: 39.6.0 Chromium: 142.0.7444.265 Node.js: 22.22.0 V8: 14.2.231.22-electron.0 OS: Darwin arm64 25.3.0

"Enter" Button Click Event
Image 1 Image 2

morozow avatar Mar 08 '26 11:03 morozow

Got the same problem.

sbos03 avatar Mar 10 '26 08:03 sbos03

The bug is still not resolved in the newest update

ckovacs3 avatar Mar 10 '26 17:03 ckovacs3