UX-friendly logs and progress across all pipelines#333
Open
JCHAVEROT wants to merge 15 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Related issue: #278
Subsequent to: #323
This PR adds one shared UX module and moves every pipeline onto it. Runs now show a short intro, a single progress bar, and a short summary per step. Noise and debug logs are hidden by default, and
MMORE_VERBOSE=1brings them back for debugging. Also some cleaning in the TUI to use mmore's brand color (#f7cb46currently but likely to be changed soon)Changes
src/mmore/ux.py: shared logging, colors, spinner, progress bar, and step intro/summary cardsINFOlogs toDEBUGMMORE_VERBOSEto toggle full debug outputMMORE_VERBOSE# To have full logs when debugging MMORE_VERBOSE=1 mmore process --config_file examples/process/config.yamlDemo
Current version in
EPFLiGHT/mmore:masterold_compressed.mp4
New version
new_compressed.mp4