bumpy-spring-43024
07/03/2023, 11:42 AMpants run
on a pex_binary
with restartable
set to True. The pants run will create a sandbox environment in /tmp/pants-sandbox-XYZ
which is fine, but my problem is, that it creates a new sandbox environment on every restart, which makes it very difficult to debug, because f.e. logs for my app (in this case Airflow) will be reset on every restart.
Before setting a remote logging dir, I was wondering if the restart behaviour is normal or if there is a misconfiguration. And if the latter is the case, maybe a hint to where the configuration might be bad.
If necessary I can provide the BUILD
file, but the case is a bit more compley with an entrypoint script (see this [thread](https://pantsbuild.slack.com/archives/C046T6T9U/p1675956990568809?thread_ts=1675931408.722139&cid=C046T6T9U) ), so generel advice is appreciated before going into detail.curved-television-6568
07/03/2023, 12:28 PMbitter-ability-32190
07/03/2023, 1:12 PM