canonical / canonical/multipass

daemon exit is blocked if the client is currently connected

Open
#1,126 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

If the daemon is trying to exit and the client is currently connected, such as `launch`, the daemon exit is blocked via grpc shutdown due the active client connection.

This needs further investigation to see whether it's a grpc issue or if it's some error in how we handle shutdown of the grpc server in such cases.

Contributor guide

Open the contributing guide

Research direction

Investigate the daemon shutdown path and its gRPC server handling, reproducing the case where a client such as `launch` remains connected while the daemon exits. Determine whether the behavior comes from gRPC or the shutdown handling; done means the daemon can exit without being blocked by that active connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, grpc
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.