Skip to content
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

Respawn Pure async worker on crash #543

Merged
merged 6 commits into from
May 1, 2020
Merged

Conversation

mafredri
Copy link
Collaborator

@mafredri mafredri commented Apr 13, 2020

This PR turns Pure into a phoenix bird! Or well, close enough.

The zsh-async lib is now capable of detecting worker "crashes" and notifying Pure, giving it a chance to relaunch the worker and restart async tasks.

Fixes #455
Fixes #523

There's also a small chance that the async updates amend the issue in #502 (issue being 99% CPU usage). Although there still seems to be a very small chance of rogue Zsh processes sticking around (but their CPU usage seems to be 0%.)


IssueHunt Summary

Referenced issues

This pull request has been submitted to:


@mafredri mafredri mentioned this pull request Apr 13, 2020
1 task
@sindresorhus sindresorhus merged commit 81dd496 into master May 1, 2020
@sindresorhus sindresorhus deleted the indestructible-pure branch May 1, 2020 16:12
wezzynl added a commit to wezzynl/pure that referenced this pull request May 1, 2020
* upstream/master:
  1.12.0
  Respawn Pure async worker on crash (sindresorhus#543)
  Use HTTPS links
  Fix stash during git action (sindresorhus#535)
  Move Git action after dirty with space and default color (sindresorhus#506)
wezzynl added a commit to wezzynl/pure that referenced this pull request Sep 28, 2020
…ster

* 'master' of https://github.com/sindresorhus/pure:
  1.14.0
  More system report improvements (sindresorhus#568)
  Use GIT_OPTIONAL_LOCKS=0 instead of --no-optional-locks (sindresorhus#569)
  Show user@host when running in a container (sindresorhus#564)
  Update zsh-async to v1.8.4 (sindresorhus#566)
  Add zsh-async version to system report (sindresorhus#567)
  Bump Pure internal version when publishing package (sindresorhus#565)
  Update readme.md
  1.13.0
  Respect Git config `status.showUntrackedFiles` (sindresorhus#542)
  Add forivall/pure to Ports section in the readme (sindresorhus#556)
  Fix '--no-optional-locks' argument position (sindresorhus#553)
  Eliminate unnecessary Git locking (sindresorhus#549)
  Readme tweaks
  1.12.0
  Respawn Pure async worker on crash (sindresorhus#543)
  Use HTTPS links
  Fix stash during git action (sindresorhus#535)
  Move Git action after dirty with space and default color (sindresorhus#506)
kutsan pushed a commit to kutsan/pure that referenced this pull request Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prompt doesn't appear anymore git info eventually stops being updated
2 participants