-
Notifications
You must be signed in to change notification settings - Fork 37
Description
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: spaceship-prompt/spaceship-prompt#1193
Worker dies unexpectedly
When starting up, Spaceship creates a new worker. Sometimes this often just dies.
See for discussion: spaceship-prompt/spaceship-prompt#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.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!