Open denysdovhan opened 1 year ago
Starting v4.0 Spaceship Prompt has adopted zsh-async as a library for async rendering.
However, our users (primarily on Linux) are facing some issues related with async rendering. Here are two major ones:
We run each section of the prompt to be run as an async job. Sometimes these jobs just stuck, hanging without finishing.
See for discussion: https://github.com/spaceship-prompt/spaceship-prompt/issues/1193
When starting up, Spaceship creates a new worker. Sometimes this often just dies.
See for discussion: https://github.com/spaceship-prompt/spaceship-prompt/issues/1207
We encapsulate all of the methods we use within a worker.zsh file: https://github.com/spaceship-prompt/spaceship-prompt/blob/master/lib/worker.zsh
worker.zsh
I would be grateful for help with debugging this issues. Other users would be deeply grateful as well. I will gladly provide any additional info you might require.
Thanks in advance!
Starting v4.0 Spaceship Prompt has adopted zsh-async as a library for async rendering.
However, our users (primarily on Linux) are facing some issues related with async rendering. Here are two major ones:
Sometimes jobs are stuck
We run each section of the prompt to be run as an async job. Sometimes these jobs just stuck, hanging without finishing.
See for discussion: https://github.com/spaceship-prompt/spaceship-prompt/issues/1193
Worker dies unexpectedly
When starting up, Spaceship creates a new worker. Sometimes this often just dies.
See for discussion: https://github.com/spaceship-prompt/spaceship-prompt/issues/1207
How do we use zsh-async?
We encapsulate all of the methods we use within a
worker.zsh
file: https://github.com/spaceship-prompt/spaceship-prompt/blob/master/lib/worker.zshI would be grateful for help with debugging this issues. Other users would be deeply grateful as well. I will gladly provide any additional info you might require.
Thanks in advance!