windmill-labs/windmillhub-issues

Question: Can scripts persist files on disk?

jaller94 opened this issue · 2 comments

This script suggestion asks to store a file in /tmp. I assume that scripts cannot persist data.

https://hub.windmill.dev/scripts/helper/27/download-file-to-tmp-helper

Better script suggestion

Suggestion

  • Mark script suggestion as invalid and less visible. (But still findable, if others have the same suggestion.)

Scripts can persist data under the form of internal state: https://docs.windmill.dev/docs/reference/#internal-state

But not on disk although I have some ideas about adding an option to execute the whole flow on the same worker and mount the same /tmp disk on all steps which would enable that

We will solve this through: windmill-labs/windmill#577