ModelEngine-Group / ModelEngine-Group/nexent

[Bug] After the addition of container MCP fails, the container still occupies resources and cannot be deleted.

Open Beginner friendly
#2,759 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.9k
Forks
731
Avg merge
19h 34m
Merged PRs (30d)
172

Description

Nexent Version

2.0.0

Problem Description

When adding container MCP service fails to connect (sdk/nexent/docker/container/docker_client.py async def start_container _wait_for_service_ready ContainerConnectionError), the container keeps restarting without being deleted, causing the container to keep running and occupying resources.

Reproduction Steps

No response

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 in sdk/nexent/docker/container/docker_client.py, reading start_container and its _wait_for_service_ready call, especially the ContainerConnectionError path. Reproduce a failed container MCP connection and trace the container state afterward; done means the failed container no longer restarts or continues occupying resources and can be deleted.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend, infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.