Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: wmill script generate-metadata times out on long tasks #4452

Open
invakid404 opened this issue Sep 27, 2024 · 1 comment
Open

bug: wmill script generate-metadata times out on long tasks #4452

invakid404 opened this issue Sep 27, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@invakid404
Copy link
Contributor

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 to fetch 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

image
image

Browser information

N/A

Application version

Windmill v1.401.0

Additional Context

No response

@invakid404 invakid404 added the bug Something isn't working label Sep 27, 2024
@wendrul
Copy link
Contributor

wendrul commented Sep 27, 2024

Thanks for the report, I'll take a look. We can maybe skip the building all together and have just the lockifile generation when using the cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants