Skip to content

[script] Prevent update freezing all windows #2786

@bencat86

Description

@bencat86

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions