bug: wmill script generate-metadata
times out on long tasks
#4452
Labels
bug
Something isn't working
wmill script generate-metadata
times out on long tasks
#4452
Describe the bug
When using
wmill script generate-metadata
on, e.g., Rust scripts with plenty of dependencies, the dependency job scheduled to generate the lock file gets canceled due tofetch
timing out in the CLI.The timeout for
fetch
seems to be 5 minutes by default, so any dependency job that takes longer than that will be canceled early, resulting in an error.To reproduce
Run
wmill script generate-metadata
on some script that takes more than 5 minutes to build.Expected behavior
The timeout should be increased, or the lock file generation logic should become asynchronous, where the CLI polls until the job completes.
Screenshots
Browser information
N/A
Application version
Windmill v1.401.0
Additional Context
No response
The text was updated successfully, but these errors were encountered: