Giving inditcations of hung email collection#2234
Draft
stsquad wants to merge 2 commits intodjcb:masterfrom
Draft
Giving inditcations of hung email collection#2234stsquad wants to merge 2 commits intodjcb:masterfrom
stsquad wants to merge 2 commits intodjcb:masterfrom
Conversation
If you are using a system like "pass" to manage credentials you will get a different form of error as you need a passphrase. Attempt to catch the various forms. While we are it also fix a doc change which was missed when mu4e--get-mail-password-regexp was changed.
This is an attempt to give a passive indication of hung email collections by exposing a status on the main page. The typical failure case for me is an expired ssh key session leading to background update hanging because non-interactive sessions shouldn't interrupt the user for key information. I also occasionally see mbsync hanging during collection and just never exiting. At least this way I could see an update started many hours ago and never completed. However it's apparent that there are other notification and logging mechanisms which such a thing should maybe use but none seemed to be good fits. I'm open to a cleaner way to implement this even if it's just in user hooks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As described in the second patch. This is very much an RFC and I'm open to suggestions of better ways to solve the problem.