Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(emitter): decouple message emitter and printer #300

Draft
wants to merge 4 commits into
base: poc/cli-to-cli-protocol
Choose a base branch
from

Conversation

cmatsuoka
Copy link
Contributor

Introduce a common protocol that sits between message emitters and the
screen printer and log handler, as the first step to allow the local
system to listen for remotely emitted messages. This is intended to be
used for emitter message streaming from managed instances.

Signed-off-by: Claudio Matsuoka [email protected]

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run tox?

Introduce a common protocol that sits between message emitters and the
screen printer and log handler, as the first step to allow the local
system to listen for remotely emitted messages. This is intended to be
used for emitter message streaming from managed instances.

Signed-off-by: Claudio Matsuoka <[email protected]>
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

Attention: Patch coverage is 89.81481% with 11 lines in your changes missing coverage. Please review.

Please upload report for BASE (feature/cli-to-cli-protocol@41a4f28). Learn more about missing BASE report.

Files with missing lines Patch % Lines
craft_cli/messages.py 89.62% 9 Missing and 2 partials ⚠️
Additional details and impacted files
@@                      Coverage Diff                       @@
##             feature/cli-to-cli-protocol     #300   +/-   ##
==============================================================
  Coverage                               ?   93.86%           
==============================================================
  Files                                  ?        7           
  Lines                                  ?     1238           
  Branches                               ?      244           
==============================================================
  Hits                                   ?     1162           
  Misses                                 ?       68           
  Partials                               ?        8           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Note that server side handling of captured messages will be done by
the emitter and not the printer.

Signed-off-by: Claudio Matsuoka <[email protected]>
Signed-off-by: Claudio Matsuoka <[email protected]>
@cmatsuoka cmatsuoka removed the request for review from tigarmo November 11, 2024 13:29
@cmatsuoka cmatsuoka changed the base branch from feature/cli-to-cli-protocol to poc/cli-to-cli-protocol November 11, 2024 13:31
@cmatsuoka cmatsuoka closed this Nov 11, 2024
@cmatsuoka cmatsuoka reopened this Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant