I've been fighting a problem for a little while, where brew upgrade yabai causes all windows to freeze. The fix so far has been to kill yabai (if I happen to have a terminal) or reboot. It seems to be due to a mix of needing to regrant accessibility permissions, and launchd repeatedly restarting a failing yabai process.
I've written a yabai-upgrade helper script (AI assisted) which seems to solve the problem. Posting here in case it helps others. Possibly it can also be integrated into the brew packaging to solve the issue.
Edit: It seems adding this to plist also avoids lock up. Looks like it was in the brew package at some point, but got removed?
<key>ThrottleInterval</key>
<integer>10</integer>
I've been fighting a problem for a little while, where
brew upgrade yabaicauses all windows to freeze. The fix so far has been to kill yabai (if I happen to have a terminal) or reboot. It seems to be due to a mix of needing to regrant accessibility permissions, and launchd repeatedly restarting a failing yabai process.I've written a
yabai-upgradehelper script (AI assisted) which seems to solve the problem. Posting here in case it helps others. Possibly it can also be integrated into the brew packaging to solve the issue.Edit: It seems adding this to plist also avoids lock up. Looks like it was in the brew package at some point, but got removed?