canonical / canonical/multipass

[daemon] Standardize sending messages to the user CLI

Open
#4,718 0 comments 1 reaction 0 assignees View on GitHub
CLI jira needs triage
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

**What are you trying to do?**
Related to #2543 and #3229, we need a standardized way of sending messages to the user. This will help with any future UI/UX work. Currently, only some protobuf replies have fields for it, but the major difficulty is that said replies live in the call stack mostly on the daemon, and passing them on every function call require a major re-work. Different commands use their own methods to achieve this when necessary.

Contributor guide

Open the contributing guide

Research direction

Start by reading related issues #2543 and #3229, then trace how daemon commands currently send messages to the user CLI. Compare the existing protobuf reply fields with command-specific messaging methods and follow the daemon call stack. Done means the project has an agreed standardized approach that addresses the stated message-passing problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.