-
Notifications
You must be signed in to change notification settings - Fork 76
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(WIP): enhance supersim visual cli #257
feat(WIP): enhance supersim visual cli #257
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate your contribution!
But this does not satisfy the requirements. The binary that people run is supersim
and that won't bundle in the typescript tooling (node, pnpm, etc.). Also we shouldn't be adding pnpm/typescript dependencies here.
In order for people to use this, they now need to clone the supersim repo, which is not the way supersim
is meant to be consumed.
I think what would be helpful is to implement a TUI directly into supersim. One framework is https://github.com/charmbracelet/bubbletea but there are others too.
Thank you for your feedback; let me review it to propose an implementation. |
Hi @wolfcito! I'm reviewing open PRs for repo maintenance and wanted to check in. Are you planning to make changes to this PR or can it be closed? Thanks, please let me know! |
Hi @fainashalts , I’d really like to work on this. I’ll be working on it over the weekend. If I find the time is too tight, I’ll let you know to close it. |
…al-cli-experience
…al-cli-experience
I see that I have spent too much time on research, so I think it’s better to close it for now. |
Description
This PR introduces the first phase of improving the visual development experience in
supersim
when running multiple nodes. The initial implementation usesmprocs
to run and displaysupersim
nodes in parallel, providing a quick solution that centralizes logs in a single interface. Whilemprocs
doesn’t support all the desired visual enhancements (such as log tagging, use of emojis and icons, and collapsible sections), it provides a useful structure for running multiple nodes in parallel and is a solid starting point.Steps implemented in this phase:
mprocs
to launchsupersim
and multipleanvil
nodes in parallel.supersim-logs
) for easier access and future review.Future steps to improve the visual experience:
[TRANSACTION]
,[DEPOSIT]
, etc.) to better organize information.This initial phase establishes a functional foundation for parallel log visualization, with the possibility of further enhancement in later steps.
Tests
supersim
andanvil
nodes launch correctly in parallel usingmprocs
.supersim-logs
folder.mprocs
is primarily visual and focuses on developer experience. Future planned visual enhancements may include additional tests.Additional context
This PR represents the initial step towards an improved CLI for logs in
supersim
, wheremprocs
provides a provisional solution that simplifies parallel execution of multiple nodes. This initial phase offers a basic visualization while further specific features are developed to enhance the visual experience.Metadata