Leon Kozlowski
09/10/2024, 2:05 PMraise ValueError(f"Path {path} does not exist.")
ValueError: Path /root/.prefect/storage/<ID> does not exist.
This is with prefect==2.18.3
- worker on k8sNate
09/10/2024, 3:02 PMLeon Kozlowski
09/10/2024, 3:07 PMNate
09/10/2024, 3:07 PMLeon Kozlowski
09/10/2024, 3:07 PMos.environ["PREFECT_TASKS_REFRESH_CACHE"] = "true"
at runtime?Nate
09/10/2024, 3:12 PMtemporary_settings
for patching settings at runtime, but
that seems like maybe a bit more heavy-handed than should be necessary
the best course of action imo, assuming you need to persist results for the sake of retries, is to define a PREFECT_DEFAULT_RESULT_STORAGE_BLOCK
like s3/my-bucket
so that your results aren't persisting to a container that dies (which is what I would guess is happening now)Leon Kozlowski
09/10/2024, 3:13 PMNate
09/10/2024, 3:13 PMLeon Kozlowski
09/10/2024, 3:13 PMNate
09/10/2024, 3:14 PMLeon Kozlowski
09/10/2024, 3:14 PMNate
09/10/2024, 3:24 PMNate
09/10/2024, 3:25 PMChris White
Leon Kozlowski
09/10/2024, 3:30 PM