MoonshotAI / MoonshotAI/kimi-cli

Shell tool timeout does not terminate child processes

Open
#2,310 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
11.4k
Forks
1.3k
Avg merge
9h 47m
Merged PRs (30d)
2

Description

What version of Kimi Code CLI is running?

kimi, version 1.44.0

Which open platform/subscription were you using?

Kimi Code

Which model were you using?

kimi-for-coding

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64

What issue are you seeing?

When the Shell tool's 60-second timeout is triggered, the tool returns a timeout error but the underlying child process continues running in
the background indefinitely.

What steps can reproduce the bug?

When the Shell tool's 60-second timeout is triggered, the tool returns a timeout error but the underlying child

What is the expected behavior?

when shell timeout

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Shell tool's 60-second timeout handling and trace how child processes are started and stopped. Reproduce the timeout on Linux or WSL2, then verify that the timeout error is returned and the underlying child process no longer continues running.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.