-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Watchman socket path too long #181152
Comments
Paging @MikeMcQuaid and @carlocab who touched this formula recently. |
Yea, this is due to 98431a5, which I disagreed with. See #173850. For the record, I also don't think this is the upstream default -- it's just the fallback when As a workaround, you can do
but note that this is insecure on multi-user systems. |
The macOS path limit is 1023 characters. This is only hitting 10% of that. I wonder why the watchman & coc.nvim combo is needing such a short path. |
Doesn't seem to be related to coc.nvim; it seems to happen even with watchman only: |
Ah right I misread: that'll be because it's a socket where the limit is 104 or something. Ideally that would use var/run instead but I guess there isn't a configuration for that. |
Well not entirely. The watchman default is macOS technically supports up to 253 in sockets but requires adjusting the code slightly. |
@SMillerDev thanks for the heads up. Nothing to add beyond: I've seen this and thanks @Bo98 and @carlocab for the debugging above. |
This probably needs further discussion to understand various Watchman use cases and scenarios to find what is best direction to go. Some comments, questions, etc. I have on use cases follows: multi-user use caseGoing back to PR1 for multi-user use case, I'm trying to understand what was exact issue. Watchman should have created a user-specific For a mismatch, it seems like the same user account would have to have started Watchman while In this case, running non-default
|
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Running
neovim
with plugincoc.nvim
cannot start/connect with thewatchman
instance.What happened (include all command output)?
Following error is printed in console:
In previous
watchman
versions, this was working without a problem.I suspect the change from the commit is the reason why this started happening.
98431a5#diff-c78c3d87f62f7c863480106785162f6a8daa6bf54168c63be347dc99cf8380bdL58
What did you expect to happen?
I expect that the plugin can connect to the UNIX socket without a problem.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: