Skip to content

Show dependency issues in the UX #421

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

Closed
levmi opened this issue Sep 16, 2022 · 2 comments · Fixed by #541
Closed

Show dependency issues in the UX #421

levmi opened this issue Sep 16, 2022 · 2 comments · Fixed by #541
Assignees
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request ui

Comments

@levmi
Copy link
Contributor

levmi commented Sep 16, 2022

Problem

As currently architected, at litd start up, in order to open the UX, all of the subservers need to startup meaning all of the litd dependencies (LND version, etc.) have to be aligned. With that behavior, for users using GUI experiences because of ease or lack of technical skills, when a litd update occurs that changes dependencies, they encounter an issue where the app or experience doesn't open due to dependency mismatch. However, given this user type, it can be difficult for them to debug the issue and understand the problem and solution.

Potential Solution

We could re-architect litd so that it can actually "startup" without all of the subservers being activated. With this architecture, we could show the user the relevant errors or dependency issues so that they can more easily debug. The example referenced in the attached issue would mean that we show the user in the UX that they need to be running lnd 0.15.1 for litd to work properly. But, we've also run into issues in the past whereby the entire litd experience doesn't start because of a single subserver issue (Pool most of the time). With this architecture, we might be able to have everything else work, but in the Pool UX flag the error to the user to help them and us debug it. This would probably require an always-on RPC for the UI to obtain the current status or startup errors.

An additional feature that could be a part of this is being able to configure the subservers from the UI. Then, there would be less flags that need to be specified via the CLI.

Referenced Issue: #420

@ellemouton
Copy link
Member

ellemouton commented Sep 25, 2023

The backend part of this is addressed.

@itsrachelfish - is the front-end part of this addressed by #620?

@ellemouton
Copy link
Member

k I think we can close this now :) (lemme know if we should re-open @levmi )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request ui
Projects
None yet
2 participants