Why does dagger assume another CWD when running a script, and WHAT is the CWD it assumes?
E.g.
My repo has
./git/
./devops/scripts/
./extensions/db/sql/
I'm inside my repo's ./devops/scripts directory. And when I run a daggerscript in there, it assumes a repo root as a CWD (i.e. where .git/ is located). I know this because if in that directory (./devops/scripts/) I try to mount ./extensions/db/sql for liquibase execution, it succeeds. This tells me that when dagger runs my script it changes CWD to my repo's root.
Is this assumption correct?
It's VERY unintuitive. Not a single shell I've worked with does that. Why does dagger do it? Any way to disable it?
AND if I try to mount it with ../../extensions/<...> (i.e. explicitly stepping out of the ./devops/scroipts/) , it fails, because it exits my repo root (into a grandparent directory).