-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Zellij server stability discussion #1050
Comments
Yes, it is difficult to catch all errors at once as you think. and, also
I think it's a good idea to create a new label for "refactoring" or "stability" and track the issue. But, I don't think there's a need to stop adding new things. Because each person has a different view and interest for some feature or function. So, I think it is right to proceed with adding and refactoring at the same time. And if there is a conflict between the two, I think the best solution is communication.
As above, Personally, I agree 100% on this 😄
|
@raphCode This specific error looks related to the changes in #996 and #1022, could it be the same issue as #1041? (Basically plugins not being updated correctly). But in general, totally agree with you on improving stability, ideally we need to get to a point where crashes should basically never happen. The error reporting system is going to be a great start, and there's a lot of code that can be improved to properly handle errors instead of just unwrapping. |
Also, just wanted to mention - regardless of why this happened or how to solve this: I'm super sorry about the experience! This is definitely very frustrating when it happens in the middle of your work. Glad to hear you want to take this in a positive direction. I'm not sure whether you're running directly from |
Regarding the crash:
I think a single label That being said, I am willing to label/organize issues around server crashes, as well as looking for locations to refactor and trying to fix them.
Let me clarify here: I did not mean to suppress new features, just new potential crash locations by using This would ensure that only the already existing code needs to be checked and refactored, not newly add one. A quick search for unwrap and friends in zellij-server yields 1900 matches, so in practice, I think the possible refactor locations should be limited to things that call outside of zellij - like syscalls and the plugin system.
Thank you and everybody else for making zellij, which I already like infinitely more than tmux or screen, despite some crashing bugs! |
If I should label issues related to server stability, someone needs to grant me triage access in this repo. Alternatively, we can start organizing the issues in projects which also include a kanban style view. |
If you want to organize issues related to stability, you can create a new issue like issue #280 and manage it as a list. (then I can pinned the issue) How about this? |
Perfect, haven't thought of this! |
Thank you very much for doing this, @raphCode ! I plan on prioritizing those issues and this is really helpful. |
Hey @raphCode - I'm gathering a list of stability issues to work on. Did clearing the plugin cash directory fix this in the end? |
It did not happen again, I believe this might fixed it. But I cannot tell definitely - the crash was sporadic. |
It makes a lot of sense that this fixed it. This happened due to a plugin API change (running old plugins on a new Zellij API). |
Yes, that is correct. How do you manage a local development version alongside a "production" zellij? |
|
I think I only ever used |
That's probably the issue. You need to do |
Ah well, that explains it. |
If the server crashes, all programs and potentially unsaved work dissappear, which is frustrating to say the least. For me, it also wipes my mental context which is supported by opened programs and zellij workspaces.
I really love zellij and would like to improve it to never loose work again, so here are my thoughts:
Just for the record, the crash which led me to open this issue in frustration:
I was just opening a new Tab and got this, never-seen-before error.
Ironically, this happened to me while I was working on a pull request to fix some other zellij crashes I am experiencing quite often lately: #882
The text was updated successfully, but these errors were encountered: