You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #9636, we punched a hole in the ignore patterns in order to allow pantsd to watch its own pidfile. But in cases where users had previously used pantsd, this resulted in a failure to deal with an orphaned watchman socket file (watchman is now disabled by default, so this only impacts users who) which had previous been ignored.
22:32:58:201 [ERROR] 1 Exception encountered:
Exception: Failed to scan directory "$workspace/.pids/watchman": Expected File, Dir or Link, but ".pids/watchman/watchman.sock" (relative to "$workspace") was a FileType(FileType { mode: 49152 })
Narrowing the pattern to just the .pids/pantsd subdirectory is challenging (possibly not an option) because gitignore patterns do not allow re-including the children (.pids/pantsd in this case) of ignored parents (.pids, due to .*).
The text was updated successfully, but these errors were encountered:
### Problem
As described in #9758, there is a workaround in place to allow `pantsd` to watch its pid file in a way that is easily exposed to the Python `pantsd` services. But users who used `pantsd` before we disabled `watchman` will have a socket file at `.pids/watchman/watchman.sock` which needs to continue to be ignored.
### Solution
Refine the workaround to ensure that that subdirectory continues to be hidden. Once less `pantsd` code is on the python side of the FFI boundary we'll have more flexibility to fix this.
### Result
Fixes#9758.
[ci skip-rust-tests]
[ci skip-jvm-tests]
### Problem
As described in #9758, there is a workaround in place to allow `pantsd` to watch its pid file in a way that is easily exposed to the Python `pantsd` services. But users who used `pantsd` before we disabled `watchman` will have a socket file at `.pids/watchman/watchman.sock` which needs to continue to be ignored.
### Solution
Refine the workaround to ensure that that subdirectory continues to be hidden. Once less `pantsd` code is on the python side of the FFI boundary we'll have more flexibility to fix this.
### Result
Fixes#9758.
[ci skip-rust-tests]
[ci skip-jvm-tests]
In #9636, we punched a hole in the ignore patterns in order to allow
pantsd
to watch its own pidfile. But in cases where users had previously usedpantsd
, this resulted in a failure to deal with an orphanedwatchman
socket file (watchman
is now disabled by default, so this only impacts users who) which had previous been ignored.Narrowing the pattern to just the
.pids/pantsd
subdirectory is challenging (possibly not an option) because gitignore patterns do not allow re-including the children (.pids/pantsd
in this case) of ignored parents (.pids
, due to.*
).The text was updated successfully, but these errors were encountered: