Hello I am encountering an exception coming from P...
# general
p
Hello I am encountering an exception coming from Pants's Rust engine in CI/CD. Would anyone know a workaround?
Copy code
Exception: Snapshot failed: Failed to digest inputs: Throw { val: Failed to watch filesystem for `/some/path`: Error { kind: MaxFilesWatch, paths: ["/some/path"] }, python_traceback: "Traceback (no traceback):\n  <pants native internals>\nException: Failed to watch filesystem for `/some/path`: Error { kind: MaxFilesWatch, paths: [\"/some/path\"] }", engine_traceback: ["digest_file"] }
p
Thanks Stu for link. I don't have root access to the CI/CD and I believe it runs in a Docker container with restricted access. Am I out of luck then?
w
the only other option is to set both
--no-pantsd
and `--no-watch-filesystem`: it will mean that running multiple
pants
commands in a row is slower, but individual commands should be the same speed
👍 1
p
Thank you Stu. I will give it a try! 😄