microsoft / microsoft/aspire

Aspire CLI killing all processes

Open
#18,234 6 comments 0 reactions 1 assignee Claimed by @mitchdenny View on GitHub
area-cli triage:bot-seen
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

I have a lot of parallel test runs at the same time, and then I need to run Aspire Run.

% **aspire run**
🛑 Stopping previous instance (AppHost PID: 45161, CLI PID: N/A)
🛑 Stopping previous instance (AppHost PID: 45158, CLI PID: N/A)
🛑 Stopping previous instance (AppHost PID: 49283, CLI PID: N/A)
🛑 Stopping previous instance (AppHost PID: 45160, CLI PID: N/A)

And as you can see, it kills all processes, breaks my tests, and test runs all this process again, and stops the process from Aspire running.

### Expected Behavior

Aspire shouldn’t kill all processes.

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### Aspire doctor output

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.