Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Parallelism, Task Dependency, Waves - Good idea but hosed

Open NeilPitman opened this issue 6 months ago • 5 comments

Before opening, please confirm:

Operating System

win32

Kiro Version

0.12.155

Bug Description

Version: 0.12.155 (user setup) VSCode Version: 1.107.1 Commit: 103c4f954913f697123acb72ef6b2266dd9272b5 Date: 2026-05-06T01:12:04.463Z Electron: 39.6.0 Chromium: 142.0.7444.265 Node.js: 22.22.0 V8: 14.2.231.22-electron.0 OS: Windows_NT x64 10.0.19045

This feat is substantial, but not huge. I was pleased to see that it tries to schedule concurrent tasks, but there are signicant problems, and implementation is taking much longer than normal. I don't have receipts for all this,but this is how I see it unfolding.

  1. The dependency graph seems keep concurrent work on the same resource in different waves. That's good. but it does not consider the build process. Each of the subagents is fussing around with files. and then builds individual files, tests individual files and then runs full tests. So if one subagent is still fussing around with code, while another is running the full system test - well, you get errors.

  2. similar problem. My system laptop is not powerful, so when 4 subagents are building code, the system gets sluggish, and tests runs long. Tests time out. The subagent gets annoyed and decides to bin everything by killing the build process and trying again. I have a BIG problem with this at the best of times, but in this context it starts killing builds from the other subagents.

  3. It doesn't seem that the completion is marked in tasks.md in a timely manner. I had tasks 11.8, 11.9, 11.10 running concurrently (even though that's not quite legit according to the waves below). I see 10.10 report success, then 11.9, then 11.8. They have the nice summary - beautiful. But tasks.md still has [-]for all three. As 11.8 is finishing up, it hits a context limit so it collects context summary and spawns another context. It wakes up knowing it's doing specs, so it gropes around for what it should do - Look, 11.9 is queued - let me do that (nevermind you just flippin' completed it), so it looks around and runs tests and more tests, some time out, and it finally figures out it was already done. 11.10, same thing. An extra 20 minutes and some tokens because subagents cannot report status back to the plan.

  4. Maybe or maybe not this is related to another problem I see related to tasks being in the last stages of completion, but the context spills over. The task was doing something, but when it wakes up, it says "well on to the next thing" I don't get a good feeling here. It seems the summary context used to keep the plot better.

  5. Another Maybe or Maybe not: These menu prompts : do you want a dedicated spec? or Do you want to start with Requirements or design? are a good idea, but they have become deaf and stubborn. If asked Requirements or Design? and you answer "before we continue, we need to discuss the what happens for logging security breaches". Of course it says, "Requirements, thank you. I will start building the requirements.md "

  6. finally, there is no way to really understand what is what. The Tasks List only shows which content is active. There are background builds or tests that are running zombie - they can't easily be related to the subagents. I can't find the subagents that have completed vs which is doing what or what task they are doing. Sure I can poke around, but that's not why I got Kiro.

in all, the concurrent subagents are tripping over themselves. If one is building and one curating documents, it goes pretty well. You have the bones of something, but the last mile is crippling the value delivery.

{
  "waves": [
    { "id": 0,  "tasks": ["1"] },
    { "id": 1,  "tasks": ["2", "3", "4", "5"] },
    { "id": 2,  "tasks": ["2.1", "3.1", "4.1", "6", "9", "10"] },
    { "id": 3,  "tasks": ["7", "8", "9.1"] },
    { "id": 4,  "tasks": ["11"] },
    { "id": 5,  "tasks": ["7.1", "8.1", "11.1", "12"] },
    { "id": 6,  "tasks": ["7.2", "8.2", "11.2", "14"] },
    { "id": 7,  "tasks": ["7.3", "8.3", "11.3"] },
    { "id": 8,  "tasks": ["7.4", "8.4", "11.4"] },
    { "id": 9,  "tasks": ["11.5"] },
    { "id": 10, "tasks": ["11.6"] },
    { "id": 11, "tasks": ["11.7"] },
    { "id": 12, "tasks": ["11.8"] },
    { "id": 13, "tasks": ["11.9"] },
    { "id": 14, "tasks": ["11.10"] }
  ]
}

Steps to Reproduce

Create a feat with parallelizable tasks, ideally all programming tasks using same compile and tests

Run it so the builds and tests are running concurrently in separate subagents

Expected Behavior

I expect parallel subagents to build solid code faster than single threaded.

Conversation ID

6e853165-45eb-4909-bff7-ec2dee2c91f7 aab23a92-e65e-4619-bdb3-7384c36cdbdd

Additional Context

No response

NeilPitman avatar May 11 '26 20:05 NeilPitman

🤖 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 problems with sub-agent functionality and delegation behavior. The new issue describes sub-agents tripping over themselves and coordination problems, while #5928 reports issues with delegation to sub-agents and removal of critical functionality from the main agent.

github-actions[bot] avatar May 11 '26 20:05 github-actions[bot]

It's not duplicate

NeilPitman avatar May 11 '26 20:05 NeilPitman

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 May 11 '26 20:05 github-actions[bot]

Hi! Several updates have shipped since this was reported — the latest is Kiro IDE 1.0.52, which includes improvements to the areas described in this issue. Could you update and let us know if this is still happening?

To update: download from kiro.dev.

If the issue persists after updating, please share:

  • Your current version (Help → About)
  • Whether the steps to reproduce still apply
  • A Conversation ID if possible

AnilMaktala avatar Jun 29 '26 18:06 AnilMaktala

Closing this as stale — the retest / follow-up request from a week ago hasn't received a reply, so we're closing to keep the queue focused. If you're still hitting this on the current version, please open a new issue with a fresh Conversation ID and your current Kiro version — those help a lot.

To update: download from kiro.dev.

AnilMaktala avatar Jul 06 '26 20:07 AnilMaktala